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