HomeSort by: relevance | last modified time | path
    Searched defs:ABI (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/
MipsMCAsmInfo.cpp 25 MipsABIInfo ABI = MipsABIInfo::computeTargetABI(TheTriple, "", Options);
27 if (TheTriple.isMIPS64() && !ABI.IsN32())
30 if (ABI.IsO32())
32 else if (ABI.IsN32() || ABI.IsN64())
MipsABIInfo.h 1 //===---- MipsABIInfo.h - Information about MIPS ABI's --------------------===//
24 enum class ABI { Unknown, O32, N32, N64 };
27 ABI ThisABI;
30 MipsABIInfo(ABI ThisABI) : ThisABI(ThisABI) {}
32 static MipsABIInfo Unknown() { return MipsABIInfo(ABI::Unknown); }
33 static MipsABIInfo O32() { return MipsABIInfo(ABI::O32); }
34 static MipsABIInfo N32() { return MipsABIInfo(ABI::N32); }
35 static MipsABIInfo N64() { return MipsABIInfo(ABI::N64); }
39 bool IsKnown() const { return ThisABI != ABI::Unknown; }
40 bool IsO32() const { return ThisABI == ABI::O32;
    [all...]
MipsAsmBackend.cpp 588 MipsABIInfo ABI = MipsABIInfo::computeTargetABI(STI.getTargetTriple(),
591 ABI.IsN32());
  /src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/Arch/
M68k.cpp 110 m68k::FloatABI ABI = m68k::FloatABI::Invalid;
115 ABI = m68k::FloatABI::Soft;
117 ABI = m68k::FloatABI::Hard;
121 if (ABI == m68k::FloatABI::Invalid)
122 ABI = m68k::FloatABI::Hard;
124 return ABI;
Sparc.cpp 83 sparc::FloatABI ABI = sparc::FloatABI::Invalid;
88 ABI = sparc::FloatABI::Soft;
90 ABI = sparc::FloatABI::Hard;
92 ABI = llvm::StringSwitch<sparc::FloatABI>(A->getValue())
96 if (ABI == sparc::FloatABI::Invalid &&
99 ABI = sparc::FloatABI::Hard;
105 // Only the hard-float ABI on Sparc is standardized, and it is the
106 // default. GCC also supports a nonstandard soft-float ABI mode, also
109 if (ABI == sparc::FloatABI::Invalid) {
110 ABI = sparc::FloatABI::Hard
    [all...]
SystemZ.cpp 24 systemz::FloatABI ABI = systemz::FloatABI::Hard;
32 ABI = systemz::FloatABI::Soft;
34 return ABI;
PPC.cpp 136 ppc::FloatABI ABI = ppc::FloatABI::Invalid;
141 ABI = ppc::FloatABI::Soft;
143 ABI = ppc::FloatABI::Hard;
145 ABI = llvm::StringSwitch<ppc::FloatABI>(A->getValue())
149 if (ABI == ppc::FloatABI::Invalid && !StringRef(A->getValue()).empty()) {
151 ABI = ppc::FloatABI::Hard;
157 if (ABI == ppc::FloatABI::Invalid) {
158 ABI = ppc::FloatABI::Hard;
161 return ABI;
Mips.cpp 22 // Get CPU and ABI names. They are not independent
65 // Convert a GNU style Mips ABI name to the name
73 // Setup default CPU and ABI names.
117 // Deduce ABI name from the target triple.
122 // Deduce CPU name from ABI name.
142 // Convert ABI name to the GNU tools acceptable variant.
143 StringRef mips::getGnuCompatibleMipsABIName(StringRef ABI) {
144 return llvm::StringSwitch<llvm::StringRef>(ABI)
147 .Default(ABI);
150 // Select the MIPS float ABI as determined by -msoft-float, -mhard-float
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsTargetMachine.h 30 // Selected ABI
31 MipsABIInfo ABI;
75 const MipsABIInfo &getABI() const { return ABI; }
MipsMachineFunction.cpp 72 const MipsABIInfo &ABI =
74 RC = (ABI.IsN64()) ? &Mips::GPR64RegClass : &Mips::GPR32RegClass;
79 if (ABI.IsN64()) {
111 if (ABI.IsN32()) {
124 assert(ABI.IsO32());
126 // For O32 ABI, the following instruction sequence is emitted to initialize
MipsISelLowering.h 352 return ABI.IsN64() ? Mips::A0_64 : Mips::A0;
359 return ABI.IsN64() ? Mips::A1_64 : Mips::A1;
498 // Cache the ABI from the TargetMachine, we use it everywhere.
499 const MipsABIInfo &ABI;
MipsRegisterInfo.cpp 49 MipsABIInfo ABI = MF.getSubtarget<MipsSubtarget>().getABI();
54 return ABI.ArePtrs64bit() ? &Mips::GPR64RegClass : &Mips::GPR32RegClass;
58 return ABI.ArePtrs64bit() ? &Mips::SP64RegClass : &Mips::SP32RegClass;
60 return ABI.ArePtrs64bit() ? &Mips::GP64RegClass : &Mips::GP32RegClass;
293 // to that of the stack's alignment as specified by the ABI. As a result,
MipsSERegisterInfo.cpp 154 MipsABIInfo ABI =
182 FrameReg = ABI.GetStackPtr();
185 FrameReg = ABI.GetBasePtr();
189 FrameReg = ABI.GetStackPtr();
223 ABI.ArePtrs64bit() ? &Mips::GPR64RegClass : &Mips::GPR32RegClass;
229 BuildMI(MBB, II, DL, TII.get(ABI.GetPtrAddiuOp()), Reg)
247 BuildMI(MBB, II, DL, TII.get(ABI.GetPtrAdduOp()), Reg).addReg(FrameReg)
MipsTargetMachine.cpp 67 MipsABIInfo ABI = MipsABIInfo::computeTargetABI(TT, CPU, Options.MCOptions);
75 if (ABI.IsO32())
81 if (!ABI.IsN64())
91 if (ABI.IsN64() || ABI.IsN32())
122 ABI(MipsABIInfo::computeTargetABI(TT, CPU, Options.MCOptions)),
MipsTargetStreamer.h 171 // This method enables template classes to set internal abi flags
175 ABI = P.getABI();
181 assert(ABI.hasValue() && "ABI hasn't been set!");
182 return *ABI;
186 llvm::Optional<MipsABIInfo> ABI;
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
TargetOptions.h 44 /// If given, the name of the target ABI to use.
45 std::string ABI;
  /src/external/apache2/llvm/dist/clang/lib/Basic/Targets/
WebAssembly.h 42 std::string ABI;
RISCV.h 27 std::string ABI, CPU;
72 StringRef getABI() const override { return ABI; }
126 ABI = Name;
155 ABI = Name;
AArch64.h 61 std::string ABI;
171 // Windows ARM, MS (C++) ABI
ARM.h 51 std::string ABI, CPU;
132 // We pass soft-float-abi in as a -target-feature, but the backend figures
134 return Feature != "soft-float-abi";
224 // Windows ARM + Itanium C++ ABI Target
235 // Windows ARM, MS (C++) ABI
Mips.h 28 if (ABI == "o32")
30 else if (ABI == "n32")
32 else if (ABI == "n64")
35 llvm_unreachable("Invalid ABI");
60 std::string ABI;
78 CPU = ABI == "o32" ? "mips32r2" : "mips64r2";
89 return CPU == "mips32r6" || ABI == "n32" || ABI == "n64" || ABI == "64";
96 StringRef getABI() const override { return ABI; }
    [all...]
PPC.h 79 std::string ABI;
170 StringRef getABI() const override { return ABI; }
209 // Don't use floating point registers on soft float ABI.
222 // on soft float ABI
402 // Note: ABI differences may eventually require us to have a separate
414 // TODO: Set appropriate ABI for AIX platform.
421 ABI = "elfv2";
424 ABI = "elfv1";
444 // PPC64 Linux-specific ABI options.
447 ABI = Name
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/
RISCVELFStreamer.cpp 33 RISCVABI::ABI ABI = MAB.getTargetABI();
34 assert(ABI != RISCVABI::ABI_Unknown && "Improperly initialised target ABI");
41 switch (ABI) {
57 llvm_unreachable("Improperly initialised target ABI");
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
TPCIndirectionUtils.h 34 /// ABI support base class. Used to write resolver, stub, and trampoline
80 /// Create using the given ABI class.
93 ABISupport &getABISupport() const { return *ABI; }
144 std::unique_ptr<ABISupport> ABI);
150 std::unique_ptr<ABISupport> ABI;
  /src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
FreeBSD.cpp 80 arm::FloatABI ABI = arm::getARMFloatABI(getToolChain(), Args);
82 if (ABI == arm::FloatABI::Hard)

Completed in 36 milliseconds

1 2