Mercurial > hg > CbC > CbC_llvm
comparison lib/Target/Nios2/Nios2FrameLowering.cpp @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | |
children | 3a76565eade5 |
comparison
equal
deleted
inserted
replaced
120:1172e4bd9c6f | 121:803732b1fca8 |
---|---|
1 //===-- Nios2FrameLowering.cpp - Nios2 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 Nios2 implementation of TargetFrameLowering class. | |
11 // | |
12 //===----------------------------------------------------------------------===// | |
13 | |
14 #include "Nios2FrameLowering.h" | |
15 | |
16 #include "Nios2Subtarget.h" | |
17 #include "llvm/CodeGen/MachineFunction.h" | |
18 | |
19 using namespace llvm; | |
20 | |
21 bool Nios2FrameLowering::hasFP(const MachineFunction &MF) const { return true; } | |
22 | |
23 void Nios2FrameLowering::emitPrologue(MachineFunction &MF, | |
24 MachineBasicBlock &MBB) const {} | |
25 | |
26 void Nios2FrameLowering::emitEpilogue(MachineFunction &MF, | |
27 MachineBasicBlock &MBB) const {} | |
28 | |
29 const Nios2FrameLowering *Nios2FrameLowering::create(const Nios2Subtarget &ST) { | |
30 return new Nios2FrameLowering(ST, 4); | |
31 } |