]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - contrib/llvm/lib/Target/MBlaze/MCTargetDesc/MBlazeMCTargetDesc.h
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
[FreeBSD/releng/9.0.git] / contrib / llvm / lib / Target / MBlaze / MCTargetDesc / MBlazeMCTargetDesc.h
1 //===-- MBlazeMCTargetDesc.h - MBlaze Target Descriptions -------*- 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 provides MBlaze specific target descriptions.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef MBLAZEMCTARGETDESC_H
15 #define MBLAZEMCTARGETDESC_H
16
17 namespace llvm {
18 class MCAsmBackend;
19 class MCContext;
20 class MCCodeEmitter;
21 class MCInstrInfo;
22 class MCSubtargetInfo;
23 class Target;
24 class StringRef;
25 class formatted_raw_ostream;
26
27 extern Target TheMBlazeTarget;
28
29 MCCodeEmitter *createMBlazeMCCodeEmitter(const MCInstrInfo &MCII,
30                                          const MCSubtargetInfo &STI,
31                                          MCContext &Ctx);
32   
33 MCAsmBackend *createMBlazeAsmBackend(const Target &T, StringRef TT);
34
35 } // End llvm namespace
36
37 // Defines symbolic names for MBlaze registers.  This defines a mapping from
38 // register name to register number.
39 #define GET_REGINFO_ENUM
40 #include "MBlazeGenRegisterInfo.inc"
41
42 // Defines symbolic names for the MBlaze instructions.
43 #define GET_INSTRINFO_ENUM
44 #include "MBlazeGenInstrInfo.inc"
45
46 #define GET_SUBTARGETINFO_ENUM
47 #include "MBlazeGenSubtargetInfo.inc"
48
49 #endif