Lines Matching defs:targets
20 iterator_range<TargetRegistry::iterator> TargetRegistry::targets() {
32 auto I = find_if(targets(),
35 if (I == targets().end()) {
62 // Provide special warning when no targets are initialized.
63 if (targets().begin() == targets().end()) {
64 Error = "Unable to find target for this triple (no targets are registered)";
69 auto I = find_if(targets(), ArchMatch);
71 if (I == targets().end()) {
72 Error = ("No available targets are compatible with triple \"" + TT + "\"")
77 auto J = std::find_if(std::next(I), targets().end(), ArchMatch);
78 if (J != targets().end()) {
79 Error = std::string("Cannot choose between targets \"") + I->Name +
100 // Add to the list of targets.
119 for (const auto &T : TargetRegistry::targets()) {