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
17 #include "llvm/Support/DataTypes.h"
25 class MCSubtargetInfo;
30 extern Target TheMBlazeTarget;
32 MCCodeEmitter *createMBlazeMCCodeEmitter(const MCInstrInfo &MCII,
33 const MCSubtargetInfo &STI,
36 MCAsmBackend *createMBlazeAsmBackend(const Target &T, StringRef TT);
38 MCObjectWriter *createMBlazeELFObjectWriter(raw_ostream &OS, uint8_t OSABI);
39 } // End llvm namespace
41 // Defines symbolic names for MBlaze registers. This defines a mapping from
42 // register name to register number.
43 #define GET_REGINFO_ENUM
44 #include "MBlazeGenRegisterInfo.inc"
46 // Defines symbolic names for the MBlaze instructions.
47 #define GET_INSTRINFO_ENUM
48 #include "MBlazeGenInstrInfo.inc"
50 #define GET_SUBTARGETINFO_ENUM
51 #include "MBlazeGenSubtargetInfo.inc"