LLVM 20.0.0git
|
X86MachineFunctionInfo - This class is derived from MachineFunction and contains private X86 target-specific information for each MachineFunction. More...
#include "Target/X86/X86MachineFunctionInfo.h"
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::MachineFunctionInfo | |
template<typename FuncInfoTy , typename SubtargetTy = TargetSubtargetInfo> | |
static FuncInfoTy * | create (BumpPtrAllocator &Allocator, const Function &F, const SubtargetTy *STI) |
Factory function: default behavior is to call new using the supplied allocator. | |
template<typename Ty > | |
static Ty * | create (BumpPtrAllocator &Allocator, const Ty &MFI) |
X86MachineFunctionInfo - This class is derived from MachineFunction and contains private X86 target-specific information for each MachineFunction.
Definition at line 58 of file X86MachineFunctionInfo.h.
|
default |
|
inline |
Definition at line 184 of file X86MachineFunctionInfo.h.
|
default |
|
inline |
Definition at line 291 of file X86MachineFunctionInfo.h.
References Reg.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
overridevirtual |
Make a functionally equivalent copy of this MachineFunctionInfo in MF
.
This requires remapping MachineBasicBlock references from the original parent to values in the new function. Targets may assume that virtual register and frame index values are preserved in the new function.
Reimplemented from llvm::MachineFunctionInfo.
Definition at line 24 of file X86MachineFunctionInfo.cpp.
References llvm::MachineFunction::cloneInfo().
|
inline |
Definition at line 259 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitEpilogue().
|
inline |
Definition at line 247 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::adjustForSegmentedStacks(), and llvm::X86AsmPrinter::emitFunctionBodyStart().
|
inline |
Definition at line 339 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::spillFPBP().
|
inline |
Definition at line 217 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 212 of file X86MachineFunctionInfo.h.
References padForPush2Pop2().
Referenced by llvm::X86FrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitPrologue(), and llvm::X86FrameLowering::getFrameIndexReference().
|
inline |
Definition at line 223 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::getFrameIndexReference().
|
inline |
Definition at line 195 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::hasFP().
|
inline |
Definition at line 266 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 336 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::spillFPBP().
|
inline |
Definition at line 232 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86InstrInfo::getGlobalBaseReg().
|
inline |
Definition at line 198 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::eliminateCallFramePseudoInstr().
|
inline |
Definition at line 253 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue(), and llvm::X86FrameLowering::restoreWin32EHStackPointers().
|
inline |
Definition at line 294 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 250 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 331 of file X86MachineFunctionInfo.h.
References assert().
Referenced by llvm::X86TargetLowering::EmitInstrWithCustomInserter().
Definition at line 309 of file X86MachineFunctionInfo.h.
References llvm::SmallVectorImpl< T >::emplace_back(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::size().
|
inline |
Definition at line 322 of file X86MachineFunctionInfo.h.
References assert().
Referenced by llvm::X86TargetLowering::EmitInstrWithCustomInserter().
|
inline |
Definition at line 220 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86TargetLowering::getReturnAddressFrameIndex().
|
inline |
Definition at line 238 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 201 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots(), llvm::X86FrameLowering::emitPrologue(), llvm::X86FrameLowering::getFrameIndexReference(), llvm::X86FrameLowering::restoreCalleeSavedRegisters(), and llvm::X86FrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 206 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue().
|
inline |
Definition at line 256 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue(), and llvm::X86FrameLowering::restoreWin32EHStackPointers().
|
inline |
Definition at line 229 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 302 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitCalleeSavedFrameMoves(), llvm::X86FrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitPrologue(), llvm::X86RegisterInfo::hasBasePointer(), and llvm::X86FrameLowering::processFunctionBeforeFrameIndicesReplaced().
|
inline |
Definition at line 304 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 226 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots(), llvm::X86InstrInfo::canMakeTailCallConditional(), llvm::X86FrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitPrologue(), llvm::X86FrameLowering::getFrameIndexReference(), and llvm::X86FrameLowering::getFrameIndexReferencePreferSP().
|
inline |
Definition at line 273 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue(), ExpandMOVImmSExti8(), and llvm::X86InstrInfo::isFunctionSafeToOutlineFrom().
|
inline |
Definition at line 244 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 235 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 241 of file X86MachineFunctionInfo.h.
Definition at line 208 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots(), and llvm::X86FrameLowering::getWin64EHFrameIndexRef().
|
inline |
Definition at line 209 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 298 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::getDwarfFrameBase().
|
inline |
Definition at line 276 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 279 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86RegisterInfo::hasBasePointer(), and llvm::X86FrameLowering::hasFP().
|
inline |
|
inline |
Definition at line 251 of file X86MachineFunctionInfo.h.
Referenced by LowerToTLSLocalDynamicModel().
void X86MachineFunctionInfo::initializeBaseYamlFields | ( | const yaml::X86MachineFunctionInfo & | YamlMFI | ) |
Definition at line 31 of file X86MachineFunctionInfo.cpp.
References llvm::yaml::X86MachineFunctionInfo::AMXProgModel.
Definition at line 288 of file X86MachineFunctionInfo.h.
References Reg.
Referenced by llvm::X86FrameLowering::restoreCalleeSavedRegisters(), and llvm::X86FrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 270 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86RegisterInfo::getCalleeSavedRegsViaCopy().
|
inline |
Definition at line 285 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots(), getCalleeSavedFrameSize(), llvm::X86FrameLowering::restoreCalleeSavedRegisters(), and llvm::X86FrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 260 of file X86MachineFunctionInfo.h.
References assert(), and llvm::None.
Referenced by llvm::X86TargetLowering::EmitInstrWithCustomInserter().
|
inline |
Definition at line 248 of file X86MachineFunctionInfo.h.
References llvm::size().
|
inline |
Definition at line 340 of file X86MachineFunctionInfo.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 218 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 215 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 224 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 196 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 337 of file X86MachineFunctionInfo.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 233 of file X86MachineFunctionInfo.h.
References Reg.
Referenced by llvm::X86InstrInfo::getGlobalBaseReg().
|
inline |
Definition at line 299 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 277 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 280 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86TargetLowering::EmitInstrWithCustomInserter().
|
inline |
Definition at line 199 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 254 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 283 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 271 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 286 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 327 of file X86MachineFunctionInfo.h.
References llvm::SmallVectorImpl< T >::assign(), llvm::ArrayRef< T >::begin(), and llvm::ArrayRef< T >::end().
|
inline |
Definition at line 318 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 221 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86TargetLowering::getReturnAddressFrameIndex().
|
inline |
Definition at line 239 of file X86MachineFunctionInfo.h.
References Idx.
void X86MachineFunctionInfo::setRestoreBasePointer | ( | const MachineFunction * | MF | ) |
Definition at line 38 of file X86MachineFunctionInfo.cpp.
References contains(), llvm::MachineRegisterInfo::getCalleeSavedRegs(), llvm::MachineFunction::getRegInfo(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::X86RegisterInfo::getSlotSize(), and llvm::MachineFunction::getSubtarget().
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 203 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 257 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 230 of file X86MachineFunctionInfo.h.
References Reg.
|
inline |
Definition at line 301 of file X86MachineFunctionInfo.h.
References MI.
Referenced by llvm::X86FrameLowering::processFunctionBeforeFrameIndicesReplaced().
|
inline |
Definition at line 307 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 227 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 274 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue().
|
inline |
Definition at line 245 of file X86MachineFunctionInfo.h.
References llvm::Offset.
|
inline |
Definition at line 236 of file X86MachineFunctionInfo.h.
References Idx.
|
inline |
Definition at line 242 of file X86MachineFunctionInfo.h.
References llvm::Offset.