1 //===-- Nios2.h - Top-level interface for Nios2 representation --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in
11 // the LLVM Nios2 back-end.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_NIOS2_NIOS2_H
16 #define LLVM_LIB_TARGET_NIOS2_NIOS2_H
18 #include "MCTargetDesc/Nios2MCTargetDesc.h"
19 #include "llvm/Target/TargetMachine.h"
23 class formatted_raw_ostream
;
24 class Nios2TargetMachine
;
29 FunctionPass
*createNios2ISelDag(Nios2TargetMachine
&TM
,
30 CodeGenOpt::Level OptLevel
);
31 void LowerNios2MachineInstToMCInst(const MachineInstr
*MI
, MCInst
&OutMI
,