Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/tools/llc/
H A Dllc.cpp461 std::string CPUStr = codegen::getCPUStr(), in compileModule() local
465 auto setMIRFunctionAttributes = [&CPUStr, &FeaturesStr](Function &F) { in compileModule()
466 codegen::setFunctionAttributes(CPUStr, FeaturesStr, F); in compileModule()
557 TheTriple.getTriple(), CPUStr, FeaturesStr, Options, RM, CM, OLvl)); in compileModule()
605 TheTriple.getTriple(), CPUStr, FeaturesStr, Options, RM, CM, OLvl)); in compileModule()
653 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in compileModule()
/llvm-project-15.0.7/llvm/tools/llvm-isel-fuzzer/
H A Dllvm-isel-fuzzer.cpp144 std::string CPUStr = codegen::getCPUStr(), in LLVMFuzzerInitialize() local
161 TheTriple.getTriple(), CPUStr, FeaturesStr, Options, in LLVMFuzzerInitialize()
/llvm-project-15.0.7/llvm/bindings/ocaml/target/
H A Dtarget_ocaml.c236 const char *CPUStr = "", *FeaturesStr = ""; in llvm_create_targetmachine_native() local
242 CPUStr = String_val(Field(CPU, 0)); in llvm_create_targetmachine_native()
253 LLVMCreateTargetMachine(Target, String_val(Triple), CPUStr, FeaturesStr, in llvm_create_targetmachine_native()
/llvm-project-15.0.7/llvm/tools/opt/
H A Dopt.cpp376 static TargetMachine* GetTargetMachine(Triple TheTriple, StringRef CPUStr, in GetTargetMachine() argument
675 std::string CPUStr, FeaturesStr; in main() local
681 CPUStr = codegen::getCPUStr(); in main()
683 Machine = GetTargetMachine(ModuleTriple, CPUStr, FeaturesStr, Options); in main()
695 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in main()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/
H A DReducerWorkItem.cpp424 std::string CPUStr = codegen::getCPUStr(); in parseReducerWorkItem() local
427 TheTriple.getTriple(), CPUStr, FeaturesStr, Options, RM, in parseReducerWorkItem()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.h4810 llvm::Value *EmitX86CpuIs(StringRef CPUStr);
H A DCGBuiltin.cpp12590 StringRef CPUStr = cast<clang::StringLiteral>(CPUExpr)->getString(); in EmitX86CpuIs() local
12591 return EmitX86CpuIs(CPUStr); in EmitX86CpuIs()
12643 Value *CodeGenFunction::EmitX86CpuIs(StringRef CPUStr) { in EmitX86CpuIs() argument
12664 std::tie(Index, Value) = StringSwitch<std::pair<unsigned, unsigned>>(CPUStr) in EmitX86CpuIs()