19 static const MCPhysReg O32IntRegs[4] = {Mips::A0, Mips::A1, Mips::A2, Mips::A3};
21 static const MCPhysReg Mips64IntRegs[8] = {
22 Mips::A0_64, Mips::A1_64, Mips::A2_64, Mips::A3_64,
23 Mips::T0_64, Mips::T1_64, Mips::T2_64, Mips::T3_64};
110 static const unsigned EhDataReg[] = {
111 Mips::A0, Mips::A1, Mips::A2, Mips::A3
113 static const unsigned EhDataReg64[] = {
114 Mips::A0_64, Mips::A1_64, Mips::A2_64, Mips::A3_64
117 return IsN64() ? EhDataReg64[
I] : EhDataReg[
I];
bool ArePtrs64bit() const
unsigned GetCalleeAllocdArgSizeInBytes(CallingConv::ID CC) const
Obtain the size of the area allocated by the callee for arguments.
uint16_t MCPhysReg
An unsigned integer type large enough to represent all physical registers, but not necessarily virtua...
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
ArrayRef< MCPhysReg > GetVarArgRegs() const
The registers to use for the variable argument list.
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool startswith(StringRef Prefix) const
Check if this string starts with the given Prefix.
ArrayRef< MCPhysReg > GetByValArgRegs() const
The registers to use for byval arguments.
ArchType getArch() const
getArch - Get the parsed architecture type of this triple.
bool AreGprs64bit() const
unsigned GetGlobalPtr() const
static ManagedStatic< OptionRegistry > OR
unsigned GetGPRMoveOp() const
unsigned GetBasePtr() const
unsigned GetEhDataReg(unsigned I) const
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
unsigned GetStackPtr() const
Triple - Helper class for working with autoconf configuration names.
unsigned GetPtrSubuOp() const
unsigned GetNullPtr() const
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool empty() const
empty - Check if the string is empty.
Bitwise operators - logical and, logical or, logical xor.
unsigned GetPtrAndOp() const
StringRef getABIName() const
getABIName - If this returns a non-empty string this represents the textual name of the ABI that we w...
unsigned GetZeroReg() const
unsigned GetFramePtr() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
static MipsABIInfo computeTargetABI(const Triple &TT, StringRef CPU, const MCTargetOptions &Options)
unsigned GetPtrAdduOp() const
StringRef - Represent a constant reference to a string, i.e.
unsigned GetPtrAddiuOp() const
Fast - This calling convention attempts to make calls as fast as possible (e.g.