LLVM  9.0.0svn
Public Member Functions | List of all members
llvm::LanaiRegisterInfo Struct Reference

#include "Target/Lanai/LanaiRegisterInfo.h"

Inheritance diagram for llvm::LanaiRegisterInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::LanaiRegisterInfo:
Collaboration graph
[legend]

Public Member Functions

 LanaiRegisterInfo ()
 
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override
 
const uint16_t * getCalleeSavedRegs (const MachineFunction *MF=nullptr) 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
 
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()

void 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 38 of file LanaiRegisterInfo.cpp.

◆ getCallPreservedMask()

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

Definition at line 269 of file LanaiRegisterInfo.cpp.

Referenced by CC_Lanai32_VarArg().

◆ getDwarfRegNum()

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

◆ getFrameRegister()

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

Definition at line 262 of file LanaiRegisterInfo.cpp.

Referenced by eliminateFrameIndex().

◆ getRARegister()

unsigned LanaiRegisterInfo::getRARegister ( ) const

Definition at line 259 of file LanaiRegisterInfo.cpp.

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

◆ getReservedRegs()

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

Definition at line 42 of file LanaiRegisterInfo.cpp.

References getBaseRegister(), hasBasePointer(), R2, R4, and llvm::BitVector::set().

◆ hasBasePointer()

bool LanaiRegisterInfo::hasBasePointer ( const MachineFunction MF) const

◆ requiresRegisterScavenging()

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

Definition at line 64 of file LanaiRegisterInfo.cpp.

◆ trackLivenessAfterRegAlloc()

bool LanaiRegisterInfo::trackLivenessAfterRegAlloc ( const MachineFunction MF) const
override

Definition at line 69 of file LanaiRegisterInfo.cpp.


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