LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::Mips16RegisterInfo Class Reference

#include "Target/Mips/Mips16RegisterInfo.h"

Inheritance diagram for llvm::Mips16RegisterInfo:
Inheritance graph
Collaboration diagram for llvm::Mips16RegisterInfo:
Collaboration graph

Public Member Functions

 Mips16RegisterInfo ()
bool requiresRegisterScavenging (const MachineFunction &MF) const override
bool requiresFrameIndexScavenging (const MachineFunction &MF) const override
bool useFPForScavengingIndex (const MachineFunction &MF) const override
bool saveScavengerRegister (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, MachineBasicBlock::iterator &UseMI, const TargetRegisterClass *RC, unsigned Reg) const override
const TargetRegisterClassintRegClass (unsigned Size) const override
 Return GPR register class. More...
- Public Member Functions inherited from llvm::MipsRegisterInfo
 MipsRegisterInfo ()
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_tgetCallPreservedMask (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...
bool canRealignStack (const MachineFunction &MF) const override
unsigned getFrameRegister (const MachineFunction &MF) const override
 Debug information queries. More...

Additional Inherited Members

- Public Types inherited from llvm::MipsRegisterInfo
enum  MipsPtrClass { MipsPtrClass::Default = 0, MipsPtrClass::GPR16MM = 1, MipsPtrClass::StackPointer = 2, MipsPtrClass::GlobalPointer = 3 }
- Static Public Member Functions inherited from llvm::MipsRegisterInfo
static unsigned getPICCallReg ()
 Get PIC indirect call register. More...
static const uint32_tgetMips16RetHelperMask ()

Detailed Description

Definition at line 22 of file Mips16RegisterInfo.h.

Constructor & Destructor Documentation

◆ Mips16RegisterInfo()

Mips16RegisterInfo::Mips16RegisterInfo ( )

Definition at line 41 of file Mips16RegisterInfo.cpp.

References requiresRegisterScavenging().

Member Function Documentation

◆ intRegClass()

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

◆ requiresFrameIndexScavenging()

bool Mips16RegisterInfo::requiresFrameIndexScavenging ( const MachineFunction MF) const

Definition at line 48 of file Mips16RegisterInfo.cpp.

References useFPForScavengingIndex().

Referenced by requiresRegisterScavenging().

◆ requiresRegisterScavenging()

bool Mips16RegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const

Definition at line 44 of file Mips16RegisterInfo.cpp.

References requiresFrameIndexScavenging().

Referenced by Mips16RegisterInfo().

◆ saveScavengerRegister()

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

◆ useFPForScavengingIndex()

bool Mips16RegisterInfo::useFPForScavengingIndex ( const MachineFunction MF) const

Definition at line 53 of file Mips16RegisterInfo.cpp.

References saveScavengerRegister().

Referenced by requiresFrameIndexScavenging().

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