LLVM 20.0.0git
R600FrameLowering.h
Go to the documentation of this file.
1//===--------------------- R600FrameLowering.h ------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H
10#define LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H
11
12#include "AMDGPUFrameLowering.h"
13
14namespace llvm {
15
17public:
19 Align TransAl = Align(1))
20 : AMDGPUFrameLowering(D, StackAl, LAO, TransAl) {}
22
24 MachineBasicBlock &MBB) const override {}
26 MachineBasicBlock &MBB) const override {}
28 Register &FrameReg) const override;
29
30protected:
31 bool hasFPImpl(const MachineFunction &MF) const override { return false; }
32};
33
34} // end namespace llvm
35
36#endif // LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H
Interface to describe a layout of a stack frame on an AMDGPU target.
MachineBasicBlock & MBB
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 hasFPImpl(const MachineFunction &MF) const override
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.
Definition: Register.h:19
StackOffset holds a fixed and a scalable offset in bytes.
Definition: TypeSize.h:33
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
This struct is a compact representation of a valid (non-zero power of two) alignment.
Definition: Alignment.h:39