Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/Driver/ToolChains/Arch/
DRISCV.cpp87 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 …]
DARM.cpp109 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/
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-project/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 …]
/external/llvm-project/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h546 std::string MArch; variable
620 MArch.assign(march.begin(), march.end()); in setMArch()
654 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-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/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-project/clang/lib/Driver/ToolChains/
DDarwin.cpp2321 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 …]
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/clang/lib/Driver/
DToolChain.cpp701 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/
DMCJITTestBase.h286 , MArch("") in MCJITTestBase()
324 .setMArch(MArch) in createJIT()
334 StringRef MArch; variable
/external/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h278 CodeModel(CodeModel::Small), MArch(""), MM(new SectionMemoryManager) { in MCJITTestBase()
313 .setMArch(MArch) in createJIT()
323 StringRef MArch; variable
/external/llvm-project/llvm/lib/LTO/
DLTOCodeGenerator.cpp363 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/
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-project/llvm/lib/Support/
DTriple.cpp1675 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/
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-project/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h235 const Target *MArch = nullptr; member
/external/llvm-project/llvm/lib/CodeGen/
DCommandFlags.cpp47 CGOPT(std::string, MArch) in CGOPT() argument
105 static cl::opt<std::string> MArch( in CGOPT() local
107 CGBINDOPT(MArch); in CGOPT()

12