summaryrefslogtreecommitdiff
path: root/lib/Target/Nios2/Nios2FrameLowering.cpp
blob: f278d80f80541714554f7b09fe8b5af6a329af7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//===-- Nios2FrameLowering.cpp - Nios2 Frame Information ------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the Nios2 implementation of TargetFrameLowering class.
//
//===----------------------------------------------------------------------===//

#include "Nios2FrameLowering.h"

#include "Nios2Subtarget.h"
#include "llvm/CodeGen/MachineFunction.h"

using namespace llvm;

bool Nios2FrameLowering::hasFP(const MachineFunction &MF) const { return true; }

void Nios2FrameLowering::emitPrologue(MachineFunction &MF,
                                      MachineBasicBlock &MBB) const {}

void Nios2FrameLowering::emitEpilogue(MachineFunction &MF,
                                      MachineBasicBlock &MBB) const {}

const Nios2FrameLowering *Nios2FrameLowering::create(const Nios2Subtarget &ST) {
  return new Nios2FrameLowering(ST, 4);
}