LLVM API Documentation
#include <PPCMachineFunctionInfo.h>
PPCFunctionInfo - This class is derived from MachineFunction private PowerPC target-specific information for each MachineFunction.
Definition at line 23 of file PPCMachineFunctionInfo.h.
llvm::PPCFunctionInfo::PPCFunctionInfo | ( | MachineFunction & | MF | ) | [inline, explicit] |
Definition at line 102 of file PPCMachineFunctionInfo.h.
void llvm::PPCFunctionInfo::addMustSaveCR | ( | unsigned | Reg | ) | [inline] |
Definition at line 180 of file PPCMachineFunctionInfo.h.
References llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().
Referenced by llvm::PPCFrameLowering::spillCalleeSavedRegisters().
int llvm::PPCFunctionInfo::getBasePointerSaveIndex | ( | ) | const [inline] |
int llvm::PPCFunctionInfo::getCRSpillFrameIndex | ( | ) | const [inline] |
Definition at line 175 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::hasReservedSpillSlot().
int llvm::PPCFunctionInfo::getFramePointerSaveIndex | ( | ) | const [inline] |
Definition at line 122 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), llvm::PPCFrameLowering::processFunctionBeforeCalleeSavedScan(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
unsigned llvm::PPCFunctionInfo::getMinReservedArea | ( | ) | const [inline] |
Definition at line 131 of file PPCMachineFunctionInfo.h.
Referenced by CalculateTailCallSPDiff(), and llvm::PPCFrameLowering::emitEpilogue().
const SmallVectorImpl<unsigned>& llvm::PPCFunctionInfo::getMustSaveCRs | ( | ) | const [inline] |
Definition at line 179 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue(), and llvm::PPCFrameLowering::emitPrologue().
MCSymbol * PPCFunctionInfo::getPICOffsetSymbol | ( | ) | const |
Definition at line 20 of file PPCMachineFunctionInfo.cpp.
References llvm::MachineFunction::getContext(), llvm::TargetSubtargetInfo::getDataLayout(), llvm::MachineFunction::getFunctionNumber(), llvm::MCContext::GetOrCreateSymbol(), llvm::DataLayout::getPrivateGlobalPrefix(), and llvm::MachineFunction::getSubtarget().
int llvm::PPCFunctionInfo::getReturnAddrSaveIndex | ( | ) | const [inline] |
Definition at line 125 of file PPCMachineFunctionInfo.h.
int llvm::PPCFunctionInfo::getTailCallSPDelta | ( | ) | const [inline] |
Definition at line 134 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::processFunctionBeforeCalleeSavedScan(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
int llvm::PPCFunctionInfo::getVarArgsFrameIndex | ( | ) | const [inline] |
Definition at line 163 of file PPCMachineFunctionInfo.h.
unsigned llvm::PPCFunctionInfo::getVarArgsNumFPR | ( | ) | const [inline] |
Definition at line 172 of file PPCMachineFunctionInfo.h.
unsigned llvm::PPCFunctionInfo::getVarArgsNumGPR | ( | ) | const [inline] |
Definition at line 169 of file PPCMachineFunctionInfo.h.
int llvm::PPCFunctionInfo::getVarArgsStackOffset | ( | ) | const [inline] |
Definition at line 166 of file PPCMachineFunctionInfo.h.
bool llvm::PPCFunctionInfo::hasFastCall | ( | ) | const [inline] |
Definition at line 161 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue().
bool llvm::PPCFunctionInfo::hasNonRISpills | ( | ) | const [inline] |
Definition at line 149 of file PPCMachineFunctionInfo.h.
Referenced by hasNonRISpills().
bool llvm::PPCFunctionInfo::hasSpills | ( | ) | const [inline] |
Definition at line 146 of file PPCMachineFunctionInfo.h.
Referenced by hasSpills().
bool llvm::PPCFunctionInfo::isCRSpilled | ( | ) | const [inline] |
Definition at line 152 of file PPCMachineFunctionInfo.h.
Referenced by spillsCR().
bool llvm::PPCFunctionInfo::isLRStoreRequired | ( | ) | const [inline] |
Definition at line 158 of file PPCMachineFunctionInfo.h.
Referenced by MustSaveLR().
bool llvm::PPCFunctionInfo::isVRSAVESpilled | ( | ) | const [inline] |
Definition at line 155 of file PPCMachineFunctionInfo.h.
Referenced by spillsVRSAVE().
bool llvm::PPCFunctionInfo::mustSaveLR | ( | ) | const [inline] |
Definition at line 143 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue(), and llvm::PPCFrameLowering::emitPrologue().
void llvm::PPCFunctionInfo::setBasePointerSaveIndex | ( | int | Idx | ) | [inline] |
Definition at line 129 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::processFunctionBeforeCalleeSavedScan().
void llvm::PPCFunctionInfo::setCRSpillFrameIndex | ( | int | idx | ) | [inline] |
Definition at line 176 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::processFunctionBeforeCalleeSavedScan().
void llvm::PPCFunctionInfo::setFramePointerSaveIndex | ( | int | Idx | ) | [inline] |
Definition at line 123 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::processFunctionBeforeCalleeSavedScan().
void llvm::PPCFunctionInfo::setHasFastCall | ( | ) | [inline] |
Definition at line 160 of file PPCMachineFunctionInfo.h.
void llvm::PPCFunctionInfo::setHasNonRISpills | ( | ) | [inline] |
Definition at line 148 of file PPCMachineFunctionInfo.h.
Referenced by fixupFuncForFI(), llvm::PPCInstrInfo::loadRegFromStackSlot(), and llvm::PPCInstrInfo::storeRegToStackSlot().
void llvm::PPCFunctionInfo::setHasSpills | ( | ) | [inline] |
Definition at line 145 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::loadRegFromStackSlot(), and llvm::PPCInstrInfo::storeRegToStackSlot().
void llvm::PPCFunctionInfo::setLRStoreRequired | ( | ) | [inline] |
Definition at line 157 of file PPCMachineFunctionInfo.h.
void llvm::PPCFunctionInfo::setMinReservedArea | ( | unsigned | size | ) | [inline] |
Definition at line 132 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 142 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::processFunctionBeforeCalleeSavedScan().
void llvm::PPCFunctionInfo::setReturnAddrSaveIndex | ( | int | idx | ) | [inline] |
Definition at line 126 of file PPCMachineFunctionInfo.h.
void llvm::PPCFunctionInfo::setSpillsCR | ( | ) | [inline] |
Definition at line 151 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::loadRegFromStackSlot(), llvm::PPCFrameLowering::spillCalleeSavedRegisters(), and llvm::PPCInstrInfo::storeRegToStackSlot().
void llvm::PPCFunctionInfo::setSpillsVRSAVE | ( | ) | [inline] |
Definition at line 154 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::loadRegFromStackSlot(), and llvm::PPCInstrInfo::storeRegToStackSlot().
void llvm::PPCFunctionInfo::setTailCallSPDelta | ( | int | size | ) | [inline] |
Definition at line 135 of file PPCMachineFunctionInfo.h.
Referenced by CalculateTailCallSPDiff().
void llvm::PPCFunctionInfo::setUsesPICBase | ( | bool | uses | ) | [inline] |
Definition at line 182 of file PPCMachineFunctionInfo.h.
void llvm::PPCFunctionInfo::setVarArgsFrameIndex | ( | int | Index | ) | [inline] |
Definition at line 164 of file PPCMachineFunctionInfo.h.
void llvm::PPCFunctionInfo::setVarArgsNumFPR | ( | unsigned | Num | ) | [inline] |
Definition at line 173 of file PPCMachineFunctionInfo.h.
void llvm::PPCFunctionInfo::setVarArgsNumGPR | ( | unsigned | Num | ) | [inline] |
Definition at line 170 of file PPCMachineFunctionInfo.h.
void llvm::PPCFunctionInfo::setVarArgsStackOffset | ( | int | Offset | ) | [inline] |
Definition at line 167 of file PPCMachineFunctionInfo.h.
bool llvm::PPCFunctionInfo::usesPICBase | ( | ) | const [inline] |
Definition at line 183 of file PPCMachineFunctionInfo.h.