Home
last modified time | relevance | path

Searched refs:MArch (Results 1 – 19 of 19) sorted by relevance

/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp35 return selectTarget(TT, MArch, MCPU, MAttrs); in selectTarget()
41 StringRef MArch, in selectTarget() argument
50 if (!MArch.empty()) { in selectTarget()
53 [&](const Target &T) { return MArch == T.getName(); }); in selectTarget()
66 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch); in selectTarget()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DTargetSelect.cpp30 StringRef MArch, in selectTarget() argument
42 if (!MArch.empty()) { in selectTarget()
45 if (MArch == it->getName()) { in selectTarget()
59 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch); in selectTarget()
DExecutionEngine.cpp435 StringRef MArch = ""; in createJIT() local
440 EngineBuilder::selectTarget(M, MArch, MCPU, MAttrs, RM, CMM, ErrorStr); in createJIT()
468 if (TargetMachine *TM = EngineBuilder::selectTarget(M, MArch, MCPU, MAttrs, in create()
/external/swiftshader/third_party/LLVM/tools/llc/
Dllc.cpp65 MArch("march", cl::desc("Architecture to generate code for (see --version)")); variable
267 if (!MArch.empty()) { in main()
270 if (MArch == it->getName()) { in main()
277 errs() << argv[0] << ": error: invalid target '" << MArch << "'.\n"; in main()
283 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch); in main()
/external/clang/lib/Driver/
DToolChain.cpp431 StringRef MArch = A->getValue(); in ComputeLLVMTriple() local
432 if (MArch == "x86_64h") in ComputeLLVMTriple()
433 Triple.setArchName(MArch); in ComputeLLVMTriple()
467 StringRef MCPU, MArch; in ComputeLLVMTriple() local
471 MArch = A->getValue(); in ComputeLLVMTriple()
474 ? tools::arm::getARMCPUForMArch(MArch, Triple).str() in ComputeLLVMTriple()
475 : tools::arm::getARMTargetCPU(MCPU, MArch, Triple); in ComputeLLVMTriple()
477 tools::arm::getLLVMArchSuffixForARM(CPU, MArch, Triple); in ComputeLLVMTriple()
DToolChains.cpp938 const Option MArch = Opts.getOption(options::OPT_march_EQ); in TranslateArgs() local
967 DAL->AddJoinedArg(nullptr, MArch, "i486"); in TranslateArgs()
969 DAL->AddJoinedArg(nullptr, MArch, "i586"); in TranslateArgs()
971 DAL->AddJoinedArg(nullptr, MArch, "i686"); in TranslateArgs()
973 DAL->AddJoinedArg(nullptr, MArch, "pentium"); in TranslateArgs()
975 DAL->AddJoinedArg(nullptr, MArch, "pentium2"); in TranslateArgs()
977 DAL->AddJoinedArg(nullptr, MArch, "pentiumpro"); in TranslateArgs()
979 DAL->AddJoinedArg(nullptr, MArch, "pentium2"); in TranslateArgs()
985 DAL->AddJoinedArg(nullptr, MArch, "x86_64h"); in TranslateArgs()
989 DAL->AddJoinedArg(nullptr, MArch, "armv4t"); in TranslateArgs()
[all …]
DTools.cpp717 std::string MArch = arm::getARMArch(ArchName, Triple); in checkARMArchName() local
718 if (llvm::ARM::parseArch(MArch) == llvm::ARM::AK_INVALID || in checkARMArchName()
1912 StringRef MArch, MCPU; in getCPUName() local
1913 getARMArchCPUFromArgs(Args, MArch, MCPU, FromAs); in getCPUName()
1914 return arm::getARMTargetCPU(MCPU, MArch, T); in getCPUName()
7128 std::string MArch; in getARMArch() local
7130 MArch = Arch; in getARMArch()
7132 MArch = Triple.getArchName(); in getARMArch()
7133 MArch = StringRef(MArch).split("+").first.lower(); in getARMArch()
7136 if (MArch == "native") { in getARMArch()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DExecutionEngine.h467 std::string MArch; variable
550 MArch.assign(march.begin(), march.end()); in setMArch()
578 StringRef MArch,
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h523 std::string MArch; variable
598 MArch.assign(march.begin(), march.end()); in setMArch()
633 StringRef MArch,
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DTriple.cpp1467 StringRef Triple::getARMCPUForArch(StringRef MArch) const { in getARMCPUForArch()
1468 if (MArch.empty()) in getARMCPUForArch()
1469 MArch = getArchName(); in getARMCPUForArch()
1470 MArch = ARM::getCanonicalArchName(MArch); in getARMCPUForArch()
1476 if (!MArch.empty() && MArch == "v6") in getARMCPUForArch()
1486 if (MArch == "v7k") in getARMCPUForArch()
1493 if (MArch.empty()) in getARMCPUForArch()
1496 StringRef CPU = ARM::getDefaultCPU(MArch); in getARMCPUForArch()
/external/llvm/lib/Support/
DTriple.cpp1427 StringRef Triple::getARMCPUForArch(StringRef MArch) const { in getARMCPUForArch()
1428 if (MArch.empty()) in getARMCPUForArch()
1429 MArch = getArchName(); in getARMCPUForArch()
1430 MArch = ARM::getCanonicalArchName(MArch); in getARMCPUForArch()
1436 if (!MArch.empty() && MArch == "v6") in getARMCPUForArch()
1446 if (MArch == "v7k") in getARMCPUForArch()
1453 if (MArch.empty()) in getARMCPUForArch()
1456 StringRef CPU = ARM::getDefaultCPU(MArch); in getARMCPUForArch()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h286 , MArch("") in MCJITTestBase()
324 .setMArch(MArch) in createJIT()
334 StringRef MArch; variable
/external/swiftshader/third_party/LLVM/tools/lli/
Dlli.cpp76 MArch("march", variable
196 builder.setMArch(MArch); in main()
/external/llvm/lib/LTO/
DLTOCodeGenerator.cpp329 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in determineTarget()
330 if (!MArch) { in determineTarget()
356 MArch->createTargetMachine(TripleStr, MCpu, FeatureStr, Options, in createTargetMachine()
/external/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h225 const Target *MArch = nullptr; member
/external/llvm/tools/lli/
Dlli.cpp128 MArch("march", variable
420 builder.setMArch(MArch); in main()
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h35 MArch("march", cl::desc("Architecture to generate code for (see --version)"));
/external/llvm/tools/llc/
Dllc.cpp314 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in compileModule()
/external/llvm/tools/opt/
Dopt.cpp308 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in GetTargetMachine()