Lines Matching refs:MachineFunction

16 #include "llvm/CodeGen/MachineFunction.h"
57 void emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB,
60 std::optional<MachineFunction::DebugInstrOperandPair>
66 void inlineStackProbe(MachineFunction &MF,
78 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
79 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
81 void adjustForSegmentedStacks(MachineFunction &MF,
84 void adjustForHiPEPrologue(MachineFunction &MF,
87 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
91 assignCalleeSavedSpillSlots(MachineFunction &MF,
106 void spillFPBP(MachineFunction &MF) const override;
108 bool hasReservedCallFrame(const MachineFunction &MF) const override;
109 bool canSimplifyCallFramePseudos(const MachineFunction &MF) const override;
110 bool needsFrameIndexResolution(const MachineFunction &MF) const override;
112 StackOffset getFrameIndexReference(const MachineFunction &MF, int FI,
115 int getWin64EHFrameIndexRef(const MachineFunction &MF, int FI,
117 StackOffset getFrameIndexReferenceSP(const MachineFunction &MF, int FI,
120 getFrameIndexReferencePreferSP(const MachineFunction &MF, int FI,
125 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
128 unsigned getWinEHParentFrameOffset(const MachineFunction &MF) const override;
130 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
134 processFunctionBeforeFrameIndicesReplaced(MachineFunction &MF,
150 bool canUseLEAForSPInEpilogue(const MachineFunction &MF) const;
170 bool enableShrinkWrapping(const MachineFunction &MF) const override;
176 void orderFrameObjects(const MachineFunction &MF,
191 void restoreWinEHStackPointersInParent(MachineFunction &MF) const;
193 int getInitialCFAOffset(const MachineFunction &MF) const override;
195 Register getInitialCFARegister(const MachineFunction &MF) const override;
197 DwarfFrameBase getDwarfFrameBase(const MachineFunction &MF) const override;
201 bool has128ByteRedZone(const MachineFunction& MF) const;
204 bool hasFPImpl(const MachineFunction &MF) const override;
207 bool isWin64Prologue(const MachineFunction &MF) const;
209 bool needsDwarfCFI(const MachineFunction &MF) const;
211 uint64_t calculateMaxStackAlign(const MachineFunction &MF) const;
215 MachineFunction &MF, MachineBasicBlock &MBB,
217 std::optional<MachineFunction::DebugInstrOperandPair> InstrNum) const;
220 void emitStackProbeInline(MachineFunction &MF, MachineBasicBlock &MBB,
223 void emitStackProbeInlineWindowsCoreCLR64(MachineFunction &MF,
228 void emitStackProbeInlineGeneric(MachineFunction &MF, MachineBasicBlock &MBB,
232 void emitStackProbeInlineGenericBlock(MachineFunction &MF,
238 void emitStackProbeInlineGenericLoop(MachineFunction &MF,
248 void adjustFrameForMsvcCxxEh(MachineFunction &MF) const;
266 unsigned getPSPSlotOffsetFromSP(const MachineFunction &MF) const;
268 unsigned getWinEHFuncletFrameSize(const MachineFunction &MF) const;
277 void spillFPBPUsingSP(MachineFunction &MF,
283 void restoreFPBPUsingSP(MachineFunction &MF,
287 void saveAndRestoreFPBPUsingSP(MachineFunction &MF,
292 void checkInterferedAccess(MachineFunction &MF,
300 bool skipSpillFPBP(MachineFunction &MF,