Lines Matching defs:targets
112 iterator_range<TargetRegistry::iterator> TargetRegistry::targets() {
124 auto I = find_if(targets(),
127 if (I == targets().end()) {
154 // Provide special warning when no targets are initialized.
155 if (targets().begin() == targets().end()) {
156 Error = "Unable to find target for this triple (no targets are registered)";
161 auto I = find_if(targets(), ArchMatch);
163 if (I == targets().end()) {
164 Error = ("No available targets are compatible with triple \"" + TT + "\"")
169 auto J = std::find_if(std::next(I), targets().end(), ArchMatch);
170 if (J != targets().end()) {
171 Error = std::string("Cannot choose between targets \"") + I->Name +
192 // Add to the list of targets.
211 for (const auto &T : TargetRegistry::targets()) {