LLVM  16.0.0git
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, Register 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
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
Register getFrameRegister (const MachineFunction &MF) const override
 Debug information queries. More...
bool isConstantPhysReg (MCRegister PhysReg) const override

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 20 of file Mips16RegisterInfo.h.

Constructor & Destructor Documentation

◆ Mips16RegisterInfo()

Mips16RegisterInfo::Mips16RegisterInfo ( )

Member Function Documentation

◆ intRegClass()

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

Return GPR register class.

Implements llvm::MipsRegisterInfo.

Definition at line 68 of file Mips16RegisterInfo.cpp.

References assert().

◆ requiresFrameIndexScavenging()

bool Mips16RegisterInfo::requiresFrameIndexScavenging ( const MachineFunction MF) const

Definition at line 47 of file Mips16RegisterInfo.cpp.

◆ requiresRegisterScavenging()

bool Mips16RegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const

Definition at line 43 of file Mips16RegisterInfo.cpp.

◆ saveScavengerRegister()

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

◆ useFPForScavengingIndex()

bool Mips16RegisterInfo::useFPForScavengingIndex ( const MachineFunction MF) const

Definition at line 52 of file Mips16RegisterInfo.cpp.

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