view lib/Target/Nios2/Nios2FrameLowering.cpp @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents
children 3a76565eade5
line wrap: on
line source

//===-- 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);
}