LLVM API Documentation
#include <ARMMachineFunctionInfo.h>
ARMFunctionInfo - This class is derived from MachineFunctionInfo and contains private ARM-specific information for each MachineFunction.
Definition at line 28 of file ARMMachineFunctionInfo.h.
llvm::ARMFunctionInfo::ARMFunctionInfo | ( | ) | [inline] |
Definition at line 130 of file ARMMachineFunctionInfo.h.
ARMFunctionInfo::ARMFunctionInfo | ( | MachineFunction & | MF | ) | [explicit] |
Definition at line 16 of file ARMMachineFunctionInfo.cpp.
unsigned llvm::ARMFunctionInfo::createJumpTableUId | ( | ) | [inline] |
Definition at line 195 of file ARMMachineFunctionInfo.h.
unsigned llvm::ARMFunctionInfo::createPICLabelUId | ( | ) | [inline] |
Definition at line 211 of file ARMMachineFunctionInfo.h.
Referenced by llvm::ARMFrameLowering::adjustForSegmentedStacks(), and duplicateCPV().
unsigned llvm::ARMFunctionInfo::getArgRegsSaveSize | ( | unsigned | Align = 0 | ) | const [inline] |
Definition at line 151 of file ARMMachineFunctionInfo.h.
References Align().
Referenced by llvm::Thumb1FrameLowering::emitEpilogue(), llvm::ARMFrameLowering::emitEpilogue(), llvm::Thumb1FrameLowering::emitPrologue(), llvm::ARMFrameLowering::emitPrologue(), llvm::ARMFrameLowering::processFunctionBeforeCalleeSavedScan(), llvm::Thumb1FrameLowering::restoreCalleeSavedRegisters(), and llvm::ARMFrameLowering::restoreCalleeSavedRegisters().
unsigned llvm::ARMFunctionInfo::getArgumentStackSize | ( | ) | const [inline] |
Definition at line 192 of file ARMMachineFunctionInfo.h.
Referenced by llvm::ARMFrameLowering::adjustForSegmentedStacks().
DenseMap<const MachineBasicBlock*, unsigned>::iterator llvm::ARMFunctionInfo::getCoalescedWeight | ( | MachineBasicBlock * | MBB | ) | [inline] |
Definition at line 237 of file ARMMachineFunctionInfo.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::insert().
Referenced by llvm::ARMBaseRegisterInfo::shouldCoalesce().
unsigned llvm::ARMFunctionInfo::getDPRCalleeSavedAreaOffset | ( | ) | const [inline] |
Definition at line 178 of file ARMMachineFunctionInfo.h.
unsigned llvm::ARMFunctionInfo::getDPRCalleeSavedAreaSize | ( | ) | const [inline] |
Definition at line 186 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitEpilogue(), and llvm::ARMFrameLowering::emitEpilogue().
unsigned llvm::ARMFunctionInfo::getFramePtrSpillOffset | ( | ) | const [inline] |
Definition at line 170 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1RegisterInfo::eliminateFrameIndex(), llvm::Thumb1FrameLowering::emitEpilogue(), llvm::ARMFrameLowering::emitEpilogue(), llvm::Thumb1FrameLowering::emitPrologue(), llvm::ARMFrameLowering::emitPrologue(), and llvm::ARMFrameLowering::ResolveFrameIndexReference().
unsigned llvm::ARMFunctionInfo::getGlobalBaseReg | ( | ) | const [inline] |
Definition at line 221 of file ARMMachineFunctionInfo.h.
unsigned llvm::ARMFunctionInfo::getGPRCalleeSavedArea1Offset | ( | ) | const [inline] |
Definition at line 176 of file ARMMachineFunctionInfo.h.
unsigned llvm::ARMFunctionInfo::getGPRCalleeSavedArea1Size | ( | ) | const [inline] |
Definition at line 184 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitEpilogue(), and llvm::ARMFrameLowering::emitEpilogue().
unsigned llvm::ARMFunctionInfo::getGPRCalleeSavedArea2Offset | ( | ) | const [inline] |
Definition at line 177 of file ARMMachineFunctionInfo.h.
unsigned llvm::ARMFunctionInfo::getGPRCalleeSavedArea2Size | ( | ) | const [inline] |
Definition at line 185 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitEpilogue(), and llvm::ARMFrameLowering::emitEpilogue().
unsigned llvm::ARMFunctionInfo::getNumAlignedDPRCS2Regs | ( | ) | const [inline] |
Definition at line 173 of file ARMMachineFunctionInfo.h.
Referenced by llvm::ARMFrameLowering::emitPrologue(), llvm::ARMFrameLowering::restoreCalleeSavedRegisters(), and llvm::ARMFrameLowering::spillCalleeSavedRegisters().
unsigned llvm::ARMFunctionInfo::getNumJumpTables | ( | ) | const [inline] |
Definition at line 199 of file ARMMachineFunctionInfo.h.
unsigned llvm::ARMFunctionInfo::getNumPICLabels | ( | ) | const [inline] |
Definition at line 207 of file ARMMachineFunctionInfo.h.
unsigned llvm::ARMFunctionInfo::getOriginalCPIdx | ( | unsigned | CloneIdx | ) | const [inline] |
Definition at line 229 of file ARMMachineFunctionInfo.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find(), and I.
unsigned llvm::ARMFunctionInfo::getReturnRegsCount | ( | ) | const [inline] |
Definition at line 158 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitEpilogue().
unsigned llvm::ARMFunctionInfo::getStoredByValParamsPadding | ( | ) | const [inline] |
Definition at line 148 of file ARMMachineFunctionInfo.h.
int llvm::ARMFunctionInfo::getVarArgsFrameIndex | ( | ) | const [inline] |
Definition at line 215 of file ARMMachineFunctionInfo.h.
Referenced by LowerVASTART().
bool llvm::ARMFunctionInfo::hasITBlocks | ( | ) | const [inline] |
Definition at line 218 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb2InstrInfo::ReplaceTailWithBranchTo().
bool llvm::ARMFunctionInfo::hasStackFrame | ( | ) | const [inline] |
Definition at line 161 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitEpilogue(), llvm::ARMFrameLowering::emitEpilogue(), llvm::Thumb1FrameLowering::emitPrologue(), llvm::ARMFrameLowering::emitPrologue(), estimateRSStackSizeLimit(), llvm::ARMFrameLowering::processFunctionBeforeCalleeSavedScan(), and llvm::ARMFrameLowering::ResolveFrameIndexReference().
void llvm::ARMFunctionInfo::initPICLabelUId | ( | unsigned | UId | ) | [inline] |
Definition at line 203 of file ARMMachineFunctionInfo.h.
bool llvm::ARMFunctionInfo::isLRSpilledForFarJump | ( | ) | const [inline] |
Definition at line 167 of file ARMMachineFunctionInfo.h.
bool llvm::ARMFunctionInfo::isThumb1OnlyFunction | ( | ) | const [inline] |
Definition at line 145 of file ARMMachineFunctionInfo.h.
Referenced by llvm::ARMBaseRegisterInfo::canRealignStack(), llvm::ARMBaseRegisterInfo::eliminateFrameIndex(), emitAlignedDPRCS2Restores(), emitAlignedDPRCS2Spills(), llvm::ARMFrameLowering::emitEpilogue(), llvm::ARMFrameLowering::emitPrologue(), llvm::ARMBaseRegisterInfo::materializeFrameBaseRegister(), llvm::ARMBaseRegisterInfo::needsFrameBaseReg(), llvm::ARMFrameLowering::processFunctionBeforeCalleeSavedScan(), and llvm::ARMBaseRegisterInfo::resolveFrameIndex().
bool llvm::ARMFunctionInfo::isThumb2Function | ( | ) | const [inline] |
Definition at line 146 of file ARMMachineFunctionInfo.h.
Referenced by llvm::ARMBaseRegisterInfo::eliminateFrameIndex(), llvm::ARMBaseRegisterInfo::hasBasePointer(), llvm::ARMBaseInstrInfo::InsertBranch(), llvm::ARMBaseInstrInfo::isPredicable(), llvm::ARMFrameLowering::processFunctionBeforeCalleeSavedScan(), llvm::ARMBaseRegisterInfo::resolveFrameIndex(), and llvm::ARMFrameLowering::ResolveFrameIndexReference().
bool llvm::ARMFunctionInfo::isThumbFunction | ( | ) | const [inline] |
Definition at line 144 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1RegisterInfo::eliminateFrameIndex(), llvm::ARMBaseRegisterInfo::eliminateFrameIndex(), emitAlignedDPRCS2Restores(), emitAlignedDPRCS2Spills(), llvm::ARMFrameLowering::emitEpilogue(), llvm::ARMAsmPrinter::EmitFunctionEntryLabel(), llvm::ARMAsmPrinter::EmitJumpTable(), llvm::ARMFrameLowering::emitPrologue(), llvm::ARMBaseRegisterInfo::hasBasePointer(), llvm::ARMBaseInstrInfo::InsertBranch(), llvm::ARMBaseRegisterInfo::materializeFrameBaseRegister(), llvm::ARMBaseRegisterInfo::needsFrameBaseReg(), llvm::ARMBaseRegisterInfo::resolveFrameIndex(), llvm::ARMFrameLowering::restoreCalleeSavedRegisters(), and llvm::ARMFrameLowering::spillCalleeSavedRegisters().
void llvm::ARMFunctionInfo::recordCPEClone | ( | unsigned | CPIdx, |
unsigned | CPCloneIdx | ||
) | [inline] |
Definition at line 224 of file ARMMachineFunctionInfo.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::insert(), and llvm_unreachable.
void llvm::ARMFunctionInfo::setArgRegsSaveSize | ( | unsigned | s | ) | [inline] |
Definition at line 156 of file ARMMachineFunctionInfo.h.
void llvm::ARMFunctionInfo::setArgumentStackSize | ( | unsigned | size | ) | [inline] |
Definition at line 193 of file ARMMachineFunctionInfo.h.
void llvm::ARMFunctionInfo::setDPRCalleeSavedAreaOffset | ( | unsigned | o | ) | [inline] |
Definition at line 182 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitPrologue(), and llvm::ARMFrameLowering::emitPrologue().
void llvm::ARMFunctionInfo::setDPRCalleeSavedAreaSize | ( | unsigned | s | ) | [inline] |
Definition at line 190 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitPrologue(), and llvm::ARMFrameLowering::emitPrologue().
void llvm::ARMFunctionInfo::setFramePtrSpillOffset | ( | unsigned | o | ) | [inline] |
Definition at line 171 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitPrologue(), and llvm::ARMFrameLowering::emitPrologue().
void llvm::ARMFunctionInfo::setGlobalBaseReg | ( | unsigned | Reg | ) | [inline] |
Definition at line 222 of file ARMMachineFunctionInfo.h.
void llvm::ARMFunctionInfo::setGPRCalleeSavedArea1Offset | ( | unsigned | o | ) | [inline] |
Definition at line 180 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitPrologue(), and llvm::ARMFrameLowering::emitPrologue().
void llvm::ARMFunctionInfo::setGPRCalleeSavedArea1Size | ( | unsigned | s | ) | [inline] |
Definition at line 188 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitPrologue(), and llvm::ARMFrameLowering::emitPrologue().
void llvm::ARMFunctionInfo::setGPRCalleeSavedArea2Offset | ( | unsigned | o | ) | [inline] |
Definition at line 181 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitPrologue(), and llvm::ARMFrameLowering::emitPrologue().
void llvm::ARMFunctionInfo::setGPRCalleeSavedArea2Size | ( | unsigned | s | ) | [inline] |
Definition at line 189 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitPrologue(), and llvm::ARMFrameLowering::emitPrologue().
void llvm::ARMFunctionInfo::setHasITBlocks | ( | bool | h | ) | [inline] |
Definition at line 219 of file ARMMachineFunctionInfo.h.
void llvm::ARMFunctionInfo::setHasStackFrame | ( | bool | s | ) | [inline] |
Definition at line 162 of file ARMMachineFunctionInfo.h.
Referenced by llvm::ARMFrameLowering::processFunctionBeforeCalleeSavedScan().
void llvm::ARMFunctionInfo::setLRIsSpilledForFarJump | ( | bool | s | ) | [inline] |
Definition at line 168 of file ARMMachineFunctionInfo.h.
Referenced by llvm::ARMFrameLowering::processFunctionBeforeCalleeSavedScan().
void llvm::ARMFunctionInfo::setNumAlignedDPRCS2Regs | ( | unsigned | n | ) | [inline] |
Definition at line 174 of file ARMMachineFunctionInfo.h.
void llvm::ARMFunctionInfo::setReturnRegsCount | ( | unsigned | s | ) | [inline] |
Definition at line 159 of file ARMMachineFunctionInfo.h.
void llvm::ARMFunctionInfo::setShouldRestoreSPFromFP | ( | bool | s | ) | [inline] |
Definition at line 165 of file ARMMachineFunctionInfo.h.
Referenced by emitAlignedDPRCS2Spills(), llvm::Thumb1FrameLowering::emitPrologue(), and llvm::ARMFrameLowering::emitPrologue().
void llvm::ARMFunctionInfo::setStoredByValParamsPadding | ( | unsigned | p | ) | [inline] |
Definition at line 149 of file ARMMachineFunctionInfo.h.
void llvm::ARMFunctionInfo::setVarArgsFrameIndex | ( | int | Index | ) | [inline] |
Definition at line 216 of file ARMMachineFunctionInfo.h.
bool llvm::ARMFunctionInfo::shouldRestoreSPFromFP | ( | ) | const [inline] |
Definition at line 164 of file ARMMachineFunctionInfo.h.
Referenced by llvm::Thumb1FrameLowering::emitEpilogue(), and llvm::ARMFrameLowering::emitEpilogue().