LLVM API Documentation

Public Member Functions | Static Public Member Functions | Protected Attributes
llvm::MipsRegisterInfo Class Reference

#include <MipsRegisterInfo.h>

Inheritance diagram for llvm::MipsRegisterInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::MipsRegisterInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MipsRegisterInfo (const MipsSubtarget &Subtarget)
void adjustMipsStackFrame (MachineFunction &MF) const
 Adjust the Mips stack frame.
const TargetRegisterClassgetPointerRegClass (const MachineFunction &MF, unsigned Kind) const override
 Code Generation virtual methods...
unsigned getRegPressureLimit (const TargetRegisterClass *RC, MachineFunction &MF) const override
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF=nullptr) const override
 Mips Callee Saved Registers.
const uint32_t * getCallPreservedMask (CallingConv::ID) const override
BitVector getReservedRegs (const MachineFunction &MF) const override
bool requiresRegisterScavenging (const MachineFunction &MF) const override
bool trackLivenessAfterRegAlloc (const MachineFunction &MF) const override
void eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
 Stack Frame Processing Methods.
void processFunctionBeforeFrameFinalized (MachineFunction &MF, RegScavenger *RS=nullptr) const
unsigned getFrameRegister (const MachineFunction &MF) const override
 Debug information queries.
virtual const TargetRegisterClassintRegClass (unsigned Size) const =0
 Return GPR register class.

Static Public Member Functions

static unsigned getRegisterNumbering (unsigned RegEnum)
static unsigned getPICCallReg ()
 Get PIC indirect call register.
static const uint32_t * getMips16RetHelperMask ()

Protected Attributes

const MipsSubtargetSubtarget

Detailed Description

Definition at line 27 of file MipsRegisterInfo.h.


Constructor & Destructor Documentation

Definition at line 45 of file MipsRegisterInfo.cpp.


Member Function Documentation

Adjust the Mips stack frame.

void MipsRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  II,
int  SPAdj,
unsigned  FIOperandNum,
RegScavenger RS = nullptr 
) const [override]

Definition at line 122 of file MipsRegisterInfo.cpp.

Referenced by llvm::MipsTargetLowering::getOpndList().

Get PIC indirect call register.

Definition at line 48 of file MipsRegisterInfo.cpp.

Code Generation virtual methods...

Definition at line 51 of file MipsRegisterInfo.cpp.

References llvm::MipsSubtarget::isABI_N64(), and Subtarget.

getRegisterNumbering - Given the enum value for some register, e.g. Mips::RA, return the number that it corresponds to (e.g. 31).

virtual const TargetRegisterClass* llvm::MipsRegisterInfo::intRegClass ( unsigned  Size) const [pure virtual]

Return GPR register class.

Implemented in llvm::Mips16RegisterInfo, and llvm::MipsSERegisterInfo.

Reimplemented in llvm::MipsSERegisterInfo, and llvm::Mips16RegisterInfo.

Definition at line 225 of file MipsRegisterInfo.cpp.

Definition at line 230 of file MipsRegisterInfo.cpp.


Member Data Documentation


The documentation for this class was generated from the following files: