LLVM  mainline
Public Member Functions | Static Public Member Functions
llvm::MipsRegisterInfo Class Reference

#include <MipsRegisterInfo.h>

Inheritance diagram for llvm::MipsRegisterInfo:
Inheritance graph
Collaboration diagram for llvm::MipsRegisterInfo:
Collaboration graph

List of all members.

Public Member Functions

 MipsRegisterInfo ()
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) const override
 Mips Callee Saved Registers.
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.
void processFunctionBeforeFrameFinalized (MachineFunction &MF, RegScavenger *RS=nullptr) const
bool canRealignStack (const MachineFunction &MF) const override
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)
 getRegisterNumbering - Given the enum value for some register, e.g.
static unsigned getPICCallReg ()
 Get PIC indirect call register.
static const uint32_t * getMips16RetHelperMask ()

Detailed Description

Definition at line 24 of file MipsRegisterInfo.h.

Constructor & Destructor Documentation

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

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

Get PIC indirect call register.

Definition at line 49 of file MipsRegisterInfo.cpp.

Code Generation virtual methods...

Definition at line 52 of file MipsRegisterInfo.cpp.

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

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 250 of file MipsRegisterInfo.cpp.

Definition at line 255 of file MipsRegisterInfo.cpp.

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