LLVM 19.0.0git
Public Member Functions | List of all members
llvm::LanaiRegisterInfo Struct Reference

#include "Target/Lanai/LanaiRegisterInfo.h"

Inheritance diagram for llvm::LanaiRegisterInfo:
Inheritance graph

Public Member Functions

 LanaiRegisterInfo ()
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override
const uint16_tgetCalleeSavedRegs (const MachineFunction *MF=nullptr) const override
BitVector getReservedRegs (const MachineFunction &MF) const override
bool requiresRegisterScavenging (const MachineFunction &MF) const override
bool eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
unsigned getRARegister () const
Register getFrameRegister (const MachineFunction &MF) const override
Register getBaseRegister () const
bool hasBasePointer (const MachineFunction &MF) const
int getDwarfRegNum (unsigned RegNum, bool IsEH) const

Detailed Description

Definition at line 23 of file LanaiRegisterInfo.h.

Constructor & Destructor Documentation

◆ LanaiRegisterInfo()

LanaiRegisterInfo::LanaiRegisterInfo ( )

Definition at line 35 of file LanaiRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

bool LanaiRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  II,
int  SPAdj,
unsigned  FIOperandNum,
RegScavenger RS = nullptr 
) const

◆ getBaseRegister()

Register LanaiRegisterInfo::getBaseRegister ( ) const

◆ getCalleeSavedRegs()

const uint16_t * LanaiRegisterInfo::getCalleeSavedRegs ( const MachineFunction MF = nullptr) const

Definition at line 38 of file LanaiRegisterInfo.cpp.

◆ getCallPreservedMask()

const uint32_t * LanaiRegisterInfo::getCallPreservedMask ( const MachineFunction MF,
) const

Definition at line 266 of file LanaiRegisterInfo.cpp.

◆ getDwarfRegNum()

int llvm::LanaiRegisterInfo::getDwarfRegNum ( unsigned  RegNum,
bool  IsEH 
) const

◆ getFrameRegister()

Register LanaiRegisterInfo::getFrameRegister ( const MachineFunction MF) const

Definition at line 259 of file LanaiRegisterInfo.cpp.

Referenced by eliminateFrameIndex().

◆ getRARegister()

unsigned LanaiRegisterInfo::getRARegister ( ) const

Definition at line 256 of file LanaiRegisterInfo.cpp.

Referenced by llvm::LanaiTargetLowering::LowerRETURNADDR().

◆ getReservedRegs()

BitVector LanaiRegisterInfo::getReservedRegs ( const MachineFunction MF) const

Definition at line 42 of file LanaiRegisterInfo.cpp.

References getBaseRegister(), hasBasePointer(), and llvm::Reserved.

◆ hasBasePointer()

bool LanaiRegisterInfo::hasBasePointer ( const MachineFunction MF) const

◆ requiresRegisterScavenging()

bool LanaiRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const

Definition at line 64 of file LanaiRegisterInfo.cpp.

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