Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DTargetSelect.cpp34 return selectTarget(TT, MArch, MCPU, MAttrs); in selectTarget()
40 StringRef MArch, in selectTarget() argument
49 if (!MArch.empty()) { in selectTarget()
51 [&](const Target &T) { return MArch == T.getName(); }); in selectTarget()
64 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch); in selectTarget()
/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/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/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h537 std::string MArch; variable
612 MArch.assign(march.begin(), march.end()); in setMArch()
657 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/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h286 , MArch("") in MCJITTestBase()
324 .setMArch(MArch) in createJIT()
334 StringRef MArch; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTriple.cpp1605 StringRef Triple::getARMCPUForArch(StringRef MArch) const { in getARMCPUForArch()
1606 if (MArch.empty()) in getARMCPUForArch()
1607 MArch = getArchName(); in getARMCPUForArch()
1608 MArch = ARM::getCanonicalArchName(MArch); in getARMCPUForArch()
1614 if (!MArch.empty() && MArch == "v6") in getARMCPUForArch()
1624 if (MArch == "v7k") in getARMCPUForArch()
1631 if (MArch.empty()) in getARMCPUForArch()
1634 StringRef CPU = ARM::getDefaultCPU(MArch); in getARMCPUForArch()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOCodeGenerator.cpp351 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in determineTarget()
352 if (!MArch) { in determineTarget()
378 return std::unique_ptr<TargetMachine>(MArch->createTargetMachine( in createTargetMachine()
/external/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h225 const Target *MArch = nullptr; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h235 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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DCommandFlags.inc30 MArch("march",