]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/lib/Target/MBlaze/MBlaze.h
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / contrib / llvm / lib / Target / MBlaze / MBlaze.h
1 //===-- MBlaze.h - Top-level interface for MBlaze ---------------*- C++ -*-===//
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 entry points for global functions defined in
11 // the LLVM MBlaze back-end.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef TARGET_MBLAZE_H
16 #define TARGET_MBLAZE_H
17
18 #include "MCTargetDesc/MBlazeMCTargetDesc.h"
19 #include "llvm/Target/TargetMachine.h"
20
21 namespace llvm {
22   class MBlazeTargetMachine;
23   class FunctionPass;
24   class MachineCodeEmitter;
25   class MCCodeEmitter;
26   class MCInstrInfo;
27   class MCSubtargetInfo;
28   class TargetAsmBackend;
29   class formatted_raw_ostream;
30
31   MCCodeEmitter *createMBlazeMCCodeEmitter(const MCInstrInfo &MCII,
32                                            const MCSubtargetInfo &STI,
33                                            MCContext &Ctx);
34   
35   TargetAsmBackend *createMBlazeAsmBackend(const Target &, const std::string &);
36
37   FunctionPass *createMBlazeISelDag(MBlazeTargetMachine &TM);
38   FunctionPass *createMBlazeDelaySlotFillerPass(MBlazeTargetMachine &TM);
39
40 } // end namespace llvm;
41
42 #endif