blob: cb817c26260a971c70ffb0416fdc4b18fe46d175 [file] [log] [blame]
James Molloy8c545332011-08-30 07:23:29 +00001//===-- MipsMCTargetDesc.h - Mips Target Descriptions -----------*- C++ -*-===//
Evan Chengbc153d42011-07-14 20:59:42 +00002//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
James Molloy8c545332011-08-30 07:23:29 +000010// This file provides Mips specific target descriptions.
Evan Chengbc153d42011-07-14 20:59:42 +000011//
12//===----------------------------------------------------------------------===//
13
James Molloy8c545332011-08-30 07:23:29 +000014#ifndef MIPSMCTARGETDESC_H
15#define MIPSMCTARGETDESC_H
Evan Chengbc153d42011-07-14 20:59:42 +000016
17namespace llvm {
Akira Hatanaka750ecec2011-09-30 20:40:03 +000018class MCInstrInfo;
19class MCCodeEmitter;
20class MCContext;
Evan Chengbc153d42011-07-14 20:59:42 +000021class MCSubtargetInfo;
Evan Chengbc153d42011-07-14 20:59:42 +000022class StringRef;
Akira Hatanaka750ecec2011-09-30 20:40:03 +000023class Target;
Evan Chengbc153d42011-07-14 20:59:42 +000024
25extern Target TheMipsTarget;
26extern Target TheMipselTarget;
Akira Hatanaka3d673cc2011-09-21 03:00:58 +000027extern Target TheMips64Target;
28extern Target TheMips64elTarget;
Evan Chengbc153d42011-07-14 20:59:42 +000029
Akira Hatanaka750ecec2011-09-30 20:40:03 +000030MCCodeEmitter *createMipsMCCodeEmitter(const MCInstrInfo &MCII,
31 const MCSubtargetInfo &STI,
32 MCContext &Ctx);
Evan Chengbc153d42011-07-14 20:59:42 +000033} // End llvm namespace
34
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"
39
40// Defines symbolic names for the Mips instructions.
41#define GET_INSTRINFO_ENUM
42#include "MipsGenInstrInfo.inc"
43
44#define GET_SUBTARGETINFO_ENUM
45#include "MipsGenSubtargetInfo.inc"
46
47#endif