/external/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
D | RISCV.cpp | 87 StringRef MArch, StringRef Ext, StringRef In, in getExtensionVersion() argument 101 << MArch << Error << Ext; in getExtensionVersion() 112 D.Diag(diag::err_drv_invalid_riscv_ext_arch_name) << MArch << Error << In; in getExtensionVersion() 122 << MArch << Error << Ext; in getExtensionVersion() 128 << MArch << Error << Ext; in getExtensionVersion() 142 << MArch << Error << Ext; in getExtensionVersion() 157 D.Diag(diag::err_drv_invalid_riscv_ext_arch_name) << MArch << Error << Ext; in getExtensionVersion() 174 StringRef &MArch, StringRef &Exts) { in getExtensionFeatures() argument 191 D.Diag(diag::err_drv_invalid_riscv_arch_name) << MArch in getExtensionFeatures() 204 << MArch << "invalid extension prefix" << Ext; in getExtensionFeatures() [all …]
|
D | ARM.cpp | 109 std::string MArch = arm::getARMArch(ArchName, Triple); in checkARMArchName() local 110 llvm::ARM::ArchKind ArchKind = llvm::ARM::parseArch(MArch); in checkARMArchName() 612 std::string MArch; in getARMArch() local 614 MArch = std::string(Arch); in getARMArch() 616 MArch = std::string(Triple.getArchName()); in getARMArch() 617 MArch = StringRef(MArch).split("+").first.lower(); in getARMArch() 620 if (MArch == "native") { in getARMArch() 624 StringRef Suffix = arm::getLLVMArchSuffixForARM(CPU, MArch, Triple); in getARMArch() 628 MArch = ""; in getARMArch() 630 MArch = std::string("arm") + Suffix.str(); in getARMArch() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 34 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-project/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 34 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/ |
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/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 …]
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/ |
D | ExecutionEngine.h | 546 std::string MArch; variable 620 MArch.assign(march.begin(), march.end()); in setMArch() 654 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-10.0/llvm/include/llvm/ExecutionEngine/ |
D | ExecutionEngine.h | 537 std::string MArch; variable 612 MArch.assign(march.begin(), march.end()); in setMArch() 657 StringRef MArch,
|
/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-project/clang/lib/Driver/ToolChains/ |
D | Darwin.cpp | 2321 const Option MArch = Opts.getOption(clang::driver::options::OPT_march_EQ); in TranslateArgs() local 2350 DAL->AddJoinedArg(nullptr, MArch, "i486"); in TranslateArgs() 2352 DAL->AddJoinedArg(nullptr, MArch, "i586"); in TranslateArgs() 2354 DAL->AddJoinedArg(nullptr, MArch, "i686"); in TranslateArgs() 2356 DAL->AddJoinedArg(nullptr, MArch, "pentium"); in TranslateArgs() 2358 DAL->AddJoinedArg(nullptr, MArch, "pentium2"); in TranslateArgs() 2360 DAL->AddJoinedArg(nullptr, MArch, "pentiumpro"); in TranslateArgs() 2362 DAL->AddJoinedArg(nullptr, MArch, "pentium2"); in TranslateArgs() 2368 DAL->AddJoinedArg(nullptr, MArch, "armv4t"); in TranslateArgs() 2370 DAL->AddJoinedArg(nullptr, MArch, "armv4t"); in TranslateArgs() [all …]
|
D | NetBSD.cpp | 45 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/clang/lib/Driver/ |
D | ToolChain.cpp | 701 StringRef MArch = A->getValue(); in ComputeLLVMTriple() local 702 if (MArch == "x86_64h") in ComputeLLVMTriple() 703 Triple.setArchName(MArch); in ComputeLLVMTriple() 742 StringRef MCPU, MArch; in ComputeLLVMTriple() local 746 MArch = A->getValue(); in ComputeLLVMTriple() 749 ? tools::arm::getARMCPUForMArch(MArch, Triple).str() in ComputeLLVMTriple() 750 : tools::arm::getARMTargetCPU(MCPU, MArch, Triple); in ComputeLLVMTriple() 752 tools::arm::getLLVMArchSuffixForARM(CPU, MArch, Triple); in ComputeLLVMTriple() 774 << tools::arm::getARMArch(MArch, getTriple()) << "ARM"; in ComputeLLVMTriple()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestBase.h | 286 , MArch("") in MCJITTestBase() 324 .setMArch(MArch) in createJIT() 334 StringRef MArch; variable
|
/external/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestBase.h | 278 CodeModel(CodeModel::Small), MArch(""), MM(new SectionMemoryManager) { in MCJITTestBase() 313 .setMArch(MArch) in createJIT() 323 StringRef MArch; variable
|
/external/llvm-project/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 363 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in determineTarget() 364 if (!MArch) { in determineTarget() 394 assert(MArch && "MArch is not set!"); in createTargetMachine() 395 return std::unique_ptr<TargetMachine>(MArch->createTargetMachine( in createTargetMachine()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Triple.cpp | 1605 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-project/llvm/lib/Support/ |
D | Triple.cpp | 1675 StringRef Triple::getARMCPUForArch(StringRef MArch) const { in getARMCPUForArch() 1676 if (MArch.empty()) in getARMCPUForArch() 1677 MArch = getArchName(); in getARMCPUForArch() 1678 MArch = ARM::getCanonicalArchName(MArch); in getARMCPUForArch() 1684 if (!MArch.empty() && MArch == "v6") in getARMCPUForArch() 1694 if (MArch == "v7k") in getARMCPUForArch() 1701 if (MArch.empty()) in getARMCPUForArch() 1704 StringRef CPU = ARM::getDefaultCPU(MArch); in getARMCPUForArch()
|
/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/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 351 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/ |
D | LTOCodeGenerator.h | 225 const Target *MArch = nullptr; member
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/ |
D | LTOCodeGenerator.h | 235 const Target *MArch = nullptr; member
|
/external/llvm-project/llvm/include/llvm/LTO/legacy/ |
D | LTOCodeGenerator.h | 235 const Target *MArch = nullptr; member
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | CommandFlags.cpp | 47 CGOPT(std::string, MArch) in CGOPT() argument 105 static cl::opt<std::string> MArch( in CGOPT() local 107 CGBINDOPT(MArch); in CGOPT()
|