Home
last modified time | relevance | path

Searched refs:CPUStr (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp447 std::string CPUStr = codegen::getCPUStr(), in compileModule() local
451 auto setMIRFunctionAttributes = [&CPUStr, &FeaturesStr](Function &F) { in compileModule()
452 codegen::setFunctionAttributes(CPUStr, FeaturesStr, F); in compileModule()
457 CPUStr == "help" || (!MAttrs.empty() && MAttrs.front() == "help"); in compileModule()
554 TheTriple, CPUStr, FeaturesStr, Options, RM, CM, OLvl)); in compileModule()
597 TheTriple, CPUStr, FeaturesStr, Options, RM, CM, OLvl)); in compileModule()
645 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in compileModule()
/freebsd/contrib/llvm-project/llvm/tools/opt/
H A Doptdriver.cpp630 std::string CPUStr, FeaturesStr; in optMain() local
633 CPUStr = codegen::getCPUStr(); in optMain()
653 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in optMain()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DPPC.cpp145 StringRef CPUStr = cast<clang::StringLiteral>(CPUExpr)->getString(); in EmitPPCBuiltinExpr() local
151 static_cast<CPUInfo>(StringSwitch<CPUInfo>(CPUStr) in EmitPPCBuiltinExpr()
184 StringRef CPUStr = cast<clang::StringLiteral>(CPUExpr)->getString(); in EmitPPCBuiltinExpr() local
190 static_cast<CPUSupportType>(StringSwitch<CPUSupportType>(CPUStr) in EmitPPCBuiltinExpr()
204 StringSwitch<std::pair<unsigned, unsigned>>(CPUStr) in EmitPPCBuiltinExpr()
H A DRISCV.cpp1042 StringRef CPUStr = cast<clang::StringLiteral>(CPUExpr)->getString(); in EmitRISCVCpuIs() local
1043 return EmitRISCVCpuIs(CPUStr); in EmitRISCVCpuIs()
1046 Value *CodeGenFunction::EmitRISCVCpuIs(StringRef CPUStr) { in EmitRISCVCpuIs() argument
1061 const llvm::RISCV::CPUModel Model = llvm::RISCV::getCPUModel(CPUStr); in EmitRISCVCpuIs()
H A DX86.cpp572 StringRef CPUStr = cast<clang::StringLiteral>(CPUExpr)->getString(); in EmitX86CpuIs() local
573 return EmitX86CpuIs(CPUStr); in EmitX86CpuIs()
613 Value *CodeGenFunction::EmitX86CpuIs(StringRef CPUStr) { in EmitX86CpuIs() argument
632 auto [Index, Value] = StringSwitch<std::pair<unsigned, unsigned>>(CPUStr) in EmitX86CpuIs()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.h4879 llvm::Value *EmitRISCVCpuIs(StringRef CPUStr);
5525 llvm::Value *EmitX86CpuIs(StringRef CPUStr);