Lines Matching refs:Feature
462 for (auto Feature : TargetFeatures) in initFeatureMap() local
463 if (Feature[0] == '+') in initFeatureMap()
464 Features[Feature.drop_front(1)] = true; in initFeatureMap()
476 for (const auto &Feature : FeaturesVec) { in initFeatureMap() local
479 if (Feature == "+soft-float-abi") in initFeatureMap()
483 if (Feature == "+arm") in initFeatureMap()
485 else if (Feature == "+thumb") in initFeatureMap()
488 FixedFeature = Feature; in initFeatureMap()
520 for (const auto &Feature : Features) { in handleTargetFeatures() local
521 if (Feature == "+soft-float") { in handleTargetFeatures()
523 } else if (Feature == "+vfp2sp" || Feature == "+vfp2") { in handleTargetFeatures()
526 if (Feature == "+vfp2") in handleTargetFeatures()
528 } else if (Feature == "+vfp3sp" || Feature == "+vfp3d16sp" || in handleTargetFeatures()
529 Feature == "+vfp3" || Feature == "+vfp3d16") { in handleTargetFeatures()
532 if (Feature == "+vfp3" || Feature == "+vfp3d16") in handleTargetFeatures()
534 } else if (Feature == "+vfp4sp" || Feature == "+vfp4d16sp" || in handleTargetFeatures()
535 Feature == "+vfp4" || Feature == "+vfp4d16") { in handleTargetFeatures()
538 if (Feature == "+vfp4" || Feature == "+vfp4d16") in handleTargetFeatures()
540 } else if (Feature == "+fp-armv8sp" || Feature == "+fp-armv8d16sp" || in handleTargetFeatures()
541 Feature == "+fp-armv8" || Feature == "+fp-armv8d16") { in handleTargetFeatures()
544 if (Feature == "+fp-armv8" || Feature == "+fp-armv8d16") in handleTargetFeatures()
546 } else if (Feature == "+neon") { in handleTargetFeatures()
549 } else if (Feature == "+hwdiv") { in handleTargetFeatures()
551 } else if (Feature == "+hwdiv-arm") { in handleTargetFeatures()
553 } else if (Feature == "+crc") { in handleTargetFeatures()
555 } else if (Feature == "+crypto") { in handleTargetFeatures()
557 } else if (Feature == "+sha2") { in handleTargetFeatures()
559 } else if (Feature == "+aes") { in handleTargetFeatures()
561 } else if (Feature == "+dsp") { in handleTargetFeatures()
563 } else if (Feature == "+fp64") { in handleTargetFeatures()
565 } else if (Feature == "+8msecext") { in handleTargetFeatures()
570 } else if (Feature == "+strict-align") { in handleTargetFeatures()
572 } else if (Feature == "+fp16") { in handleTargetFeatures()
574 } else if (Feature == "+fullfp16") { in handleTargetFeatures()
576 } else if (Feature == "+dotprod") { in handleTargetFeatures()
578 } else if (Feature == "+mve") { in handleTargetFeatures()
580 } else if (Feature == "+mve.fp") { in handleTargetFeatures()
585 } else if (Feature == "+i8mm") { in handleTargetFeatures()
587 } else if (Feature.size() == strlen("+cdecp0") && Feature >= "+cdecp0" && in handleTargetFeatures()
588 Feature <= "+cdecp7") { in handleTargetFeatures()
589 unsigned Coproc = Feature.back() - '0'; in handleTargetFeatures()
591 } else if (Feature == "+bf16") { in handleTargetFeatures()
593 } else if (Feature == "-fpregs") { in handleTargetFeatures()
595 } else if (Feature == "+pacbti") { in handleTargetFeatures()
636 bool ARMTargetInfo::hasFeature(StringRef Feature) const { in hasFeature()
637 return llvm::StringSwitch<bool>(Feature) in hasFeature()