37 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H10#define LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H11 12#include "AMDGPUFrameLowering.h"13 14namespace llvm {15 16class R600FrameLowering : public AMDGPUFrameLowering {17public:18 R600FrameLowering(StackDirection D, Align StackAl, int LAO,19 Align TransAl = Align(1))20 : AMDGPUFrameLowering(D, StackAl, LAO, TransAl) {}21 ~R600FrameLowering() override;22 23 void emitPrologue(MachineFunction &MF,24 MachineBasicBlock &MBB) const override {}25 void emitEpilogue(MachineFunction &MF,26 MachineBasicBlock &MBB) const override {}27 StackOffset getFrameIndexReference(const MachineFunction &MF, int FI,28 Register &FrameReg) const override;29 30protected:31 bool hasFPImpl(const MachineFunction &MF) const override { return false; }32};33 34} // end namespace llvm35 36#endif // LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H37