LLVM 22.0.0git
|
#include "Target/Mips/MCTargetDesc/MipsABIInfo.h"
Public Types | |
enum class | ABI { Unknown , O32 , N32 , N64 } |
Static Public Member Functions | |
static MipsABIInfo | Unknown () |
static MipsABIInfo | O32 () |
static MipsABIInfo | N32 () |
static MipsABIInfo | N64 () |
static MipsABIInfo | computeTargetABI (const Triple &TT, StringRef ABIName) |
Protected Attributes | |
ABI | ThisABI |
Definition at line 22 of file MipsABIInfo.h.
|
strong |
Enumerator | |
---|---|
Unknown | |
O32 | |
N32 | |
N64 |
Definition at line 24 of file MipsABIInfo.h.
|
inline |
Definition at line 30 of file MipsABIInfo.h.
References ThisABI.
Referenced by computeTargetABI(), N32(), N64(), O32(), operator<(), and Unknown().
|
inline |
Definition at line 73 of file MipsABIInfo.h.
References IsN32(), and IsN64().
Referenced by GetZeroReg().
|
inline |
Definition at line 72 of file MipsABIInfo.h.
References IsN64().
Referenced by GetBasePtr(), GetFramePtr(), GetGlobalPtr(), GetGPRMoveOp(), GetNullPtr(), GetPtrAddiuOp(), GetPtrAdduOp(), GetPtrAndOp(), GetPtrSubuOp(), and GetStackPtr().
|
static |
Definition at line 60 of file MipsABIInfo.cpp.
References assert(), llvm::StringRef::empty(), MipsABIInfo(), N32(), N64(), O32(), and llvm::StringRef::starts_with().
Referenced by llvm::createMipsAsmBackend(), and llvm::MipsELFMCAsmInfo::MipsELFMCAsmInfo().
unsigned MipsABIInfo::GetBasePtr | ( | ) | const |
Definition at line 84 of file MipsABIInfo.cpp.
References ArePtrs64bit().
The registers to use for byval arguments.
Definition at line 32 of file MipsABIInfo.cpp.
References llvm::ArrayRef(), IsN32(), IsN64(), IsO32(), and llvm_unreachable.
unsigned MipsABIInfo::GetCalleeAllocdArgSizeInBytes | ( | CallingConv::ID | CC | ) | const |
Obtain the size of the area allocated by the callee for arguments.
CallingConv::FastCall affects the value for O32.
Definition at line 52 of file MipsABIInfo.cpp.
References llvm::CallingConv::Fast, IsN32(), IsN64(), IsO32(), and llvm_unreachable.
Definition at line 120 of file MipsABIInfo.cpp.
|
inline |
Definition at line 42 of file MipsABIInfo.h.
References ThisABI.
unsigned MipsABIInfo::GetFramePtr | ( | ) | const |
Definition at line 80 of file MipsABIInfo.cpp.
References ArePtrs64bit().
unsigned MipsABIInfo::GetGlobalPtr | ( | ) | const |
Definition at line 88 of file MipsABIInfo.cpp.
References ArePtrs64bit().
unsigned MipsABIInfo::GetGPRMoveOp | ( | ) | const |
Definition at line 116 of file MipsABIInfo.cpp.
References ArePtrs64bit().
unsigned MipsABIInfo::GetNullPtr | ( | ) | const |
Definition at line 92 of file MipsABIInfo.cpp.
References ArePtrs64bit().
unsigned MipsABIInfo::GetPtrAddiuOp | ( | ) | const |
Definition at line 104 of file MipsABIInfo.cpp.
References ArePtrs64bit().
unsigned MipsABIInfo::GetPtrAdduOp | ( | ) | const |
Definition at line 100 of file MipsABIInfo.cpp.
References ArePtrs64bit().
unsigned MipsABIInfo::GetPtrAndOp | ( | ) | const |
Definition at line 112 of file MipsABIInfo.cpp.
References ArePtrs64bit().
unsigned MipsABIInfo::GetPtrSubuOp | ( | ) | const |
Definition at line 108 of file MipsABIInfo.cpp.
References ArePtrs64bit().
unsigned MipsABIInfo::GetStackPtr | ( | ) | const |
Definition at line 76 of file MipsABIInfo.cpp.
References ArePtrs64bit().
The registers to use for the variable argument list.
Definition at line 40 of file MipsABIInfo.cpp.
References llvm::ArrayRef(), IsN32(), IsN64(), IsO32(), and llvm_unreachable.
unsigned MipsABIInfo::GetZeroReg | ( | ) | const |
Definition at line 96 of file MipsABIInfo.cpp.
References AreGprs64bit().
|
inline |
Definition at line 38 of file MipsABIInfo.h.
|
inline |
Definition at line 40 of file MipsABIInfo.h.
Referenced by AreGprs64bit(), llvm::MipsRegInfoRecord::EmitMipsOptionRecord(), GetByValArgRegs(), GetCalleeAllocdArgSizeInBytes(), getVarArgRegs(), and llvm::MipsSubtarget::isABI_N32().
|
inline |
Definition at line 41 of file MipsABIInfo.h.
Referenced by AreGprs64bit(), ArePtrs64bit(), llvm::MipsFunctionInfo::createEhDataRegsFI(), llvm::MipsRegInfoRecord::EmitMipsOptionRecord(), GetByValArgRegs(), GetCalleeAllocdArgSizeInBytes(), GetEhDataReg(), llvm::MipsRegisterInfo::getFrameRegister(), getVarArgRegs(), and llvm::MipsSubtarget::isABI_N64().
|
inline |
Definition at line 39 of file MipsABIInfo.h.
Referenced by GetByValArgRegs(), GetCalleeAllocdArgSizeInBytes(), getVarArgRegs(), and llvm::MipsSubtarget::isABI_O32().
|
inlinestatic |
Definition at line 34 of file MipsABIInfo.h.
References MipsABIInfo(), and N32.
Referenced by computeTargetABI().
|
inlinestatic |
Definition at line 35 of file MipsABIInfo.h.
References MipsABIInfo(), and N64.
Referenced by computeTargetABI(), and llvm::MipsTargetELFStreamer::MipsTargetELFStreamer().
|
inlinestatic |
Definition at line 33 of file MipsABIInfo.h.
References MipsABIInfo(), and O32.
Referenced by computeTargetABI(), and llvm::MipsTargetELFStreamer::MipsTargetELFStreamer().
|
inline |
Ordering of ABI's MipsGenSubtargetInfo.inc will use this to resolve conflicts when given multiple ABI options.
Definition at line 57 of file MipsABIInfo.h.
References MipsABIInfo(), llvm::Other, and ThisABI.
|
inlinestatic |
Definition at line 32 of file MipsABIInfo.h.
References MipsABIInfo(), and Unknown.
|
protected |
Definition at line 27 of file MipsABIInfo.h.
Referenced by GetEnumValue(), IsKnown(), IsN32(), IsN64(), IsO32(), MipsABIInfo(), and operator<().