blob: fd3b258e26cc12189741b59aa46d2a61884c9c7b [file] [log] [blame]
Alex Bradbury89718422017-10-19 21:37:38 +00001//===-- RISCVFrameLowering.cpp - RISCV Frame Information ------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the RISCV implementation of TargetFrameLowering class.
11//
12//===----------------------------------------------------------------------===//
13
14#include "RISCVFrameLowering.h"
15#include "RISCVSubtarget.h"
16#include "llvm/CodeGen/MachineFrameInfo.h"
17#include "llvm/CodeGen/MachineFunction.h"
18#include "llvm/CodeGen/MachineInstrBuilder.h"
19#include "llvm/CodeGen/MachineRegisterInfo.h"
20
21using namespace llvm;
22
23bool RISCVFrameLowering::hasFP(const MachineFunction &MF) const { return true; }
24
25void RISCVFrameLowering::emitPrologue(MachineFunction &MF,
26 MachineBasicBlock &MBB) const {}
27
28void RISCVFrameLowering::emitEpilogue(MachineFunction &MF,
29 MachineBasicBlock &MBB) const {}