[Nios2] Target registration
Reviewers: craig.topper, hfinkel, joerg, lattner, zvi
Reviewed By: craig.topper
Subscribers: oren_ben_simhon, igorb, belickim, tvvikram, mgorny, llvm-commits, pavel.v.chupin, DavidKreitzer
Differential Revision: https://reviews.llvm.org/D32669
Patch by AndreiGrischenko <andrei.l.grischenko@intel.com>
llvm-svn: 304144
2017-05-29 17:48:30 +08:00
|
|
|
//===-- Nios2.h - Top-level interface for Nios2 representation --*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// 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 entry points for global functions defined in
|
|
|
|
// the LLVM Nios2 back-end.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_LIB_TARGET_NIOS2_NIOS2_H
|
|
|
|
#define LLVM_LIB_TARGET_NIOS2_NIOS2_H
|
|
|
|
|
|
|
|
#include "MCTargetDesc/Nios2MCTargetDesc.h"
|
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
2017-12-07 20:35:02 +08:00
|
|
|
class FunctionPass;
|
|
|
|
class formatted_raw_ostream;
|
[Nios2] Target registration
Reviewers: craig.topper, hfinkel, joerg, lattner, zvi
Reviewed By: craig.topper
Subscribers: oren_ben_simhon, igorb, belickim, tvvikram, mgorny, llvm-commits, pavel.v.chupin, DavidKreitzer
Differential Revision: https://reviews.llvm.org/D32669
Patch by AndreiGrischenko <andrei.l.grischenko@intel.com>
llvm-svn: 304144
2017-05-29 17:48:30 +08:00
|
|
|
class Nios2TargetMachine;
|
2017-12-07 20:35:02 +08:00
|
|
|
class AsmPrinter;
|
|
|
|
class MachineInstr;
|
|
|
|
class MCInst;
|
|
|
|
|
|
|
|
FunctionPass *createNios2ISelDag(Nios2TargetMachine &TM,
|
|
|
|
CodeGenOpt::Level OptLevel);
|
|
|
|
void LowerNios2MachineInstToMCInst(const MachineInstr *MI, MCInst &OutMI,
|
|
|
|
AsmPrinter &AP);
|
[Nios2] Target registration
Reviewers: craig.topper, hfinkel, joerg, lattner, zvi
Reviewed By: craig.topper
Subscribers: oren_ben_simhon, igorb, belickim, tvvikram, mgorny, llvm-commits, pavel.v.chupin, DavidKreitzer
Differential Revision: https://reviews.llvm.org/D32669
Patch by AndreiGrischenko <andrei.l.grischenko@intel.com>
llvm-svn: 304144
2017-05-29 17:48:30 +08:00
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|