LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::Mips16RegisterInfo Class Reference

#include <Mips16RegisterInfo.h>

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

Public Member Functions

 Mips16RegisterInfo (const MipsSubtarget &Subtarget)
 
bool requiresRegisterScavenging (const MachineFunction &MF) const
 
bool requiresFrameIndexScavenging (const MachineFunction &MF) const
 
bool useFPForScavengingIndex (const MachineFunction &MF) const
 
bool saveScavengerRegister (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, MachineBasicBlock::iterator &UseMI, const TargetRegisterClass *RC, unsigned Reg) const
 
virtual const TargetRegisterClassintRegClass (unsigned Size) const
 Return GPR register class. More...
 
- Public Member Functions inherited from llvm::MipsRegisterInfo
 MipsRegisterInfo (const MipsSubtarget &Subtarget)
 
void adjustMipsStackFrame (MachineFunction &MF) const
 Adjust the Mips stack frame. More...
 
const TargetRegisterClassgetPointerRegClass (const MachineFunction &MF, unsigned Kind) const
 Code Generation virtual methods... More...
 
unsigned getRegPressureLimit (const TargetRegisterClass *RC, MachineFunction &MF) const
 
const uint16_t * getCalleeSavedRegs (const MachineFunction *MF=0) const
 Mips Callee Saved Registers. More...
 
const uint32_t * getCallPreservedMask (CallingConv::ID) const
 
BitVector getReservedRegs (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. More...
 
void processFunctionBeforeFrameFinalized (MachineFunction &MF, RegScavenger *RS=NULL) const
 
unsigned getFrameRegister (const MachineFunction &MF) const
 Debug information queries. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::MipsRegisterInfo
static unsigned getRegisterNumbering (unsigned RegEnum)
 
static unsigned getPICCallReg ()
 Get PIC indirect call register. More...
 
static const uint32_t * getMips16RetHelperMask ()
 
- Protected Attributes inherited from llvm::MipsRegisterInfo
const MipsSubtargetSubtarget
 

Detailed Description

Definition at line 22 of file Mips16RegisterInfo.h.

Constructor & Destructor Documentation

Mips16RegisterInfo::Mips16RegisterInfo ( const MipsSubtarget Subtarget)

Definition at line 44 of file Mips16RegisterInfo.cpp.

Member Function Documentation

const TargetRegisterClass * Mips16RegisterInfo::intRegClass ( unsigned  Size) const
virtual

Return GPR register class.

Implements llvm::MipsRegisterInfo.

Definition at line 75 of file Mips16RegisterInfo.cpp.

bool Mips16RegisterInfo::requiresFrameIndexScavenging ( const MachineFunction MF) const

Definition at line 52 of file Mips16RegisterInfo.cpp.

bool Mips16RegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const
virtual

Reimplemented from llvm::MipsRegisterInfo.

Definition at line 48 of file Mips16RegisterInfo.cpp.

bool Mips16RegisterInfo::saveScavengerRegister ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  I,
MachineBasicBlock::iterator UseMI,
const TargetRegisterClass RC,
unsigned  Reg 
) const
bool Mips16RegisterInfo::useFPForScavengingIndex ( const MachineFunction MF) const

Definition at line 57 of file Mips16RegisterInfo.cpp.


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