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
17 #include "llvm/Support/DataTypes.h"
25 class MCSubtargetInfo;
30 extern Target TheMipsTarget;
31 extern Target TheMipselTarget;
32 extern Target TheMips64Target;
33 extern Target TheMips64elTarget;
35 MCCodeEmitter *createMipsMCCodeEmitterEB(const MCInstrInfo &MCII,
36 const MCSubtargetInfo &STI,
38 MCCodeEmitter *createMipsMCCodeEmitterEL(const MCInstrInfo &MCII,
39 const MCSubtargetInfo &STI,
42 MCAsmBackend *createMipsAsmBackendEB(const Target &T, StringRef TT);
43 MCAsmBackend *createMipsAsmBackendEL(const Target &T, StringRef TT);
45 MCObjectWriter *createMipsELFObjectWriter(raw_ostream &OS,
48 } // End llvm namespace
50 // Defines symbolic names for Mips registers. This defines a mapping from
51 // register name to register number.
52 #define GET_REGINFO_ENUM
53 #include "MipsGenRegisterInfo.inc"
55 // Defines symbolic names for the Mips instructions.
56 #define GET_INSTRINFO_ENUM
57 #include "MipsGenInstrInfo.inc"
59 #define GET_SUBTARGETINFO_ENUM
60 #include "MipsGenSubtargetInfo.inc"