LLVM API Documentation

Public Member Functions
llvm::PPCFunctionInfo Class Reference

#include <PPCMachineFunctionInfo.h>

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

List of all members.

Public Member Functions

 PPCFunctionInfo (MachineFunction &MF)
int getFramePointerSaveIndex () const
void setFramePointerSaveIndex (int Idx)
int getReturnAddrSaveIndex () const
void setReturnAddrSaveIndex (int idx)
unsigned getMinReservedArea () const
void setMinReservedArea (unsigned size)
int getTailCallSPDelta () const
void setTailCallSPDelta (int size)
void setMustSaveLR (bool U)
bool mustSaveLR () const
void setHasSpills ()
bool hasSpills () const
void setHasNonRISpills ()
bool hasNonRISpills () const
void setSpillsCR ()
bool isCRSpilled () const
void setSpillsVRSAVE ()
bool isVRSAVESpilled () const
void setLRStoreRequired ()
bool isLRStoreRequired () const
void setHasFastCall ()
bool hasFastCall () const
int getVarArgsFrameIndex () const
void setVarArgsFrameIndex (int Index)
int getVarArgsStackOffset () const
void setVarArgsStackOffset (int Offset)
unsigned getVarArgsNumGPR () const
void setVarArgsNumGPR (unsigned Num)
unsigned getVarArgsNumFPR () const
void setVarArgsNumFPR (unsigned Num)
int getCRSpillFrameIndex () const
void setCRSpillFrameIndex (int idx)
const SmallVector< unsigned, 3 > & getMustSaveCRs () const
void addMustSaveCR (unsigned Reg)

Detailed Description

PPCFunctionInfo - This class is derived from MachineFunction private PowerPC target-specific information for each MachineFunction.

Definition at line 23 of file PPCMachineFunctionInfo.h.


Constructor & Destructor Documentation

llvm::PPCFunctionInfo::PPCFunctionInfo ( MachineFunction MF) [inline, explicit]

Definition at line 93 of file PPCMachineFunctionInfo.h.


Member Function Documentation

void llvm::PPCFunctionInfo::addMustSaveCR ( unsigned  Reg) [inline]
int llvm::PPCFunctionInfo::getCRSpillFrameIndex ( ) const [inline]
int llvm::PPCFunctionInfo::getFramePointerSaveIndex ( ) const [inline]
unsigned llvm::PPCFunctionInfo::getMinReservedArea ( ) const [inline]
const SmallVector<unsigned, 3>& llvm::PPCFunctionInfo::getMustSaveCRs ( ) const [inline]
int llvm::PPCFunctionInfo::getReturnAddrSaveIndex ( ) const [inline]

Definition at line 113 of file PPCMachineFunctionInfo.h.

int llvm::PPCFunctionInfo::getTailCallSPDelta ( ) const [inline]
int llvm::PPCFunctionInfo::getVarArgsFrameIndex ( ) const [inline]

Definition at line 148 of file PPCMachineFunctionInfo.h.

unsigned llvm::PPCFunctionInfo::getVarArgsNumFPR ( ) const [inline]

Definition at line 157 of file PPCMachineFunctionInfo.h.

unsigned llvm::PPCFunctionInfo::getVarArgsNumGPR ( ) const [inline]

Definition at line 154 of file PPCMachineFunctionInfo.h.

int llvm::PPCFunctionInfo::getVarArgsStackOffset ( ) const [inline]

Definition at line 151 of file PPCMachineFunctionInfo.h.

bool llvm::PPCFunctionInfo::hasFastCall ( ) const [inline]

Definition at line 146 of file PPCMachineFunctionInfo.h.

Referenced by llvm::PPCFrameLowering::emitEpilogue().

bool llvm::PPCFunctionInfo::hasNonRISpills ( ) const [inline]

Definition at line 134 of file PPCMachineFunctionInfo.h.

Referenced by hasNonRISpills().

bool llvm::PPCFunctionInfo::hasSpills ( ) const [inline]

Definition at line 131 of file PPCMachineFunctionInfo.h.

Referenced by hasSpills().

bool llvm::PPCFunctionInfo::isCRSpilled ( ) const [inline]

Definition at line 137 of file PPCMachineFunctionInfo.h.

Referenced by spillsCR().

bool llvm::PPCFunctionInfo::isLRStoreRequired ( ) const [inline]

Definition at line 143 of file PPCMachineFunctionInfo.h.

Referenced by MustSaveLR().

bool llvm::PPCFunctionInfo::isVRSAVESpilled ( ) const [inline]

Definition at line 140 of file PPCMachineFunctionInfo.h.

Referenced by spillsVRSAVE().

bool llvm::PPCFunctionInfo::mustSaveLR ( ) const [inline]
void llvm::PPCFunctionInfo::setCRSpillFrameIndex ( int  idx) [inline]
void llvm::PPCFunctionInfo::setFramePointerSaveIndex ( int  Idx) [inline]
void llvm::PPCFunctionInfo::setHasFastCall ( ) [inline]

Definition at line 145 of file PPCMachineFunctionInfo.h.

void llvm::PPCFunctionInfo::setHasNonRISpills ( ) [inline]
void llvm::PPCFunctionInfo::setHasSpills ( ) [inline]
void llvm::PPCFunctionInfo::setLRStoreRequired ( ) [inline]

Definition at line 142 of file PPCMachineFunctionInfo.h.

void llvm::PPCFunctionInfo::setMinReservedArea ( unsigned  size) [inline]

Definition at line 117 of file PPCMachineFunctionInfo.h.

void llvm::PPCFunctionInfo::setMustSaveLR ( bool  U) [inline]

MustSaveLR - This is set when the prolog/epilog inserter does its initial scan of the function. It is true if the LR/LR8 register is ever explicitly defined/clobbered in the machine function (e.g. by calls and movpctolr, which is used in PIC generation), or if the LR stack slot is explicitly referenced by builtin_return_address.

Definition at line 127 of file PPCMachineFunctionInfo.h.

Referenced by llvm::PPCFrameLowering::processFunctionBeforeCalleeSavedScan().

void llvm::PPCFunctionInfo::setReturnAddrSaveIndex ( int  idx) [inline]

Definition at line 114 of file PPCMachineFunctionInfo.h.

void llvm::PPCFunctionInfo::setSpillsCR ( ) [inline]
void llvm::PPCFunctionInfo::setSpillsVRSAVE ( ) [inline]
void llvm::PPCFunctionInfo::setTailCallSPDelta ( int  size) [inline]

Definition at line 120 of file PPCMachineFunctionInfo.h.

Referenced by CalculateTailCallSPDiff().

void llvm::PPCFunctionInfo::setVarArgsFrameIndex ( int  Index) [inline]

Definition at line 149 of file PPCMachineFunctionInfo.h.

void llvm::PPCFunctionInfo::setVarArgsNumFPR ( unsigned  Num) [inline]

Definition at line 158 of file PPCMachineFunctionInfo.h.

void llvm::PPCFunctionInfo::setVarArgsNumGPR ( unsigned  Num) [inline]

Definition at line 155 of file PPCMachineFunctionInfo.h.

void llvm::PPCFunctionInfo::setVarArgsStackOffset ( int  Offset) [inline]

Definition at line 152 of file PPCMachineFunctionInfo.h.


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