LLVM  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::MipsRegisterInfo Class Referenceabstract

#include <MipsRegisterInfo.h>

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

Public Member Functions

 MipsRegisterInfo ()
 
void adjustMipsStackFrame (MachineFunction &MF) const
 Adjust the Mips stack frame. More...
 
const TargetRegisterClassgetPointerRegClass (const MachineFunction &MF, unsigned Kind) const override
 Code Generation virtual methods... More...
 
unsigned getRegPressureLimit (const TargetRegisterClass *RC, MachineFunction &MF) const override
 
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
 Mips Callee Saved Registers. More...
 
const uint32_t * getCallPreservedMask (const MachineFunction &MF, 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. More...
 
void processFunctionBeforeFrameFinalized (MachineFunction &MF, RegScavenger *RS=nullptr) const
 
bool canRealignStack (const MachineFunction &MF) const
 
bool needsStackRealignment (const MachineFunction &MF) const override
 
unsigned getFrameRegister (const MachineFunction &MF) const override
 Debug information queries. More...
 
virtual const TargetRegisterClassintRegClass (unsigned Size) const =0
 Return GPR register class. More...
 

Static Public Member Functions

static unsigned getRegisterNumbering (unsigned RegEnum)
 getRegisterNumbering - Given the enum value for some register, e.g. More...
 
static unsigned getPICCallReg ()
 Get PIC indirect call register. More...
 
static const uint32_t * getMips16RetHelperMask ()
 

Detailed Description

Definition at line 24 of file MipsRegisterInfo.h.

Constructor & Destructor Documentation

MipsRegisterInfo::MipsRegisterInfo ( )

Definition at line 47 of file MipsRegisterInfo.cpp.

Member Function Documentation

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

Adjust the Mips stack frame.

bool MipsRegisterInfo::canRealignStack ( const MachineFunction MF) const
void MipsRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  II,
int  SPAdj,
unsigned  FIOperandNum,
RegScavenger RS = nullptr 
) const
override
const MCPhysReg * MipsRegisterInfo::getCalleeSavedRegs ( const MachineFunction MF) const
override
const uint32_t * MipsRegisterInfo::getCallPreservedMask ( const MachineFunction MF,
CallingConv::ID   
) const
override
unsigned MipsRegisterInfo::getFrameRegister ( const MachineFunction MF) const
override
const uint32_t * MipsRegisterInfo::getMips16RetHelperMask ( )
static

Definition at line 127 of file MipsRegisterInfo.cpp.

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

unsigned MipsRegisterInfo::getPICCallReg ( )
static

Get PIC indirect call register.

Definition at line 49 of file MipsRegisterInfo.cpp.

const TargetRegisterClass * MipsRegisterInfo::getPointerRegClass ( const MachineFunction MF,
unsigned  Kind 
) const
override

Code Generation virtual methods...

Definition at line 52 of file MipsRegisterInfo.cpp.

References llvm::MipsABIInfo::ArePtrs64bit(), and llvm::MachineFunction::getSubtarget().

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
override
BitVector MipsRegisterInfo::getReservedRegs ( const MachineFunction MF) const
override
virtual const TargetRegisterClass* llvm::MipsRegisterInfo::intRegClass ( unsigned  Size) const
pure virtual

Return GPR register class.

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

bool MipsRegisterInfo::needsStackRealignment ( const MachineFunction MF) const
override
void llvm::MipsRegisterInfo::processFunctionBeforeFrameFinalized ( MachineFunction MF,
RegScavenger RS = nullptr 
) const
bool MipsRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const
override

Definition at line 240 of file MipsRegisterInfo.cpp.

bool MipsRegisterInfo::trackLivenessAfterRegAlloc ( const MachineFunction MF) const
override

Definition at line 245 of file MipsRegisterInfo.cpp.


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