Home
last modified time | relevance | path

Searched refs:FeatureStr (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.cpp289 std::string FeatureStr = getFeatureString(Features); in runOnModule() local
290 WasmTM->setTargetFeatureString(FeatureStr); in runOnModule()
292 replaceFeatures(F, FeatureStr); in runOnModule()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DPPC.cpp781 bool PPCTargetInfo::validateCpuSupports(StringRef FeatureStr) const { in validateCpuSupports()
787 return llvm::StringSwitch<bool>(FeatureStr) in validateCpuSupports()
796 return llvm::StringSwitch<bool>(FeatureStr) in validateCpuSupports()
H A DX86.cpp1374 bool X86TargetInfo::validateCpuSupports(StringRef FeatureStr) const { in validateCpuSupports()
1375 return llvm::StringSwitch<bool>(FeatureStr) in validateCpuSupports()
1435 bool X86TargetInfo::validateCpuIs(StringRef FeatureStr) const { in validateCpuIs()
1436 return llvm::StringSwitch<bool>(FeatureStr) in validateCpuIs()
H A DAArch64.h202 bool validateCpuSupports(StringRef FeatureStr) const override;
H A DX86.h236 bool validateCpuSupports(StringRef FeatureStr) const override;
238 bool validateCpuIs(StringRef FeatureStr) const override;
H A DAArch64.cpp800 bool AArch64TargetInfo::validateCpuSupports(StringRef FeatureStr) const { in validateCpuSupports()
803 FeatureStr.split(Features, "+"); in validateCpuSupports()
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h239 std::string FeatureStr; member
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp397 FeatureStr = Features.getString(); in determineTarget()
415 Triple(TripleStr), Config.CPU, FeatureStr, Config.Options, in createTargetMachine()
H A DLTOModule.cpp212 std::string FeatureStr = Features.getString(); in makeLTOModule() local
227 TargetMachine *target = march->createTargetMachine(Triple, CPU, FeatureStr, in makeLTOModule()
H A DThinLTOCodeGenerator.cpp586 std::string FeatureStr = Features.getString(); in create() local
589 TheTarget->createTargetMachine(TheTriple, MCpu, FeatureStr, Options, in create()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DX86TargetParser.cpp761 for (StringRef FeatureStr : FeatureStrs) { in getCpuSupportsMask() local
762 unsigned Feature = StringSwitch<unsigned>(FeatureStr) in getCpuSupportsMask()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DRISCV.cpp981 StringRef FeatureStr = cast<StringLiteral>(FeatureExpr)->getString(); in EmitRISCVCpuSupports() local
982 if (!getContext().getTargetInfo().validateCpuSupports(FeatureStr)) in EmitRISCVCpuSupports()
985 return EmitRISCVCpuSupports(ArrayRef<StringRef>(FeatureStr)); in EmitRISCVCpuSupports()
H A DX86.cpp661 StringRef FeatureStr = cast<StringLiteral>(FeatureExpr)->getString(); in EmitX86CpuSupports() local
662 if (!getContext().getTargetInfo().validateCpuSupports(FeatureStr)) in EmitX86CpuSupports()
664 return EmitX86CpuSupports(FeatureStr); in EmitX86CpuSupports()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td3609 StringRef FeatureStr(getFeatureStr(Index));
3612 [FeatureStr](StringRef S) { return S == FeatureStr; });
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp255 StringRef FeatureStr = F.getFnAttribute(AttributeStr).getValueAsString(); in getFeatureMask() local
257 FeatureStr.split(Features, ","); in getFeatureMask()