Home
last modified time | relevance | path

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

/external/llvm/tools/opt/
Dopt.cpp304 static TargetMachine* GetTargetMachine(Triple TheTriple, StringRef CPUStr, in GetTargetMachine() argument
315 return TheTarget->createTargetMachine(TheTriple.getTriple(), CPUStr, in GetTargetMachine()
432 std::string CPUStr, FeaturesStr; in main() local
437 CPUStr = getCPUStr(); in main()
439 Machine = GetTargetMachine(ModuleTriple, CPUStr, FeaturesStr, Options); in main()
446 setFunctionAttributes(CPUStr, FeaturesStr, *M); in main()
/external/llvm-project/llvm/tools/llc/
Dllc.cpp406 std::string CPUStr = codegen::getCPUStr(), in compileModule() local
410 auto setMIRFunctionAttributes = [&CPUStr, &FeaturesStr](Function &F) { in compileModule()
411 codegen::setFunctionAttributes(CPUStr, FeaturesStr, F); in compileModule()
477 TheTriple.getTriple(), CPUStr, FeaturesStr, Options, RM, in compileModule()
522 TheTriple.getTriple(), CPUStr, FeaturesStr, Options, RM, in compileModule()
574 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in compileModule()
/external/llvm-project/llvm/tools/llvm-isel-fuzzer/
Dllvm-isel-fuzzer.cpp146 std::string CPUStr = codegen::getCPUStr(), in LLVMFuzzerInitialize() local
163 TheTriple.getTriple(), CPUStr, FeaturesStr, Options, in LLVMFuzzerInitialize()
/external/llvm-project/llvm/bindings/ocaml/target/
Dtarget_ocaml.c249 const char *CPUStr = "", *FeaturesStr = ""; in llvm_create_targetmachine_native() local
255 CPUStr = String_val(Field(CPU, 0)); in llvm_create_targetmachine_native()
265 Machine = LLVMCreateTargetMachine(Target, String_val(Triple), CPUStr, in llvm_create_targetmachine_native()
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c249 const char *CPUStr = "", *FeaturesStr = ""; in llvm_create_targetmachine_native() local
255 CPUStr = String_val(Field(CPU, 0)); in llvm_create_targetmachine_native()
265 Machine = LLVMCreateTargetMachine(Target, String_val(Triple), CPUStr, in llvm_create_targetmachine_native()
/external/llvm/tools/llc/
Dllc.cpp321 std::string CPUStr = getCPUStr(), FeaturesStr = getFeaturesStr(); in compileModule() local
343 TheTarget->createTargetMachine(TheTriple.getTriple(), CPUStr, FeaturesStr, in compileModule()
379 setFunctionAttributes(CPUStr, FeaturesStr, *M); in compileModule()
/external/llvm-project/llvm/tools/opt/
Dopt.cpp421 static TargetMachine* GetTargetMachine(Triple TheTriple, StringRef CPUStr, in GetTargetMachine() argument
680 std::string CPUStr, FeaturesStr; in main() local
686 CPUStr = codegen::getCPUStr(); in main()
688 Machine = GetTargetMachine(ModuleTriple, CPUStr, FeaturesStr, Options); in main()
700 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in main()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenFunction.h4711 llvm::Value *EmitX86CpuIs(StringRef CPUStr);
DCGBuiltin.cpp11733 StringRef CPUStr = cast<clang::StringLiteral>(CPUExpr)->getString(); in EmitX86CpuIs() local
11734 return EmitX86CpuIs(CPUStr); in EmitX86CpuIs()
11787 Value *CodeGenFunction::EmitX86CpuIs(StringRef CPUStr) { in EmitX86CpuIs() argument
11808 std::tie(Index, Value) = StringSwitch<std::pair<unsigned, unsigned>>(CPUStr) in EmitX86CpuIs()