Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A 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()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DARMTargetParser.cpp577 StringRef ARM::getARMCPUForArch(const llvm::Triple &Triple, StringRef MArch) { in getARMCPUForArch() argument
578 if (MArch.empty()) in getARMCPUForArch()
579 MArch = Triple.getArchName(); in getARMCPUForArch()
580 MArch = llvm::ARM::getCanonicalArchName(MArch); in getARMCPUForArch()
588 if (!MArch.empty() && MArch == "v6") in getARMCPUForArch()
590 if (!MArch.empty() && MArch == "v7") in getARMCPUForArch()
595 if (llvm::ARM::parseArchVersion(MArch) <= 7) in getARMCPUForArch()
604 if (MArch == "v7k") in getARMCPUForArch()
611 if (MArch.empty()) in getARMCPUForArch()
614 StringRef CPU = llvm::ARM::getDefaultCPU(MArch); in getARMCPUForArch()
H A DRISCVISAInfo.cpp39 StringLiteral MArch; member
590 std::string NewArch = I->MArch.str(); in parseArchString()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DARM.cpp133 std::string MArch = arm::getARMArch(ArchName, Triple); in checkARMArchName() local
134 llvm::ARM::ArchKind ArchKind = llvm::ARM::parseArch(MArch); in checkARMArchName()
227 StringRef MCPU, MArch; in setArchNameInTriple() local
231 MArch = A->getValue(); in setArchNameInTriple()
234 ? tools::arm::getARMCPUForMArch(MArch, Triple).str() in setArchNameInTriple()
235 : tools::arm::getARMTargetCPU(MCPU, MArch, Triple); in setArchNameInTriple()
236 StringRef Suffix = tools::arm::getLLVMArchSuffixForARM(CPU, MArch, Triple); in setArchNameInTriple()
267 << tools::arm::getARMArch(MArch, Triple) << "ARM"; in setArchNameInTriple()
994 std::string MArch; in getARMArch() local
996 MArch = std::string(Arch); in getARMArch()
[all …]
H A DRISCV.cpp75 std::string MArch = getRISCVArch(Args, Triple); in getRISCVTargetFeatures() local
77 if (!getArchFeatures(D, MArch, Features, Args)) in getRISCVTargetFeatures()
332 StringRef MArch = llvm::RISCV::getMArchFromMcpu(CPU); in getRISCVArch() local
334 if (MArch != "") in getRISCVArch()
335 return MArch.str(); in getRISCVArch()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DRISCVTargetDefEmitter.cpp188 StringRef MArch = Rec->getValueAsString("DefaultMarch"); in emitRISCVProcs() local
191 if (MArch.empty()) in emitRISCVProcs()
194 OS << MArch; in emitRISCVProcs()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DToolChain.cpp196 std::vector<std::string> MArch; in getAArch64MultilibFlags() local
200 MArch.push_back(Ext.UserVisibleName.str()); in getAArch64MultilibFlags()
204 MArch.push_back(("no" + Ext.UserVisibleName).str()); in getAArch64MultilibFlags()
210 MArch.insert(MArch.begin(), ("-march=" + ArchName).str()); in getAArch64MultilibFlags()
211 Result.push_back(llvm::join(MArch, "+")); in getAArch64MultilibFlags()
224 std::vector<std::string> MArch; in getARMMultilibFlags() local
228 MArch.push_back(Ext.Name.str()); in getARMMultilibFlags()
232 MArch.push_back(("no" + Ext.Name).str()); in getARMMultilibFlags()
233 MArch.insert(MArch.begin(), ("-march=" + Triple.getArchName()).str()); in getARMMultilibFlags()
234 Result.push_back(llvm::join(MArch, "+")); in getARMMultilibFlags()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h545 std::string MArch; variable
619 MArch.assign(march.begin(), march.end()); in setMArch()
653 StringRef MArch,
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp400 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in determineTarget()
401 if (!MArch) { in determineTarget()
426 assert(MArch && "MArch is not set!"); in createTargetMachine()
427 return std::unique_ptr<TargetMachine>(MArch->createTargetMachine( in createTargetMachine()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DOpenBSD.cpp48 StringRef MArch, MCPU; in ConstructJob() local
49 arm::getARMArchCPUFromArgs(Args, MArch, MCPU, /*FromAs*/ true); in ConstructJob()
50 std::string Arch = arm::getARMTargetCPU(MCPU, MArch, Triple); in ConstructJob()
H A DDarwin.cpp2810 const Option MArch = Opts.getOption(clang::driver::options::OPT_march_EQ); in TranslateArgs() local
2839 DAL->AddJoinedArg(nullptr, MArch, "i486"); in TranslateArgs()
2841 DAL->AddJoinedArg(nullptr, MArch, "i586"); in TranslateArgs()
2843 DAL->AddJoinedArg(nullptr, MArch, "i686"); in TranslateArgs()
2845 DAL->AddJoinedArg(nullptr, MArch, "pentium"); in TranslateArgs()
2847 DAL->AddJoinedArg(nullptr, MArch, "pentium2"); in TranslateArgs()
2849 DAL->AddJoinedArg(nullptr, MArch, "pentiumpro"); in TranslateArgs()
2851 DAL->AddJoinedArg(nullptr, MArch, "pentium2"); in TranslateArgs()
2857 DAL->AddJoinedArg(nullptr, MArch, "armv4t"); in TranslateArgs()
2859 DAL->AddJoinedArg(nullptr, MArch, "armv4t"); in TranslateArgs()
[all …]
H A DNetBSD.cpp50 StringRef MArch, MCPU; in ConstructJob() local
51 arm::getARMArchCPUFromArgs(Args, MArch, MCPU, /*FromAs*/ true); in ConstructJob()
52 std::string Arch = arm::getARMTargetCPU(MCPU, MArch, Triple); in ConstructJob()
H A DCommonArgs.cpp527 Arg *MArch = Args.getLastArg(options::OPT_march_EQ); in getAMDGPUTargetGPU() local
540 if (MArch) in getAMDGPUTargetGPU()
541 return getProcessorFromTargetID(T, MArch->getValue()).str(); in getAMDGPUTargetGPU()
588 StringRef MArch, MCPU; in getCPUName() local
589 arm::getARMArchCPUFromArgs(Args, MArch, MCPU, FromAs); in getCPUName()
590 return arm::getARMTargetCPU(MCPU, MArch, T); in getCPUName()
H A DGnu.cpp1886 std::string MArch = tools::riscv::getRISCVArch(Args, TargetTriple); in findRISCVBareMetalMultilibs() local
1888 addMultilibFlag(MArch == Element.march, in findRISCVBareMetalMultilibs()
1897 if (selectRISCVMultilib(RISCVMultilibs, MArch, Flags, in findRISCVBareMetalMultilibs()
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h239 const Target *MArch = nullptr; member
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCommandFlags.cpp57 CGOPT(std::string, MArch) in CGOPT() argument
120 static cl::opt<std::string> MArch( in CGOPT() local
122 CGBINDOPT(MArch); in CGOPT()
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DARMTargetParser.h269 StringRef getARMCPUForArch(const llvm::Triple &Triple, StringRef MArch = {});