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.
unsigned getRegPressureLimit (const TargetRegisterClass *RC, MachineFunction &MF) const
 Code Generation virtual methods...
const uint16_t * getCalleeSavedRegs (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.
unsigned getEHExceptionRegister () const
 Exception handling queries.
unsigned getEHHandlerRegister () const
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

MipsRegisterInfo::MipsRegisterInfo ( const MipsSubtarget Subtarget)

Definition at line 45 of file MipsRegisterInfo.cpp.


Member Function Documentation

void llvm::MipsRegisterInfo::adjustMipsStackFrame ( MachineFunction MF) const

Adjust the Mips stack frame.

void MipsRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  II,
int  SPAdj,
unsigned  FIOperandNum,
RegScavenger RS = NULL 
) const
const uint16_t * MipsRegisterInfo::getCalleeSavedRegs ( const MachineFunction MF = 0) const
const uint32_t * MipsRegisterInfo::getCallPreservedMask ( CallingConv::ID  ) const
unsigned MipsRegisterInfo::getEHExceptionRegister ( ) const

Exception handling queries.

Definition at line 220 of file MipsRegisterInfo.cpp.

References llvm_unreachable.

unsigned MipsRegisterInfo::getEHHandlerRegister ( ) const

Definition at line 225 of file MipsRegisterInfo.cpp.

References llvm_unreachable.

unsigned MipsRegisterInfo::getFrameRegister ( const MachineFunction MF) const
const uint32_t * MipsRegisterInfo::getMips16RetHelperMask ( ) [static]

Definition at line 103 of file MipsRegisterInfo.cpp.

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

unsigned MipsRegisterInfo::getPICCallReg ( ) [static]

Get PIC indirect call register.

Definition at line 48 of file MipsRegisterInfo.cpp.

static unsigned llvm::MipsRegisterInfo::getRegisterNumbering ( unsigned  RegEnum) [static]

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

unsigned MipsRegisterInfo::getRegPressureLimit ( const TargetRegisterClass RC,
MachineFunction MF 
) const
BitVector MipsRegisterInfo::getReservedRegs ( const MachineFunction MF) const
virtual const TargetRegisterClass* llvm::MipsRegisterInfo::intRegClass ( unsigned  Size) const [pure virtual]

Return GPR register class.

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

void llvm::MipsRegisterInfo::processFunctionBeforeFrameFinalized ( MachineFunction MF,
RegScavenger RS = NULL 
) const
bool MipsRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const [virtual]

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

Definition at line 174 of file MipsRegisterInfo.cpp.

bool MipsRegisterInfo::trackLivenessAfterRegAlloc ( const MachineFunction MF) const [virtual]

Definition at line 179 of file MipsRegisterInfo.cpp.


Member Data Documentation


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