Home
last modified time | relevance | path

Searched refs:MCPU (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/
Dllc-target-cpu-attr-from-cmdline-ir.mir1 # RUN: llc -march=amdgcn -mcpu=hawaii -run-pass=none -o - %s | FileCheck -check-prefix=MCPU %s
7 # MCPU: @with_cpu_attr() #0 {
8 # MCPU: @no_cpu_attr() #1 {
10 # MCPU: attributes #0 = { "target-cpu"="fiji" }
11 # MCPU: attributes #1 = { "target-cpu"="hawaii" }
Dllc-target-cpu-attr-from-cmdline.mir1 # RUN: llc -march=amdgcn -mcpu=hawaii -run-pass=none -o - %s | FileCheck -check-prefix=MCPU %s
6 # MCPU: attributes #0 = { "target-cpu"="hawaii" }
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DTargetSelect.cpp34 return selectTarget(TT, MArch, MCPU, MAttrs); in selectTarget()
41 StringRef MCPU, in selectTarget() argument
88 TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr, in selectTarget()
/external/llvm-project/llvm/lib/ExecutionEngine/
DTargetSelect.cpp34 return selectTarget(TT, MArch, MCPU, MAttrs); in selectTarget()
41 StringRef MCPU, in selectTarget() argument
88 TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr, in selectTarget()
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp35 return selectTarget(TT, MArch, MCPU, MAttrs); in selectTarget()
42 StringRef MCPU, in selectTarget() argument
97 MCPU, FeaturesStr, in selectTarget()
/external/llvm-project/llvm/tools/llvm-mca/
Dllvm-mca.cpp90 MCPU("mcpu", variable
328 if (!MCPU.compare("native")) in main()
329 MCPU = std::string(llvm::sys::getHostCPUName()); in main()
332 TheTarget->createMCSubtargetInfo(TripleName, MCPU, MATTR)); in main()
334 if (!STI->isCPUStringValid(MCPU)) in main()
338 WithColor::error() << "please specify an out-of-order cpu. '" << MCPU in main()
346 << " target triple '" << TheTriple.normalize() << "' and cpu '" << MCPU in main()
351 << "cpu '" << MCPU << "' provides itineraries. However, " in main()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp479 StringRef MCPU = llvm::sys::getHostCPUName(); in lp_build_create_jit_compiler_for_module() local
515 if (MCPU == "generic") in lp_build_create_jit_compiler_for_module()
516 MCPU = "pwr8"; in lp_build_create_jit_compiler_for_module()
519 builder.setMCPU(MCPU); in lp_build_create_jit_compiler_for_module()
521 debug_printf("llc -mcpu option: %s\n", MCPU.str().c_str()); in lp_build_create_jit_compiler_for_module()
/external/llvm-project/llvm/tools/llvm-mc-disassemble-fuzzer/
Dllvm-mc-disassemble-fuzzer.cpp27 MCPU("mcpu", variable
56 TripleName.c_str(), MCPU.c_str(), FeaturesStr.c_str(), nullptr, 0, in DisassembleOneInput()
/external/llvm/tools/llvm-mc-fuzzer/
Dllvm-mc-fuzzer.cpp42 MCPU("mcpu", variable
71 TripleName.c_str(), MCPU.c_str(), FeaturesStr.c_str(), nullptr, 0, in DisassembleOneInput()
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h38 MCPU("mcpu",
324 if (MCPU == "native") in getCPUStr()
327 return MCPU; in getCPUStr()
337 if (MCPU == "native") { in getFeaturesStr()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h547 std::string MCPU; variable
626 MCPU.assign(mcpu.begin(), mcpu.end()); in setMCPU()
655 StringRef MCPU,
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h524 std::string MCPU; variable
604 MCPU.assign(mcpu.begin(), mcpu.end()); in setMCPU()
634 StringRef MCPU,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h538 std::string MCPU; variable
618 MCPU.assign(mcpu.begin(), mcpu.end()); in setMCPU()
658 StringRef MCPU,
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp124 MCPU("mcpu", variable
491 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in main()
506 MAB = TheTarget->createMCAsmBackend(*MRI, TripleName, MCPU); in main()
527 MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*MRI, TripleName, MCPU); in main()
/external/llvm-project/llvm/tools/llvm-mc-assemble-fuzzer/
Dllvm-mc-assemble-fuzzer.cpp45 MCPU("mcpu", variable
195 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in AssembleOneInput()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DCommandFlags.inc34 MCPU("mcpu",
334 if (MCPU == "native")
337 return MCPU;
347 if (MCPU == "native") {
367 if (MCPU == "native") {
/external/llvm-project/clang/lib/Driver/ToolChains/
DNetBSD.cpp45 StringRef MArch, MCPU; in ConstructJob() local
46 arm::getARMArchCPUFromArgs(Args, MArch, MCPU, /*FromAs*/ true); in ConstructJob()
48 arm::getARMTargetCPU(MCPU, MArch, getToolChain().getTriple()); in ConstructJob()
/external/llvm-project/llvm/tools/llvm-cfi-verify/lib/
DFileAnalysis.h201 std::string MCPU; variable
DFileAnalysis.cpp374 MCPU = ""; in initialiseDisassemblyMembers()
399 TripleName, MCPU, Features.getString())); in initialiseDisassemblyMembers()
/external/clang/lib/Driver/
DToolChain.cpp467 StringRef MCPU, MArch; in ComputeLLVMTriple() local
469 MCPU = A->getValue(); in ComputeLLVMTriple()
475 : tools::arm::getARMTargetCPU(MCPU, MArch, Triple); in ComputeLLVMTriple()
/external/llvm-project/llvm/tools/llvm-objdump/
Dllvm-objdump.h39 extern cl::opt<std::string> MCPU;
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.h31 extern cl::opt<std::string> MCPU;
/external/llvm-project/llvm/lib/CodeGen/
DCommandFlags.cpp48 CGOPT(std::string, MCPU) in CGOPT()
109 static cl::opt<std::string> MCPU( in CGOPT() local
112 CGBINDOPT(MCPU); in CGOPT()
/external/llvm-project/llvm/tools/llvm-mc/
Dllvm-mc.cpp125 MCPU("mcpu", variable
475 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in main()
/external/llvm-project/clang/lib/Driver/ToolChains/Arch/
DARM.cpp656 std::string MCPU = StringRef(CPU).split("+").first.lower(); in getARMTargetCPU() local
658 if (MCPU == "native") in getARMTargetCPU()
661 return MCPU; in getARMTargetCPU()

12