Lines Matching refs:Feature

365   for (auto Feature : TargetFeatures)  in initFeatureMap()  local
366 if (Feature[0] == '+') in initFeatureMap()
367 Features[Feature.drop_front(1)] = true; in initFeatureMap()
379 for (auto &Feature : UpdatedFeaturesVec) { in initFeatureMap() local
380 if (Feature.compare("+arm") == 0) in initFeatureMap()
381 Feature = "-thumb-mode"; in initFeatureMap()
382 else if (Feature.compare("+thumb") == 0) in initFeatureMap()
383 Feature = "+thumb-mode"; in initFeatureMap()
405 for (const auto &Feature : Features) { in handleTargetFeatures() local
406 if (Feature == "+soft-float") { in handleTargetFeatures()
408 } else if (Feature == "+soft-float-abi") { in handleTargetFeatures()
410 } else if (Feature == "+vfp2") { in handleTargetFeatures()
413 } else if (Feature == "+vfp3") { in handleTargetFeatures()
416 } else if (Feature == "+vfp4") { in handleTargetFeatures()
419 } else if (Feature == "+fp-armv8") { in handleTargetFeatures()
422 } else if (Feature == "+neon") { in handleTargetFeatures()
425 } else if (Feature == "+hwdiv") { in handleTargetFeatures()
427 } else if (Feature == "+hwdiv-arm") { in handleTargetFeatures()
429 } else if (Feature == "+crc") { in handleTargetFeatures()
431 } else if (Feature == "+crypto") { in handleTargetFeatures()
433 } else if (Feature == "+dsp") { in handleTargetFeatures()
435 } else if (Feature == "+fp-only-sp") { in handleTargetFeatures()
437 } else if (Feature == "+strict-align") { in handleTargetFeatures()
439 } else if (Feature == "+fp16") { in handleTargetFeatures()
441 } else if (Feature == "+fullfp16") { in handleTargetFeatures()
443 } else if (Feature == "+dotprod") { in handleTargetFeatures()
479 auto Feature = std::find(Features.begin(), Features.end(), "+soft-float-abi"); in handleTargetFeatures() local
480 if (Feature != Features.end()) in handleTargetFeatures()
481 Features.erase(Feature); in handleTargetFeatures()
486 bool ARMTargetInfo::hasFeature(StringRef Feature) const { in hasFeature()
487 return llvm::StringSwitch<bool>(Feature) in hasFeature()