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 186 of file X86MachineFunctionInfo.h.
|
default |
|
inline |
Definition at line 293 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 261 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitEpilogue().
|
inline |
Definition at line 249 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::adjustForSegmentedStacks(), and llvm::X86AsmPrinter::emitFunctionBodyStart().
|
inline |
Definition at line 341 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::spillFPBP().
|
inline |
Definition at line 347 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86RegisterInfo::getReservedRegs().
|
inline |
Definition at line 219 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 214 of file X86MachineFunctionInfo.h.
References padForPush2Pop2().
Referenced by llvm::X86FrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitPrologue(), and llvm::X86FrameLowering::getFrameIndexReference().
|
inline |
Definition at line 225 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::getFrameIndexReference().
|
inline |
Definition at line 197 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::hasFP().
|
inline |
Definition at line 268 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 338 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::spillFPBP().
|
inline |
Definition at line 344 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86RegisterInfo::getReservedRegs().
|
inline |
Definition at line 234 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86InstrInfo::getGlobalBaseReg().
|
inline |
Definition at line 200 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::eliminateCallFramePseudoInstr().
|
inline |
Definition at line 255 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue(), and llvm::X86FrameLowering::restoreWin32EHStackPointers().
|
inline |
Definition at line 296 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 252 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 333 of file X86MachineFunctionInfo.h.
References assert().
Referenced by llvm::X86TargetLowering::EmitInstrWithCustomInserter().
Definition at line 311 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 324 of file X86MachineFunctionInfo.h.
References assert().
Referenced by llvm::X86TargetLowering::EmitInstrWithCustomInserter().
|
inline |
Definition at line 222 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86TargetLowering::getReturnAddressFrameIndex().
|
inline |
Definition at line 240 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 203 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 208 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue().
|
inline |
Definition at line 258 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue(), and llvm::X86FrameLowering::restoreWin32EHStackPointers().
|
inline |
Definition at line 231 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 304 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 306 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 228 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 275 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue(), ExpandMOVImmSExti8(), and llvm::X86InstrInfo::isFunctionSafeToOutlineFrom().
|
inline |
Definition at line 246 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 237 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 243 of file X86MachineFunctionInfo.h.
Definition at line 210 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots(), and llvm::X86FrameLowering::getWin64EHFrameIndexRef().
|
inline |
Definition at line 211 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 300 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::getDwarfFrameBase().
|
inline |
Definition at line 278 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 281 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86RegisterInfo::hasBasePointer(), and llvm::X86FrameLowering::hasFP().
|
inline |
|
inline |
Definition at line 253 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 290 of file X86MachineFunctionInfo.h.
References Reg.
Referenced by llvm::X86FrameLowering::restoreCalleeSavedRegisters(), and llvm::X86FrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 272 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86RegisterInfo::getCalleeSavedRegsViaCopy().
|
inline |
Definition at line 287 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots(), getCalleeSavedFrameSize(), llvm::X86FrameLowering::restoreCalleeSavedRegisters(), and llvm::X86FrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 262 of file X86MachineFunctionInfo.h.
References assert(), and llvm::None.
Referenced by llvm::X86TargetLowering::EmitInstrWithCustomInserter().
|
inline |
Definition at line 250 of file X86MachineFunctionInfo.h.
References llvm::size().
|
inline |
Definition at line 342 of file X86MachineFunctionInfo.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 348 of file X86MachineFunctionInfo.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 220 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 217 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 226 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 198 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 339 of file X86MachineFunctionInfo.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 345 of file X86MachineFunctionInfo.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 235 of file X86MachineFunctionInfo.h.
References Reg.
Referenced by llvm::X86InstrInfo::getGlobalBaseReg().
|
inline |
Definition at line 301 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 279 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 282 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86TargetLowering::EmitInstrWithCustomInserter().
|
inline |
Definition at line 201 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 256 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 285 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 273 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 288 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 329 of file X86MachineFunctionInfo.h.
References llvm::SmallVectorImpl< T >::assign(), llvm::ArrayRef< T >::begin(), and llvm::ArrayRef< T >::end().
|
inline |
Definition at line 320 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 223 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86TargetLowering::getReturnAddressFrameIndex().
|
inline |
Definition at line 241 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 205 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 259 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 232 of file X86MachineFunctionInfo.h.
References Reg.
|
inline |
Definition at line 303 of file X86MachineFunctionInfo.h.
References MI.
Referenced by llvm::X86FrameLowering::processFunctionBeforeFrameIndicesReplaced().
|
inline |
Definition at line 309 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 229 of file X86MachineFunctionInfo.h.
|
inline |
Definition at line 276 of file X86MachineFunctionInfo.h.
Referenced by llvm::X86FrameLowering::emitPrologue().
|
inline |
Definition at line 247 of file X86MachineFunctionInfo.h.
References llvm::Offset.
|
inline |
Definition at line 238 of file X86MachineFunctionInfo.h.
References Idx.
|
inline |
Definition at line 244 of file X86MachineFunctionInfo.h.
References llvm::Offset.