LLVM  6.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
 
unsigned getFrameRegister (const MachineFunction &MF) const override
 
unsigned getBaseRegister () const
 
bool hasBasePointer (const MachineFunction &MF) const
 
int getDwarfRegNum (unsigned RegNum, bool IsEH) const
 

Detailed Description

Definition at line 24 of file LanaiRegisterInfo.h.

Constructor & Destructor Documentation

◆ LanaiRegisterInfo()

LanaiRegisterInfo::LanaiRegisterInfo ( )

Definition at line 34 of file LanaiRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

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

◆ getBaseRegister()

unsigned LanaiRegisterInfo::getBaseRegister ( ) const

◆ getCalleeSavedRegs()

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

Definition at line 37 of file LanaiRegisterInfo.cpp.

◆ getCallPreservedMask()

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

Definition at line 268 of file LanaiRegisterInfo.cpp.

Referenced by CC_Lanai32_VarArg().

◆ getDwarfRegNum()

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

◆ getFrameRegister()

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

Definition at line 261 of file LanaiRegisterInfo.cpp.

Referenced by eliminateFrameIndex().

◆ getRARegister()

unsigned LanaiRegisterInfo::getRARegister ( ) const

Definition at line 258 of file LanaiRegisterInfo.cpp.

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

◆ getReservedRegs()

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

Definition at line 41 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 63 of file LanaiRegisterInfo.cpp.

◆ trackLivenessAfterRegAlloc()

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

Definition at line 68 of file LanaiRegisterInfo.cpp.


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