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};
66 if (CPU.
empty() || CPU ==
"generic") {
119 static const unsigned EhDataReg[] = {
120 Mips::A0, Mips::A1, Mips::A2, Mips::A3
122 static const unsigned EhDataReg64[] = {
123 Mips::A0_64, Mips::A1_64, Mips::A2_64, Mips::A3_64
126 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...
static MipsABIInfo EABI()
static MipsABIInfo Unknown()
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
ArchType getArch() const
getArch - Get the parsed architecture type of this triple.
A switch()-like statement whose cases are string literals.
const ArrayRef< MCPhysReg > GetByValArgRegs() const
The registers to use for byval arguments.
unsigned GetBasePtr() const
unsigned GetEhDataReg(unsigned I) const
unsigned GetStackPtr() const
Triple - Helper class for working with autoconf configuration names.
unsigned GetNullPtr() const
bool startswith(StringRef Prefix) const
Check if this string starts with the given Prefix.
const ArrayRef< MCPhysReg > GetVarArgRegs() const
The registers to use for the variable argument list.
StringRef getABIName() const
getABIName - If this returns a non-empty string this represents the textual name of the ABI that we w...
unsigned GetFramePtr() const
Fast - This calling convention attempts to make calls as fast as possible (e.g.
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
bool empty() const
empty - Check if the string is empty.