Searched refs:ABIName (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/Utils/
H A DRISCVBaseInfo.cpp14 StringRef ABIName) {
15 auto TargetABI = getTargetABI(ABIName);
19 if (!ABIName.empty() && TargetABI == ABI_Unknown) {
21 << "'" << ABIName
23 } else if (ABIName.startswith("ilp32") && IsRV64) {
27 } else if (ABIName.startswith("lp64") && !IsRV64) {
52 ABI getTargetABI(StringRef ABIName) { argument
53 auto TargetABI = StringSwitch<ABI>(ABIName)
13 computeTargetABI(const Triple &TT, FeatureBitset FeatureBits, StringRef ABIName) argument
H A DRISCVBaseInfo.h200 // Returns the target ABI, or else a StringError if the requested ABIName is
203 StringRef ABIName);
205 ABI getTargetABI(StringRef ABIName);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCTargetOptions.cpp22 return ABIName;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/Targets/
H A DRISCV.cpp100 StringRef ABIName = getABI(); local
101 if (ABIName == "ilp32f" || ABIName == "lp64f")
103 else if (ABIName == "ilp32d" || ABIName == "lp64d")
108 if (ABIName == "ilp32e")
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCTargetOptionsCommandFlags.inc48 ABIName("target-abi", cl::Hidden,
58 Options.ABIName = ABIName;
H A DMCTargetOptions.h58 std::string ABIName; member in class:llvm::MCTargetOptions
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp33 const Triple &TT, StringRef CPU, StringRef FS, StringRef ABIName) {
45 TargetABI = RISCVABI::computeTargetABI(TT, getFeatureBits(), ABIName);
51 StringRef ABIName, const TargetMachine &TM)
54 FrameLowering(initializeSubtargetDependencies(TT, CPU, FS, ABIName)),
32 initializeSubtargetDependencies( const Triple &TT, StringRef CPU, StringRef FS, StringRef ABIName) argument
50 RISCVSubtarget(const Triple &TT, StringRef CPU, StringRef FS, StringRef ABIName, const TargetMachine &TM) argument
H A DRISCVTargetMachine.cpp93 auto ABIName = Options.MCOptions.getABIName(); local
96 auto TargetABI = RISCVABI::getTargetABI(ABIName);
98 ModuleTargetABI->getString() != ABIName) {
101 ABIName = ModuleTargetABI->getString();
103 I = std::make_unique<RISCVSubtarget>(TargetTriple, CPU, FS, ABIName, *this);
H A DRISCVSubtarget.h60 StringRef ABIName);
65 StringRef ABIName, const TargetMachine &TM);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DMips.cpp25 StringRef &CPUName, StringRef &ABIName) {
64 ABIName = A->getValue();
67 ABIName = llvm::StringSwitch<llvm::StringRef>(ABIName)
70 .Default(ABIName);
74 if (CPUName.empty() && ABIName.empty()) {
89 if (ABIName.empty() && (Triple.getEnvironment() == llvm::Triple::GNUABIN32))
90 ABIName = "n32";
92 if (ABIName.empty() &&
95 ABIName
24 getMipsCPUAndABI(const ArgList &Args, const llvm::Triple &Triple, StringRef &CPUName, StringRef &ABIName) argument
134 StringRef CPUName, ABIName; local
195 StringRef ABIName; local
469 isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName, StringRef ABIName, mips::FloatABI FloatABI) argument
491 shouldUseFPXX(const ArgList &Args, const llvm::Triple &Triple, StringRef CPUName, StringRef ABIName, mips::FloatABI FloatABI) argument
[all...]
H A DMips.h36 StringRef &ABIName);
50 StringRef ABIName, mips::FloatABI FloatABI);
52 StringRef CPUName, StringRef ABIName,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetMachine.cpp115 StringRef ABIName = Options.MCOptions.getABIName(); local
117 if (ABIName.empty())
118 ABIName = ARM::computeDefaultTargetABI(TT, CPU);
120 if (ABIName == "aapcs16")
122 else if (ABIName.startswith("aapcs"))
124 else if (ABIName.startswith("apcs"))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DOpenBSD.cpp64 StringRef ABIName; local
65 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
68 CmdArgs.push_back(mips::getGnuCompatibleMipsABIName(ABIName).data());
H A DLinux.cpp173 StringRef ABIName; local
174 tools::mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
409 StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple); local
410 addPathIfExists(D, SysRoot + "/" + OSLibDir + "/" + ABIName, Paths);
411 addPathIfExists(D, SysRoot + "/usr/" + OSLibDir + "/" + ABIName, Paths);
606 StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple); local
608 Loader = ("ld-linux-riscv32-" + ABIName + ".so.1").str();
612 StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple); local
614 Loader = ("ld-linux-riscv64-" + ABIName + ".so.1").str();
H A DGnu.cpp711 StringRef ABIName = riscv::getRISCVABI(Args, getToolChain().getTriple()); local
713 CmdArgs.push_back(ABIName.data());
786 StringRef ABIName; local
787 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
788 ABIName = mips::getGnuCompatibleMipsABIName(ABIName);
794 CmdArgs.push_back(ABIName.data());
803 if (ABIName != "64" && !Args.hasArg(options::OPT_mno_abicalls))
822 Args, getToolChain().getTriple(), CPUName, ABIName,
1393 StringRef ABIName; local
1559 StringRef ABIName = tools::riscv::getRISCVABI(Args, TargetTriple); local
1597 StringRef ABIName = tools::riscv::getRISCVABI(Args, TargetTriple); local
[all...]
H A DNetBSD.cpp58 StringRef ABIName; local
59 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
65 CmdArgs.push_back(mips::getGnuCompatibleMipsABIName(ABIName).data());
H A DFreeBSD.cpp52 StringRef ABIName; local
53 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
59 CmdArgs.push_back(mips::getGnuCompatibleMipsABIName(ABIName).data());
H A DClang.cpp1537 const char *ABIName = nullptr; local
1539 ABIName = A->getValue();
1542 ABIName = llvm::ARM::computeDefaultTargetABI(Triple, CPU).data();
1546 CmdArgs.push_back(ABIName);
1671 const char *ABIName = nullptr; local
1673 ABIName = A->getValue();
1675 ABIName = "darwinpcs";
1677 ABIName = "aapcs";
1680 CmdArgs.push_back(ABIName);
1763 StringRef ABIName; local
1905 const char *ABIName = nullptr; local
1976 StringRef ABIName = riscv::getRISCVABI(Args, Triple); local
6553 StringRef ABIName; local
6580 StringRef ABIName = riscv::getRISCVABI(Args, Triple); local
[all...]
H A DCommonArgs.cpp279 StringRef ABIName; local
280 mips::getMipsCPUAndABI(Args, T, CPUName, ABIName);
1067 StringRef ABIName; local
1068 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
1072 if (ABIName == "n64")
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp198 auto ABIName = StringRef(Options.ABIName); local
199 if (ABIName.endswith("f") &&
204 } else if (ABIName.endswith("d") &&
/freebsd-11-stable/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp442 MCOptions.ABIName = Opts.TargetABI;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp521 StringRef ABIName = A->getValue(); local
522 if (ABIName == "32") {
527 } else if (ABIName == "n32") {
532 } else if (ABIName == "64") {
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp497 Options.MCOptions.ABIName = TargetOpts.ABI;

Completed in 368 milliseconds