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)
int getBasePointerSaveIndex () const
void setBasePointerSaveIndex (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 SmallVectorImpl< unsigned > & getMustSaveCRs () const
void addMustSaveCR (unsigned Reg)
void setUsesPICBase (bool uses)
bool usesPICBase () const
MCSymbolgetPICOffsetSymbol () 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

Definition at line 102 of file PPCMachineFunctionInfo.h.


Member Function Documentation

Definition at line 125 of file PPCMachineFunctionInfo.h.

Definition at line 163 of file PPCMachineFunctionInfo.h.

Definition at line 172 of file PPCMachineFunctionInfo.h.

Definition at line 169 of file PPCMachineFunctionInfo.h.

Definition at line 166 of file PPCMachineFunctionInfo.h.

Definition at line 161 of file PPCMachineFunctionInfo.h.

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

Definition at line 149 of file PPCMachineFunctionInfo.h.

Referenced by hasNonRISpills().

Definition at line 146 of file PPCMachineFunctionInfo.h.

Referenced by hasSpills().

Definition at line 152 of file PPCMachineFunctionInfo.h.

Referenced by spillsCR().

Definition at line 158 of file PPCMachineFunctionInfo.h.

Referenced by MustSaveLR().

Definition at line 155 of file PPCMachineFunctionInfo.h.

Referenced by spillsVRSAVE().

Definition at line 160 of file PPCMachineFunctionInfo.h.

Definition at line 157 of file PPCMachineFunctionInfo.h.

Definition at line 132 of file PPCMachineFunctionInfo.h.

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

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

Definition at line 126 of file PPCMachineFunctionInfo.h.

Definition at line 135 of file PPCMachineFunctionInfo.h.

Referenced by CalculateTailCallSPDiff().

Definition at line 182 of file PPCMachineFunctionInfo.h.

Definition at line 164 of file PPCMachineFunctionInfo.h.

Definition at line 173 of file PPCMachineFunctionInfo.h.

Definition at line 170 of file PPCMachineFunctionInfo.h.

Definition at line 167 of file PPCMachineFunctionInfo.h.

Definition at line 183 of file PPCMachineFunctionInfo.h.


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