/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A 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()
|
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
H A D | ARMTargetParser.cpp | 577 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 D | RISCVISAInfo.cpp | 39 StringLiteral MArch; member 590 std::string NewArch = I->MArch.str(); in parseArchString()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
H A D | ARM.cpp | 133 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 D | RISCV.cpp | 75 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 D | RISCVTargetDefEmitter.cpp | 188 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 D | ToolChain.cpp | 196 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 D | ExecutionEngine.h | 545 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 D | LTOCodeGenerator.cpp | 400 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 D | OpenBSD.cpp | 48 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 D | Darwin.cpp | 2810 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 D | NetBSD.cpp | 50 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 D | CommonArgs.cpp | 527 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 D | Gnu.cpp | 1886 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 D | LTOCodeGenerator.h | 239 const Target *MArch = nullptr; member
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CommandFlags.cpp | 57 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 D | ARMTargetParser.h | 269 StringRef getARMCPUForArch(const llvm::Triple &Triple, StringRef MArch = {});
|