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
 Code Generation virtual methods...
unsigned getRegPressureLimit (const TargetRegisterClass *RC, MachineFunction &MF) const
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF=0) const
 Mips Callee Saved Registers.
const uint32_t * getCallPreservedMask (CallingConv::ID) const
BitVector getReservedRegs (const MachineFunction &MF) const
virtual bool requiresRegisterScavenging (const MachineFunction &MF) const
virtual bool trackLivenessAfterRegAlloc (const MachineFunction &MF) const
void eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=NULL) const
 Stack Frame Processing Methods.
void processFunctionBeforeFrameFinalized (MachineFunction &MF, RegScavenger *RS=NULL) const
unsigned getFrameRegister (const MachineFunction &MF) const
 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 = NULL 
) const

Definition at line 116 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 208 of file MipsRegisterInfo.cpp.

Definition at line 213 of file MipsRegisterInfo.cpp.


Member Data Documentation


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