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

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
 

Detailed Description

Definition at line 23 of file LanaiRegisterInfo.h.

Constructor & Destructor Documentation

◆ LanaiRegisterInfo()

LanaiRegisterInfo::LanaiRegisterInfo ( )

Definition at line 32 of file LanaiRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

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

◆ getBaseRegister()

Register LanaiRegisterInfo::getBaseRegister ( ) const

◆ getCalleeSavedRegs()

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

Definition at line 35 of file LanaiRegisterInfo.cpp.

◆ getCallPreservedMask()

const uint32_t * LanaiRegisterInfo::getCallPreservedMask ( const MachineFunction MF,
CallingConv::ID   
) const
override

Definition at line 263 of file LanaiRegisterInfo.cpp.

◆ getFrameRegister()

Register LanaiRegisterInfo::getFrameRegister ( const MachineFunction MF) const
override

Definition at line 256 of file LanaiRegisterInfo.cpp.

Referenced by eliminateFrameIndex().

◆ getRARegister()

unsigned LanaiRegisterInfo::getRARegister ( ) const

Definition at line 253 of file LanaiRegisterInfo.cpp.

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

◆ getReservedRegs()

BitVector LanaiRegisterInfo::getReservedRegs ( const MachineFunction MF) const
override

Definition at line 39 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
override

Definition at line 61 of file LanaiRegisterInfo.cpp.


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