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

/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp27 StringRef ABIName) {
28 auto TargetABI = getTargetABI(ABIName);
32 if (!ABIName.empty() && TargetABI == ABI_Unknown) {
34 << "'" << ABIName
36 } else if (ABIName.startswith("ilp32") && IsRV64) {
40 } else if (ABIName.startswith("lp64") && !IsRV64) {
65 ABI getTargetABI(StringRef ABIName) { argument
66 auto TargetABI = StringSwitch<ABI>(ABIName)
26 computeTargetABI(const Triple &TT, FeatureBitset FeatureBits, StringRef ABIName) argument
H A DRISCVBaseInfo.h288 // Returns the target ABI, or else a StringError if the requested ABIName is
291 StringRef ABIName);
293 ABI getTargetABI(StringRef ABIName);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCTargetOptions.cpp22 return ABIName;
H A DMCTargetOptionsCommandFlags.cpp46 MCOPT(std::string, ABIName)
93 static cl::opt<std::string> ABIName(
97 MCBINDOPT(ABIName);
109 Options.ABIName = getABIName();
/netbsd-current/external/apache2/llvm/dist/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
467 isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName, StringRef ABIName, mips::FloatABI FloatABI) argument
489 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,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp53 StringRef ABIName) {
71 TargetABI = RISCVABI::computeTargetABI(TT, getFeatureBits(), ABIName);
78 StringRef ABIName, const TargetMachine &TM)
81 FrameLowering(initializeSubtargetDependencies(TT, CPU, TuneCPU, FS, ABIName)),
51 initializeSubtargetDependencies(const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, StringRef ABIName) argument
76 RISCVSubtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, StringRef ABIName, const TargetMachine &TM) argument
H A DRISCVTargetMachine.cpp94 auto ABIName = Options.MCOptions.getABIName(); local
97 auto TargetABI = RISCVABI::getTargetABI(ABIName);
99 ModuleTargetABI->getString() != ABIName) {
102 ABIName = ModuleTargetABI->getString();
104 I = std::make_unique<RISCVSubtarget>(TargetTriple, CPU, TuneCPU, FS, ABIName, *this);
H A DRISCVSubtarget.h79 StringRef ABIName);
84 StringRef FS, StringRef ABIName, const TargetMachine &TM);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCTargetOptions.h61 std::string ABIName; member in class:llvm::MCTargetOptions
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/Targets/
H A DRISCV.cpp130 StringRef ABIName = getABI(); local
131 if (ABIName == "ilp32f" || ABIName == "lp64f")
133 else if (ABIName == "ilp32d" || ABIName == "lp64d")
138 if (ABIName == "ilp32e")
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetMachine.cpp119 StringRef ABIName = Options.MCOptions.getABIName(); local
121 if (ABIName.empty())
122 ABIName = ARM::computeDefaultTargetABI(TT, CPU);
124 if (ABIName == "aapcs16")
126 else if (ABIName.startswith("aapcs"))
128 else if (ABIName.startswith("apcs"))
/netbsd-current/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DOpenBSD.cpp57 StringRef ABIName; local
58 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
61 CmdArgs.push_back(mips::getGnuCompatibleMipsABIName(ABIName).data());
H A DLinux.cpp141 StringRef ABIName; local
142 tools::mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
295 StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple); local
296 addPathIfExists(D, SysRoot + "/" + OSLibDir + "/" + ABIName, Paths);
297 addPathIfExists(D, SysRoot + "/usr/" + OSLibDir + "/" + ABIName, Paths);
489 StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple); local
491 Loader = ("ld-linux-riscv32-" + ABIName + ".so.1").str();
495 StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple); local
497 Loader = ("ld-linux-riscv64-" + ABIName + ".so.1").str();
H A DGnu.cpp767 StringRef ABIName = riscv::getRISCVABI(Args, getToolChain().getTriple()); local
769 CmdArgs.push_back(ABIName.data());
842 StringRef ABIName; local
843 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
844 ABIName = mips::getGnuCompatibleMipsABIName(ABIName);
850 CmdArgs.push_back(ABIName.data());
859 if (ABIName != "64" && !Args.hasArg(options::OPT_mno_abicalls))
878 Args, getToolChain().getTriple(), CPUName, ABIName,
1454 StringRef ABIName; local
1626 StringRef ABIName = tools::riscv::getRISCVABI(Args, TargetTriple); local
1664 StringRef ABIName = tools::riscv::getRISCVABI(Args, TargetTriple); local
[all...]
H A DFreeBSD.cpp53 StringRef ABIName; local
54 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
60 CmdArgs.push_back(mips::getGnuCompatibleMipsABIName(ABIName).data());
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 DCommonArgs.cpp384 StringRef ABIName; local
385 mips::getMipsCPUAndABI(Args, T, CPUName, ABIName);
1294 StringRef ABIName; local
1295 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
1299 if (ABIName == "n64")
H A DClang.cpp1588 const char *ABIName = nullptr; local
1590 ABIName = A->getValue();
1593 ABIName = llvm::ARM::computeDefaultTargetABI(Triple, CPU).data();
1597 CmdArgs.push_back(ABIName);
1729 const char *ABIName = nullptr; local
1731 ABIName = A->getValue();
1733 ABIName = "darwinpcs";
1735 ABIName = "aapcs";
1738 CmdArgs.push_back(ABIName);
1838 StringRef ABIName; local
1980 const char *ABIName = nullptr; local
2070 StringRef ABIName = riscv::getRISCVABI(Args, Triple); local
7296 StringRef ABIName; local
7324 StringRef ABIName = riscv::getRISCVABI(Args, Triple); local
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/tools/driver/
H A Dcc1as_main.cpp450 MCOptions.ABIName = Opts.TargetABI;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp237 auto ABIName = StringRef(Options.ABIName); local
238 if (ABIName.endswith("f") &&
243 } else if (ABIName.endswith("d") &&
/netbsd-current/external/apache2/llvm/dist/clang/lib/Driver/
H A DDriver.cpp563 StringRef ABIName = A->getValue(); local
564 if (ABIName == "32") {
569 } else if (ABIName == "n32") {
574 } else if (ABIName == "64") {
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DBackendUtil.cpp588 Options.MCOptions.ABIName = TargetOpts.ABI;

Completed in 396 milliseconds