|
LLVM
10.0.0
|
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 24 of file PPCMachineFunctionInfo.h.
|
inlineexplicit |
Definition at line 132 of file PPCMachineFunctionInfo.h.
|
inline |
This function associates attributes for each live-in virtual register.
Definition at line 203 of file PPCMachineFunctionInfo.h.
References isLiveInSExt(), and isLiveInZExt().
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 220 of file PPCMachineFunctionInfo.h.
References llvm::SmallVectorTemplateBase< T, bool >::push_back().
Referenced by llvm::PPCFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 140 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 215 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::hasReservedSpillSlot().
|
inline |
Definition at line 134 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized(), and truncateScalarIntegerArg().
| MCSymbol * PPCFunctionInfo::getGlobalEPSymbol | ( | ) | const |
Definition at line 25 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 32 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 146 of file PPCMachineFunctionInfo.h.
Referenced by CalculateTailCallSPDiff(), and llvm::PPCFrameLowering::emitEpilogue().
|
inline |
Definition at line 219 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue(), and llvm::PPCFrameLowering::emitPrologue().
|
inline |
Definition at line 143 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
| MCSymbol * PPCFunctionInfo::getPICOffsetSymbol | ( | ) | const |
Definition at line 18 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 137 of file PPCMachineFunctionInfo.h.
Referenced by truncateScalarIntegerArg().
|
inline |
Definition at line 149 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::emitEpilogue(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
| MCSymbol * PPCFunctionInfo::getTOCOffsetSymbol | ( | ) | const |
Definition at line 39 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 190 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 199 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 196 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 193 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 188 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::canUseAsEpilogue(), and llvm::PPCFrameLowering::emitEpilogue().
|
inline |
Definition at line 173 of file PPCMachineFunctionInfo.h.
Referenced by hasNonRISpills().
|
inline |
Definition at line 170 of file PPCMachineFunctionInfo.h.
Referenced by hasSpills().
|
inline |
Definition at line 176 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 46 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 53 of file PPCMachineFunctionInfo.cpp.
Referenced by addLiveInAttr(), and llvm::PPCInstrInfo::isSignOrZeroExtended().
|
inline |
Definition at line 182 of file PPCMachineFunctionInfo.h.
Referenced by MustSaveLR().
|
inline |
Definition at line 225 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::getCalleeSavedRegsViaCopy().
|
inline |
Definition at line 179 of file PPCMachineFunctionInfo.h.
Referenced by spillsVRSAVE().
|
inline |
Definition at line 158 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::emitEpilogue(), and llvm::PPCFrameLowering::emitPrologue().
|
inline |
Definition at line 161 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineFrameLayout(), llvm::PPCFrameLowering::emitPrologue(), llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized(), llvm::PPCFrameLowering::restoreCalleeSavedRegisters(), and llvm::PPCFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 141 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 216 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 135 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 187 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 172 of file PPCMachineFunctionInfo.h.
Referenced by fixupFuncForFI(), llvm::PPCInstrInfo::getLoadOpcodeForSpill(), and llvm::PPCInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 169 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::getLoadOpcodeForSpill(), and llvm::PPCInstrInfo::loadRegFromStackSlot().
|
inline |
Definition at line 226 of file PPCMachineFunctionInfo.h.
References getGlobalEPSymbol(), getLocalEPSymbol(), getPICOffsetSymbol(), and getTOCOffsetSymbol().
Referenced by llvm::PPCTargetLowering::initializeSplitCSR().
|
inline |
Definition at line 181 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCTargetLowering::isLegalAddressingMode().
|
inline |
Definition at line 147 of file PPCMachineFunctionInfo.h.
References llvm::size().
Referenced by EnsureStackAlignment(), and truncateScalarIntegerArg().
|
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 157 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 160 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 144 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 138 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 166 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 175 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::getLoadOpcodeForSpill(), llvm::PPCFrameLowering::spillCalleeSavedRegisters(), and llvm::PPCInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 178 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::getLoadOpcodeForSpill(), and llvm::PPCInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 150 of file PPCMachineFunctionInfo.h.
References llvm::size().
Referenced by CalculateTailCallSPDiff().
|
inline |
Definition at line 222 of file PPCMachineFunctionInfo.h.
|
inline |
Definition at line 184 of file PPCMachineFunctionInfo.h.
Referenced by setUsesTOCBasePtr().
|
inline |
Definition at line 191 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 200 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 197 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 194 of file PPCMachineFunctionInfo.h.
Referenced by EnsureStackAlignment().
|
inline |
Definition at line 167 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::enableShrinkWrapping().
|
inline |
Definition at line 223 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCFrameLowering::canUseAsEpilogue(), llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), and llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 185 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::getReservedRegs().
1.8.13