14 #ifndef LLVM_LIB_TARGET_POWERPC_PPCMACHINEFUNCTIONINFO_H
15 #define LLVM_LIB_TARGET_POWERPC_PPCMACHINEFUNCTIONINFO_H
25 virtual void anchor();
30 int FramePointerSaveIndex = 0;
34 int ReturnAddrSaveIndex = 0;
37 int BasePointerSaveIndex = 0;
40 int PICBasePointerSaveIndex = 0;
48 bool HasSpills =
false;
52 bool HasNonRISpills =
false;
55 bool SpillsCR =
false;
58 bool SpillsVRSAVE =
false;
64 bool LRStoreRequired =
false;
67 bool UsesTOCBasePtr =
false;
71 unsigned MinReservedArea = 0;
76 int TailCallSPDelta = 0;
80 bool HasFastCall =
false;
83 int VarArgsFrameIndex = 0;
88 int VarArgsStackOffset = 0;
92 unsigned VarArgsNumGPR = 0;
96 unsigned VarArgsNumFPR = 0;
99 int CRSpillFrameIndex = 0;
110 bool UsesPICBase =
false;
114 bool IsSplitCSR =
false;
200 #endif // LLVM_LIB_TARGET_POWERPC_PPCMACHINEFUNCTIONINFO_H
void push_back(const T &Elt)
void setVarArgsNumGPR(unsigned Num)
int getTailCallSPDelta() const
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
void addMustSaveCR(unsigned Reg)
void setLRStoreRequired()
void setFramePointerSaveIndex(int Idx)
bool isLRStoreRequired() const
unsigned getVarArgsNumGPR() const
MCSymbol * getGlobalEPSymbol() const
void setVarArgsNumFPR(unsigned Num)
int getReturnAddrSaveIndex() const
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...
void setVarArgsStackOffset(int Offset)
PPCFunctionInfo - This class is derived from MachineFunction private PowerPC target-specific informat...
PPCFunctionInfo(MachineFunction &MF)
unsigned getMinReservedArea() const
int getVarArgsFrameIndex() const
Reg
All possible values of the reg field in the ModR/M byte.
MCSymbol * getTOCOffsetSymbol() const
bool isVRSAVESpilled() const
int getBasePointerSaveIndex() const
void setUsesPICBase(bool uses)
int getPICBasePointerSaveIndex() const
int getFramePointerSaveIndex() const
const SmallVectorImpl< unsigned > & getMustSaveCRs() const
void setTailCallSPDelta(int size)
void setReturnAddrSaveIndex(int idx)
unsigned getVarArgsNumFPR() const
void setVarArgsFrameIndex(int Index)
void setBasePointerSaveIndex(int Idx)
void setMinReservedArea(unsigned size)
MCSymbol * getLocalEPSymbol() const
void setCRSpillFrameIndex(int idx)
int getVarArgsStackOffset() const
void setIsSplitCSR(bool s)
void setPICBasePointerSaveIndex(int Idx)
bool hasNonRISpills() const
int getCRSpillFrameIndex() const
bool usesTOCBasePtr() const
MCSymbol * getPICOffsetSymbol() const
void setMustSaveLR(bool U)
MustSaveLR - This is set when the prolog/epilog inserter does its initial scan of the function...