LLVM: lib/Target/AMDGPU/R600FrameLowering.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9#ifndef LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H
10#define LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H
11
13
14namespace llvm {
15
17public:
22
28 Register &FrameReg) const override;
29
30protected:
32};
33
34}
35
36#endif
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")
AMDGPUFrameLowering(StackDirection D, Align StackAl, int LAO, Align TransAl=Align(1))
R600FrameLowering(StackDirection D, Align StackAl, int LAO, Align TransAl=Align(1))
Definition R600FrameLowering.h:18
~R600FrameLowering() override
bool hasFPImpl(const MachineFunction &MF) const override
Definition R600FrameLowering.h:31
void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override
emitProlog/emitEpilog - These methods insert prolog and epilog code into the function.
Definition R600FrameLowering.h:23
StackOffset getFrameIndexReference(const MachineFunction &MF, int FI, Register &FrameReg) const override
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override
Definition R600FrameLowering.h:25
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.