9#ifndef LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H
10#define LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H
Interface to describe a layout of a stack frame on an AMDGPU target.
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")
Information about the stack frame layout on the AMDGPU targets.
R600FrameLowering(StackDirection D, Align StackAl, int LAO, Align TransAl=Align(1))
~R600FrameLowering() override
bool hasFP(const MachineFunction &MF) const override
hasFP - Return true if the specified function should have a dedicated frame pointer register.
void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override
emitProlog/emitEpilog - These methods insert prolog and epilog code into the function.
StackOffset getFrameIndexReference(const MachineFunction &MF, int FI, Register &FrameReg) const override
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override
Wrapper class representing virtual and physical registers.
StackOffset holds a fixed and a scalable offset in bytes.
This is an optimization pass for GlobalISel generic memory operations.
This struct is a compact representation of a valid (non-zero power of two) alignment.