1 //===-- MBlazeMCTargetDesc.h - MBlaze Target Descriptions -------*- 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 provides MBlaze specific target descriptions.
12 //===----------------------------------------------------------------------===//
14 #ifndef MBLAZEMCTARGETDESC_H
15 #define MBLAZEMCTARGETDESC_H
23 class MCSubtargetInfo;
25 class TargetAsmBackend;
27 class formatted_raw_ostream;
29 extern Target TheMBlazeTarget;
31 MCCodeEmitter *createMBlazeMCCodeEmitter(const MCInstrInfo &MCII,
32 const MCSubtargetInfo &STI,
35 TargetAsmBackend *createMBlazeAsmBackend(const Target &, const std::string &);
37 } // End llvm namespace
39 // Defines symbolic names for MBlaze registers. This defines a mapping from
40 // register name to register number.
41 #define GET_REGINFO_ENUM
42 #include "MBlazeGenRegisterInfo.inc"
44 // Defines symbolic names for the MBlaze instructions.
45 #define GET_INSTRINFO_ENUM
46 #include "MBlazeGenInstrInfo.inc"
48 #define GET_SUBTARGETINFO_ENUM
49 #include "MBlazeGenSubtargetInfo.inc"