/external/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 35 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/ |
D | TargetSelect.cpp | 30 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()
|
D | ExecutionEngine.cpp | 435 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/ |
D | llc.cpp | 65 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/ |
D | ToolChain.cpp | 431 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()
|
D | ToolChains.cpp | 938 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 …]
|
D | Tools.cpp | 717 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/ |
D | ExecutionEngine.h | 467 std::string MArch; variable 550 MArch.assign(march.begin(), march.end()); in setMArch() 578 StringRef MArch,
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | ExecutionEngine.h | 523 std::string MArch; variable 598 MArch.assign(march.begin(), march.end()); in setMArch() 633 StringRef MArch,
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Triple.cpp | 1467 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/ |
D | Triple.cpp | 1427 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/ |
D | MCJITTestBase.h | 286 , MArch("") in MCJITTestBase() 324 .setMArch(MArch) in createJIT() 334 StringRef MArch; variable
|
/external/swiftshader/third_party/LLVM/tools/lli/ |
D | lli.cpp | 76 MArch("march", variable 196 builder.setMArch(MArch); in main()
|
/external/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 329 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/ |
D | LTOCodeGenerator.h | 225 const Target *MArch = nullptr; member
|
/external/llvm/tools/lli/ |
D | lli.cpp | 128 MArch("march", variable 420 builder.setMArch(MArch); in main()
|
/external/llvm/include/llvm/CodeGen/ |
D | CommandFlags.h | 35 MArch("march", cl::desc("Architecture to generate code for (see --version)"));
|
/external/llvm/tools/llc/ |
D | llc.cpp | 314 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in compileModule()
|
/external/llvm/tools/opt/ |
D | opt.cpp | 308 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in GetTargetMachine()
|