LLVM 20.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
[legend]

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.
 
- Public Member Functions inherited from llvm::MipsRegisterInfo
 MipsRegisterInfo ()
 
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_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override
 
BitVector getReservedRegs (const MachineFunction &MF) const override
 
bool eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
 Stack Frame Processing Methods.
 
bool canRealignStack (const MachineFunction &MF) const override
 
Register getFrameRegister (const MachineFunction &MF) const override
 Debug information queries.
 
virtual const TargetRegisterClassintRegClass (unsigned Size) const =0
 Return GPR register class.
 

Additional Inherited Members

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

Detailed Description

Definition at line 20 of file Mips16RegisterInfo.h.

Constructor & Destructor Documentation

◆ Mips16RegisterInfo()

Mips16RegisterInfo::Mips16RegisterInfo ( )
default

Member Function Documentation

◆ intRegClass()

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

Return GPR register class.

Implements llvm::MipsRegisterInfo.

Definition at line 68 of file Mips16RegisterInfo.cpp.

References assert(), and Size.

◆ requiresFrameIndexScavenging()

bool Mips16RegisterInfo::requiresFrameIndexScavenging ( const MachineFunction MF) const
override

Definition at line 46 of file Mips16RegisterInfo.cpp.

◆ requiresRegisterScavenging()

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

Definition at line 42 of file Mips16RegisterInfo.cpp.

◆ saveScavengerRegister()

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

◆ useFPForScavengingIndex()

bool Mips16RegisterInfo::useFPForScavengingIndex ( const MachineFunction MF) const
override

Definition at line 51 of file Mips16RegisterInfo.cpp.


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