LLVM
8.0.1
|
PPCFunctionInfo - This class is derived from MachineFunction private PowerPC target-specific information for each MachineFunction. More...
#include "Target/PowerPC/PPCMachineFunctionInfo.h"
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::MachineFunctionInfo | |
template<typename Ty > | |
static Ty * | create (BumpPtrAllocator &Allocator, MachineFunction &MF) |
Factory function: default behavior is to call new using the supplied allocator. More... | |
PPCFunctionInfo - This class is derived from MachineFunction private PowerPC target-specific information for each MachineFunction.
Definition at line 25 of file PPCMachineFunctionInfo.h.
|
inlineexplicit |
Definition at line 127 of file PPCMachineFunctionInfo.h.
|
inline |
This function associates attributes for each live-in virtual register.
Definition at line 195 of file PPCMachineFunctionInfo.h.
References isLiveInSExt(), and isLiveInZExt().
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 212 of file PPCMachineFunctionInfo.h.
References llvm::SmallVectorTemplateBase< T, bool >::push_back().
Referenced by llvm::PPCFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 135 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 207 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::hasReservedSpillSlot().
|
inline |
Definition at line 129 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), PrepareCall(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
MCSymbol * PPCFunctionInfo::getGlobalEPSymbol | ( | ) | const |
Definition at line 26 of file PPCMachineFunctionInfo.cpp.
References llvm::MachineFunction::getContext(), llvm::MachineFunction::getDataLayout(), llvm::MachineFunction::getFunctionNumber(), llvm::MCContext::getOrCreateSymbol(), and llvm::DataLayout::getPrivateGlobalPrefix().
Referenced by setIsSplitCSR().
MCSymbol * PPCFunctionInfo::getLocalEPSymbol | ( | ) | const |
Definition at line 33 of file PPCMachineFunctionInfo.cpp.
References llvm::MachineFunction::getContext(), llvm::MachineFunction::getDataLayout(), llvm::MachineFunction::getFunctionNumber(), llvm::MCContext::getOrCreateSymbol(), and llvm::DataLayout::getPrivateGlobalPrefix().
Referenced by setIsSplitCSR().
|
inline |
Definition at line 141 of file PPCMachineFunctionInfo.h.
Referenced by CalculateTailCallSPDiff(), and llvm::PPCFrameLowering::emitEpilogue().
|
inline |
Definition at line 211 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue(), and llvm::PPCFrameLowering::emitPrologue().
|
inline |
Definition at line 138 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
MCSymbol * PPCFunctionInfo::getPICOffsetSymbol | ( | ) | const |
Definition at line 19 of file PPCMachineFunctionInfo.cpp.
References llvm::MachineFunction::getContext(), llvm::MachineFunction::getDataLayout(), llvm::MachineFunction::getFunctionNumber(), llvm::MCContext::getOrCreateSymbol(), and llvm::DataLayout::getPrivateGlobalPrefix().
Referenced by setIsSplitCSR().
|
inline |
Definition at line 132 of file PPCMachineFunctionInfo.h.
Referenced by PrepareCall().
|
inline |
Definition at line 144 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::emitEpilogue(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
MCSymbol * PPCFunctionInfo::getTOCOffsetSymbol | ( | ) | const |
Definition at line 40 of file PPCMachineFunctionInfo.cpp.
References llvm::MachineFunction::getContext(), llvm::MachineFunction::getDataLayout(), llvm::MachineFunction::getFunctionNumber(), llvm::MCContext::getOrCreateSymbol(), and llvm::DataLayout::getPrivateGlobalPrefix().
Referenced by setIsSplitCSR().
|
inline |
Definition at line 182 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 191 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 188 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 185 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 180 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue().
|
inline |
Definition at line 165 of file PPCMachineFunctionInfo.h.
Referenced by hasNonRISpills().
|
inline |
Definition at line 162 of file PPCMachineFunctionInfo.h.
Referenced by hasSpills().
|
inline |
Definition at line 168 of file PPCMachineFunctionInfo.h.
Referenced by spillsCR().
This function returns true if the specified vreg is a live-in register and sign-extended.
Definition at line 47 of file PPCMachineFunctionInfo.cpp.
Referenced by addLiveInAttr(), and llvm::PPCInstrInfo::isSignOrZeroExtended().
This function returns true if the specified vreg is a live-in register and zero-extended.
Definition at line 54 of file PPCMachineFunctionInfo.cpp.
Referenced by addLiveInAttr(), and llvm::PPCInstrInfo::isSignOrZeroExtended().
|
inline |
Definition at line 174 of file PPCMachineFunctionInfo.h.
Referenced by MustSaveLR().
|
inline |
Definition at line 217 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::getCalleeSavedRegsViaCopy().
|
inline |
Definition at line 171 of file PPCMachineFunctionInfo.h.
Referenced by spillsVRSAVE().
|
inline |
Definition at line 153 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue(), and llvm::PPCFrameLowering::emitPrologue().
|
inline |
Definition at line 136 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 208 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 130 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 179 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 164 of file PPCMachineFunctionInfo.h.
Referenced by fixupFuncForFI(), llvm::PPCInstrInfo::getLoadOpcodeForSpill(), and llvm::PPCInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 161 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::getLoadOpcodeForSpill(), and llvm::PPCInstrInfo::loadRegFromStackSlot().
|
inline |
Definition at line 218 of file PPCMachineFunctionInfo.h.
References getGlobalEPSymbol(), getLocalEPSymbol(), getPICOffsetSymbol(), and getTOCOffsetSymbol().
Referenced by llvm::PPCTargetLowering::initializeSplitCSR().
|
inline |
Definition at line 173 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCTargetLowering::isLegalAddressingMode().
|
inline |
Definition at line 142 of file PPCMachineFunctionInfo.h.
References llvm::size().
Referenced by EnsureStackAlignment().
|
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 152 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 139 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 133 of file PPCMachineFunctionInfo.h.
|
inline |
We certainly don't want to shrink wrap functions if we've emitted a MovePCtoLR8 as that has to go into the entry, so the prologue definitely has to go into the entry block.
Definition at line 158 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 167 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::getLoadOpcodeForSpill(), llvm::PPCFrameLowering::spillCalleeSavedRegisters(), and llvm::PPCInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 170 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::getLoadOpcodeForSpill(), and llvm::PPCInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 145 of file PPCMachineFunctionInfo.h.
References llvm::size().
Referenced by CalculateTailCallSPDiff().
|
inline |
Definition at line 214 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 176 of file PPCMachineFunctionInfo.h.
Referenced by setUsesTOCBasePtr().
|
inline |
Definition at line 183 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 192 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 189 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 186 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 159 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::enableShrinkWrapping().
|
inline |
Definition at line 215 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 177 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::getReservedRegs().