1 //===--------------------- SIFrameLowering.h --------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_LIB_TARGET_AMDGPU_SIFRAMELOWERING_H
11 #define LLVM_LIB_TARGET_AMDGPU_SIFRAMELOWERING_H
13 #include "AMDGPUFrameLowering.h"
17 class SIFrameLowering final : public AMDGPUFrameLowering {
19 SIFrameLowering(StackDirection D, unsigned StackAl, int LAO,
20 unsigned TransAl = 1) :
21 AMDGPUFrameLowering(D, StackAl, LAO, TransAl) {}
22 ~SIFrameLowering() override {}
24 void emitPrologue(MachineFunction &MF,
25 MachineBasicBlock &MBB) const override;
27 void processFunctionBeforeFrameFinalized(
29 RegScavenger *RS = nullptr) const override;