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
21 class MCSubtargetInfo;
25 extern Target TheMipsTarget;
26 extern Target TheMipselTarget;
27 extern Target TheMips64Target;
28 extern Target TheMips64elTarget;
30 MCCodeEmitter *createMipsMCCodeEmitter(const MCInstrInfo &MCII,
31 const MCSubtargetInfo &STI,
33 } // End llvm namespace
35 // Defines symbolic names for Mips registers. This defines a mapping from
36 // register name to register number.
37 #define GET_REGINFO_ENUM
38 #include "MipsGenRegisterInfo.inc"
40 // Defines symbolic names for the Mips instructions.
41 #define GET_INSTRINFO_ENUM
42 #include "MipsGenInstrInfo.inc"
44 #define GET_SUBTARGETINFO_ENUM
45 #include "MipsGenSubtargetInfo.inc"