LLVM API Documentation

llvm::PPCFunctionInfo Class Reference

#include <PPCMachineFunctionInfo.h>

Inheritance diagram for llvm::PPCFunctionInfo:
[legend]
Collaboration diagram for llvm::PPCFunctionInfo:
[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 setSpillsCR ()
bool isCRSpilled () const
void setLRStoreRequired ()
bool isLRStoreRequired () const
void setHasFastCall ()
bool hasFastCall () const


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]

Definition at line 62 of file PPCMachineFunctionInfo.h.


Member Function Documentation

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

void llvm::PPCFunctionInfo::setFramePointerSaveIndex ( int  Idx  )  [inline]

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

Definition at line 74 of file PPCMachineFunctionInfo.h.

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

Definition at line 75 of file PPCMachineFunctionInfo.h.

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

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

Definition at line 78 of file PPCMachineFunctionInfo.h.

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

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

Definition at line 81 of file PPCMachineFunctionInfo.h.

Referenced by CalculateTailCallSPDiff().

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 88 of file PPCMachineFunctionInfo.h.

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

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

void llvm::PPCFunctionInfo::setSpillsCR (  )  [inline]

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

Definition at line 92 of file PPCMachineFunctionInfo.h.

Referenced by spillsCR().

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

Definition at line 94 of file PPCMachineFunctionInfo.h.

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

Definition at line 95 of file PPCMachineFunctionInfo.h.

Referenced by MustSaveLR().

void llvm::PPCFunctionInfo::setHasFastCall (  )  [inline]

Definition at line 97 of file PPCMachineFunctionInfo.h.

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

Definition at line 98 of file PPCMachineFunctionInfo.h.

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


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