LLVM 22.0.0git
llvm::AArch64EpilogueEmitter Class Referencefinal

A helper class for emitting the epilogue. More...

#include "Target/AArch64/AArch64PrologueEpilogue.h"

Inheritance diagram for llvm::AArch64EpilogueEmitter:
[legend]

Public Member Functions

 AArch64EpilogueEmitter (MachineFunction &MF, MachineBasicBlock &MBB, const AArch64FrameLowering &AFL)
void emitEpilogue ()
 Emit the epilogue.
 ~AArch64EpilogueEmitter ()
Public Member Functions inherited from llvm::AArch64PrologueEpilogueCommon
 AArch64PrologueEpilogueCommon (MachineFunction &MF, MachineBasicBlock &MBB, const AArch64FrameLowering &AFL)

Additional Inherited Members

Public Types inherited from llvm::AArch64PrologueEpilogueCommon
enum class  SVEStackLayout { Default , Split , CalleeSavesAboveFrameRecord }
Protected Member Functions inherited from llvm::AArch64PrologueEpilogueCommon
bool requiresGetVGCall () const
bool isVGInstruction (MachineBasicBlock::iterator MBBI, const TargetLowering &TLI) const
MachineBasicBlock::iterator convertCalleeSaveRestoreToSPPrePostIncDec (MachineBasicBlock::iterator MBBI, const DebugLoc &DL, int CSStackSizeInc, bool EmitCFI, MachineInstr::MIFlag FrameFlag=MachineInstr::FrameSetup, int CFAOffset=0) const
void fixupCalleeSaveRestoreStackOffset (MachineInstr &MI, uint64_t LocalStackSize) const
bool shouldCombineCSRLocalStackBump (uint64_t StackBumpBytes) const
SVEFrameSizes getSVEStackFrameSizes () const
Protected Attributes inherited from llvm::AArch64PrologueEpilogueCommon
MachineFunctionMF
MachineBasicBlockMBB
const MachineFrameInfoMFI
const AArch64SubtargetSubtarget
const AArch64FrameLoweringAFL
const AArch64RegisterInfoRegInfo
bool HasFP = false
bool EmitCFI = false
bool IsFunclet = false
bool NeedsWinCFI = false
bool HomPrologEpilog = false
SVEStackLayout SVELayout = SVEStackLayout::Default
bool HasWinCFI = false
const TargetInstrInfoTII = nullptr
AArch64FunctionInfoAFI = nullptr

Detailed Description

A helper class for emitting the epilogue.

Substantial new functionality should be factored into a new method. Where possible "emit*" methods should be const, and any flags that change how the epilogue is emitted should be set in the constructor.

Definition at line 164 of file AArch64PrologueEpilogue.h.

Constructor & Destructor Documentation

◆ AArch64EpilogueEmitter()

◆ ~AArch64EpilogueEmitter()

llvm::AArch64EpilogueEmitter::~AArch64EpilogueEmitter ( )
inline

Definition at line 172 of file AArch64PrologueEpilogue.h.

Member Function Documentation

◆ emitEpilogue()

void llvm::AArch64EpilogueEmitter::emitEpilogue ( )

The documentation for this class was generated from the following files: