LLVM  8.0.1
Public Member Functions | List of all members
llvm::XCoreFunctionInfo Class Reference

XCoreFunctionInfo - This class is derived from MachineFunction private XCore target-specific information for each MachineFunction. More...

#include "Target/XCore/XCoreMachineFunctionInfo.h"

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

Public Member Functions

 XCoreFunctionInfo ()=default
 
 XCoreFunctionInfo (MachineFunction &MF)
 
 ~XCoreFunctionInfo () override=default
 
void setVarArgsFrameIndex (int off)
 
int getVarArgsFrameIndex () const
 
int createLRSpillSlot (MachineFunction &MF)
 
bool hasLRSpillSlot ()
 
int getLRSpillSlot () const
 
int createFPSpillSlot (MachineFunction &MF)
 
bool hasFPSpillSlot ()
 
int getFPSpillSlot () const
 
const int * createEHSpillSlot (MachineFunction &MF)
 
bool hasEHSpillSlot ()
 
const int * getEHSpillSlot () const
 
void setReturnStackOffset (unsigned value)
 
unsigned getReturnStackOffset () const
 
bool isLargeFrame (const MachineFunction &MF) const
 
std::vector< std::pair< MachineBasicBlock::iterator, CalleeSavedInfo > > & getSpillLabels ()
 
- Public Member Functions inherited from llvm::MachineFunctionInfo
virtual ~MachineFunctionInfo ()
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::MachineFunctionInfo
template<typename Ty >
static Ty * create (BumpPtrAllocator &Allocator, MachineFunction &MF)
 Factory function: default behavior is to call new using the supplied allocator. More...
 

Detailed Description

XCoreFunctionInfo - This class is derived from MachineFunction private XCore target-specific information for each MachineFunction.

Definition at line 28 of file XCoreMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ XCoreFunctionInfo() [1/2]

llvm::XCoreFunctionInfo::XCoreFunctionInfo ( )
default

◆ XCoreFunctionInfo() [2/2]

llvm::XCoreFunctionInfo::XCoreFunctionInfo ( MachineFunction MF)
inlineexplicit

Definition at line 47 of file XCoreMachineFunctionInfo.h.

References ~XCoreFunctionInfo().

◆ ~XCoreFunctionInfo()

llvm::XCoreFunctionInfo::~XCoreFunctionInfo ( )
overridedefault

Referenced by XCoreFunctionInfo().

Member Function Documentation

◆ createEHSpillSlot()

const int * XCoreFunctionInfo::createEHSpillSlot ( MachineFunction MF)

◆ createFPSpillSlot()

int XCoreFunctionInfo::createFPSpillSlot ( MachineFunction MF)

◆ createLRSpillSlot()

int XCoreFunctionInfo::createLRSpillSlot ( MachineFunction MF)

◆ getEHSpillSlot()

const int* llvm::XCoreFunctionInfo::getEHSpillSlot ( ) const
inline

Definition at line 70 of file XCoreMachineFunctionInfo.h.

References assert().

Referenced by GetEHSpillList().

◆ getFPSpillSlot()

int llvm::XCoreFunctionInfo::getFPSpillSlot ( ) const
inline

Definition at line 63 of file XCoreMachineFunctionInfo.h.

References assert(), and createEHSpillSlot().

Referenced by GetSpillList().

◆ getLRSpillSlot()

int llvm::XCoreFunctionInfo::getLRSpillSlot ( ) const
inline

◆ getReturnStackOffset()

unsigned llvm::XCoreFunctionInfo::getReturnStackOffset ( ) const
inline

Definition at line 81 of file XCoreMachineFunctionInfo.h.

References assert(), and isLargeFrame().

Referenced by LowerCallResult().

◆ getSpillLabels()

std::vector<std::pair<MachineBasicBlock::iterator, CalleeSavedInfo> >& llvm::XCoreFunctionInfo::getSpillLabels ( )
inline

◆ getVarArgsFrameIndex()

int llvm::XCoreFunctionInfo::getVarArgsFrameIndex ( ) const
inline

Definition at line 52 of file XCoreMachineFunctionInfo.h.

References createLRSpillSlot().

◆ hasEHSpillSlot()

bool llvm::XCoreFunctionInfo::hasEHSpillSlot ( )
inline

◆ hasFPSpillSlot()

bool llvm::XCoreFunctionInfo::hasFPSpillSlot ( )
inline

Definition at line 62 of file XCoreMachineFunctionInfo.h.

◆ hasLRSpillSlot()

bool llvm::XCoreFunctionInfo::hasLRSpillSlot ( )
inline

◆ isLargeFrame()

bool XCoreFunctionInfo::isLargeFrame ( const MachineFunction MF) const

◆ setReturnStackOffset()

void llvm::XCoreFunctionInfo::setReturnStackOffset ( unsigned  value)
inline

Definition at line 75 of file XCoreMachineFunctionInfo.h.

References assert().

Referenced by LowerCallResult().

◆ setVarArgsFrameIndex()

void llvm::XCoreFunctionInfo::setVarArgsFrameIndex ( int  off)
inline

Definition at line 51 of file XCoreMachineFunctionInfo.h.

Referenced by LowerCallResult().


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