| /openbsd-src/gnu/llvm/libcxx/utils/libcxx/test/ |
| H A D | features.py | 38 Feature(name='fcoroutines-ts', 43 Feature(name='thread-safety', 47 Feature(name='diagnose-if-support', 57 Feature(name='has-fconstexpr-steps', 60 Feature(name='has-fconstexpr-ops-limit', 63 Feature(name='has-fblocks', when=lambda cfg: hasCompileFlag(cfg, '-fblocks')), 64 …Feature(name='-fsized-deallocation', when=lambda cfg: hasCompileFlag(cfg, '-fsized-deallo… 65 …Feature(name='-faligned-allocation', when=lambda cfg: hasCompileFlag(cfg, '-faligned-allo… 66 …Feature(name='fdelayed-template-parsing', when=lambda cfg: hasCompileFlag(cfg, '-fdelayed-temp… 67 …Feature(name='libcpp-no-coroutines', when=lambda cfg: featureTestMacros(cfg).get('__cpp_i… [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/Targets/ |
| H A D | WebAssembly.cpp | 46 bool WebAssemblyTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() 47 return llvm::StringSwitch<bool>(Feature) in hasFeature() 165 for (const auto &Feature : Features) { in handleTargetFeatures() local 166 if (Feature == "+simd128") { in handleTargetFeatures() 170 if (Feature == "-simd128") { in handleTargetFeatures() 174 if (Feature == "+relaxed-simd") { in handleTargetFeatures() 178 if (Feature == "-relaxed-simd") { in handleTargetFeatures() 182 if (Feature == "+nontrapping-fptoint") { in handleTargetFeatures() 186 if (Feature == "-nontrapping-fptoint") { in handleTargetFeatures() 190 if (Feature == "+sign-ext") { in handleTargetFeatures() [all …]
|
| H A D | AArch64.cpp | 629 bool AArch64TargetInfo::hasFeature(StringRef Feature) const { in hasFeature() 630 return llvm::StringSwitch<bool>(Feature) in hasFeature() 712 for (const auto &Feature : Features) { in handleTargetFeatures() local 713 if (Feature == "-neon") in handleTargetFeatures() 715 if (Feature == "-sve") in handleTargetFeatures() 718 if (Feature == "+neon" || Feature == "+fp-armv8") in handleTargetFeatures() 720 if (Feature == "+jscvt") { in handleTargetFeatures() 724 if (Feature == "+fcma") { in handleTargetFeatures() 729 if (Feature == "+sve") { in handleTargetFeatures() 734 if (Feature == "+sve2") { in handleTargetFeatures() [all …]
|
| H A D | X86.cpp | 122 for (const auto &Feature : FeaturesVec) { in initFeatureMap() local 124 if (Feature == "+general-regs-only") { in initFeatureMap() 131 UpdatedFeaturesVec.push_back(Feature); in initFeatureMap() 189 for (const auto &Feature : Features) { in handleTargetFeatures() local 190 if (Feature[0] != '+') in handleTargetFeatures() 193 if (Feature == "+aes") { in handleTargetFeatures() 195 } else if (Feature == "+vaes") { in handleTargetFeatures() 197 } else if (Feature == "+pclmul") { in handleTargetFeatures() 199 } else if (Feature == "+vpclmulqdq") { in handleTargetFeatures() 201 } else if (Feature == "+lzcnt") { in handleTargetFeatures() [all …]
|
| H A D | Mips.h | 196 bool hasFeature(StringRef Feature) const override; 318 for (const auto &Feature : Features) { in handleTargetFeatures() local 319 if (Feature == "+single-float") in handleTargetFeatures() 321 else if (Feature == "+soft-float") in handleTargetFeatures() 323 else if (Feature == "+mips16") in handleTargetFeatures() 325 else if (Feature == "+micromips") in handleTargetFeatures() 327 else if (Feature == "+dsp") in handleTargetFeatures() 329 else if (Feature == "+dspr2") in handleTargetFeatures() 331 else if (Feature == "+msa") in handleTargetFeatures() 333 else if (Feature == "+nomadd4") in handleTargetFeatures() [all …]
|
| H A D | CSKY.cpp | 98 bool CSKYTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() 99 return llvm::StringSwitch<bool>(Feature) in hasFeature() 115 for (const auto &Feature : Features) { in handleTargetFeatures() local 116 if (Feature == "+hard-float") in handleTargetFeatures() 118 if (Feature == "+hard-float-abi") in handleTargetFeatures() 120 if (Feature == "+fpuv2_sf") in handleTargetFeatures() 122 if (Feature == "+fpuv2_df") in handleTargetFeatures() 124 if (Feature == "+fpuv3_sf") in handleTargetFeatures() 126 if (Feature == "+fpuv3_df") in handleTargetFeatures() 128 if (Feature == "+vdspv2") in handleTargetFeatures() [all …]
|
| H A D | ARM.cpp | 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() [all …]
|
| H A D | PPC.cpp | 34 for (const auto &Feature : Features) { in handleTargetFeatures() local 35 if (Feature == "+altivec") { in handleTargetFeatures() 37 } else if (Feature == "+vsx") { in handleTargetFeatures() 39 } else if (Feature == "+crbits") { in handleTargetFeatures() 41 } else if (Feature == "+bpermd") { in handleTargetFeatures() 43 } else if (Feature == "+extdiv") { in handleTargetFeatures() 45 } else if (Feature == "+power8-vector") { in handleTargetFeatures() 47 } else if (Feature == "+crypto") { in handleTargetFeatures() 49 } else if (Feature == "+direct-move") { in handleTargetFeatures() 51 } else if (Feature == "+htm") { in handleTargetFeatures() [all …]
|
| H A D | LoongArch.cpp | 189 bool LoongArchTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() 192 return llvm::StringSwitch<bool>(Feature) in hasFeature() 207 for (const auto &Feature : Features) { in handleTargetFeatures() local 208 if (Feature == "+d" || Feature == "+f") { in handleTargetFeatures() 211 if (Feature == "+d") { in handleTargetFeatures()
|
| H A D | BPF.h | 50 bool hasFeature(StringRef Feature) const override { in hasFeature() argument 51 return Feature == "bpf" || Feature == "alu32" || Feature == "dwarfris"; in hasFeature()
|
| H A D | SystemZ.h | 163 for (const auto &Feature : Features) { in handleTargetFeatures() local 164 if (Feature == "+transactional-execution") in handleTargetFeatures() 166 else if (Feature == "+vector") in handleTargetFeatures() 168 else if (Feature == "+soft-float") in handleTargetFeatures() 184 bool hasFeature(StringRef Feature) const override;
|
| H A D | RISCV.cpp | 250 for (const std::string &Feature : FeaturesVec) in initFeatureMap() local 251 if (!llvm::is_contained(ImpliedFeatures, Feature)) in initFeatureMap() 252 ImpliedFeatures.push_back(Feature); in initFeatureMap() 280 bool RISCVTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() 282 auto Result = llvm::StringSwitch<std::optional<bool>>(Feature) in hasFeature() 292 if (ISAInfo->isSupportedExtensionFeature(Feature)) in hasFeature() 293 return ISAInfo->hasExtension(Feature); in hasFeature()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | InlineModelFeatureMaps.h | 64 constexpr bool isHeuristicInlineCostFeature(InlineCostFeatureIndex Feature) { in isHeuristicInlineCostFeature() argument 65 return Feature != InlineCostFeatureIndex::SROASavings && in isHeuristicInlineCostFeature() 66 Feature != InlineCostFeatureIndex::IsMultipleBlocks && in isHeuristicInlineCostFeature() 67 Feature != InlineCostFeatureIndex::DeadBlocks && in isHeuristicInlineCostFeature() 68 Feature != InlineCostFeatureIndex::SimplifiedInstructions && in isHeuristicInlineCostFeature() 69 Feature != InlineCostFeatureIndex::ConstantArgs && in isHeuristicInlineCostFeature() 70 Feature != InlineCostFeatureIndex::ConstantOffsetPtrArgs && in isHeuristicInlineCostFeature() 71 Feature != InlineCostFeatureIndex::NestedInlines && in isHeuristicInlineCostFeature() 72 Feature != InlineCostFeatureIndex::NestedInlineCostEstimate && in isHeuristicInlineCostFeature() 73 Feature != InlineCostFeatureIndex::Threshold; in isHeuristicInlineCostFeature() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCSubtargetInfo.cpp | 59 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, in ApplyFeatureFlag() argument 61 assert(SubtargetFeatures::hasFlag(Feature) && in ApplyFeatureFlag() 66 Find(SubtargetFeatures::StripFlag(Feature), FeatureTable); in ApplyFeatureFlag() 70 if (SubtargetFeatures::isEnabled(Feature)) { in ApplyFeatureFlag() 82 errs() << "'" << Feature << "' is not a recognized feature for this target" in ApplyFeatureFlag() 119 for (auto &Feature : FeatTable) in Help() local 120 errs() << format(" %-*s - %s.\n", MaxFeatLen, Feature.Key, Feature.Desc); in Help() 196 for (const std::string &Feature : Features.getFeatures()) { in getFeatures() local 198 if (Feature == "+help") in getFeatures() 200 else if (Feature == "+cpuhelp") in getFeatures() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | SubtargetFeature.h | 208 static bool hasFlag(StringRef Feature) { in hasFlag() argument 209 assert(!Feature.empty() && "Empty string"); in hasFlag() 211 char Ch = Feature[0]; in hasFlag() 217 static StringRef StripFlag(StringRef Feature) { in StripFlag() argument 218 return hasFlag(Feature) ? Feature.substr(1) : Feature; in StripFlag() 222 static inline bool isEnabled(StringRef Feature) { in isEnabled() argument 223 assert(!Feature.empty() && "Empty string"); in isEnabled() 225 char Ch = Feature[0]; in isEnabled()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/objc/execute/ |
| H A D | formal_protocol-4.m | 11 @interface Feature : Object interface 14 @implementation Feature implementation 17 @interface Feature (EvaluatingProtocol) <Evaluating> interface in EvaluatingProtocol 20 @implementation Feature (EvaluatingProtocol) implementation in EvaluatingProtocol 31 object = [Feature new];
|
| H A D | formal_protocol-1.m | 12 @interface Feature : Object <Enabling> interface 19 @implementation Feature implementation 32 Feature *object; 34 object = [Feature new];
|
| H A D | formal_protocol-2.m | 13 @interface Feature : Object <Enabling> interface 20 @implementation Feature implementation 35 object = [Feature new];
|
| H A D | formal_protocol-3.m | 17 @interface Feature : Object <Enabling, Evaluating> interface 24 @implementation Feature implementation 43 object = [Feature new];
|
| /openbsd-src/gnu/llvm/llvm/lib/TargetParser/ |
| H A D | AArch64TargetParser.cpp | 38 void AArch64::getFeatureOption(StringRef Name, std::string &Feature) { in getFeatureOption() argument 41 Feature = E.Feature; in getFeatureOption() 45 Feature = Name.str(); in getFeatureOption() 83 if ((InputExts & E.ID) && !E.Feature.empty()) in getExtensionFeatures() 84 Features.push_back(E.Feature); in getExtensionFeatures() 106 if (!AE.Feature.empty() && ArchExt == AE.Name) in getArchExtFeature() 107 return AE.Feature; in getArchExtFeature()
|
| /openbsd-src/gnu/usr.bin/perl/t/lib/feature/ |
| H A D | nonesuch | 7 ^Feature "nonesuch" is not supported by Perl [v0-9.]+ at - line 1 12 ^Feature "nonesuch" is not supported by Perl [v0-9.]+ at - line 1 17 ^Feature bundle "nonesuch" is not supported by Perl [v0-9.]+ at - line 1 22 ^Feature bundle "nonesuch" is not supported by Perl [v0-9.]+ at - line 1
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 544 for (auto &Feature : AttrFeatures) { in parseTargetAttr() local 547 Feature = Feature.trim(); in parseTargetAttr() 552 if (Feature.startswith("fpmath=")) in parseTargetAttr() 555 if (Feature.startswith("branch-protection=")) { in parseTargetAttr() 556 Ret.BranchProtection = Feature.split('=').second.trim(); in parseTargetAttr() 561 if (Feature.startswith("arch=")) { in parseTargetAttr() 565 Ret.CPU = Feature.split("=").second.trim(); in parseTargetAttr() 566 } else if (Feature.startswith("tune=")) { in parseTargetAttr() 570 Ret.Tune = Feature.split("=").second.trim(); in parseTargetAttr() 571 } else if (Feature.startswith("no-")) in parseTargetAttr() [all …]
|
| H A D | Module.cpp | 68 static bool isPlatformEnvironment(const TargetInfo &Target, StringRef Feature) { in isPlatformEnvironment() argument 73 if (Platform == Feature || Target.getTriple().getOSName() == Feature || in isPlatformEnvironment() 74 Env == Feature) in isPlatformEnvironment() 94 return PlatformEnv == Feature || CmpPlatformEnv(PlatformEnv, Feature); in isPlatformEnvironment() 96 return PlatformEnv == Feature; in isPlatformEnvironment() 101 static bool hasFeature(StringRef Feature, const LangOptions &LangOpts, in hasFeature() argument 103 bool HasFeature = llvm::StringSwitch<bool>(Feature) in hasFeature() 121 .Default(Target.hasFeature(Feature) || in hasFeature() 122 isPlatformEnvironment(Target, Feature)); in hasFeature() 124 HasFeature = llvm::is_contained(LangOpts.ModuleFeatures, Feature); in hasFeature() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/Arch/ |
| H A D | AArch64.cpp | 77 for (StringRef Feature : Split) { in DecodeAArch64Features() local 78 StringRef FeatureName = llvm::AArch64::getArchExtFeature(Feature); in DecodeAArch64Features() 81 else if (Feature == "neon" || Feature == "noneon") in DecodeAArch64Features() 86 if (Feature == "sve2") in DecodeAArch64Features() 88 else if (Feature == "sve2-bitperm" || Feature == "sve2-sha3" || in DecodeAArch64Features() 89 Feature == "sve2-aes" || Feature == "sve2-sm4") { in DecodeAArch64Features() 92 } else if (Feature == "nosve") { in DecodeAArch64Features() 98 } else if (Feature == "nosve2") { in DecodeAArch64Features() 115 Feature == "sve") in DecodeAArch64Features()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCMacroFusion.cpp | 251 for (auto &Feature : FusionFeatures) { in shouldScheduleAdjacent() local 253 if (!Feature.isSupported()) in shouldScheduleAdjacent() 258 if (Feature.hasOp2(SecondMI.getOpcode())) { in shouldScheduleAdjacent() 265 if (!Feature.hasOp1(FirstMI->getOpcode())) in shouldScheduleAdjacent() 268 auto DepOpIdx = Feature.depOpIdx(); in shouldScheduleAdjacent() 277 if (checkOpConstraints(Feature.getKind(), *FirstMI, SecondMI)) in shouldScheduleAdjacent()
|