1 //===-- MipsMCTargetDesc.h - Mips 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 Mips specific target descriptions.
12 //===----------------------------------------------------------------------===//
14 #ifndef MIPSMCTARGETDESC_H
15 #define MIPSMCTARGETDESC_H
23 class MCSubtargetInfo;
28 extern Target TheMipsTarget;
29 extern Target TheMipselTarget;
30 extern Target TheMips64Target;
31 extern Target TheMips64elTarget;
33 MCCodeEmitter *createMipsMCCodeEmitter(const MCInstrInfo &MCII,
34 const MCSubtargetInfo &STI,
37 MCAsmBackend *createMipsAsmBackend(const Target &T, StringRef TT);
39 } // End llvm namespace
41 // Defines symbolic names for Mips registers. This defines a mapping from
42 // register name to register number.
43 #define GET_REGINFO_ENUM
44 #include "MipsGenRegisterInfo.inc"
46 // Defines symbolic names for the Mips instructions.
47 #define GET_INSTRINFO_ENUM
48 #include "MipsGenInstrInfo.inc"
50 #define GET_SUBTARGETINFO_ENUM
51 #include "MipsGenSubtargetInfo.inc"