blob: 760cfcbfdb0ba07c46630b8496c48f2121a82281 [file] [log] [blame]
James Molloyafaf80a2011-08-30 07:23:29 +00001//===-- MipsMCTargetDesc.h - Mips Target Descriptions -----------*- C++ -*-===//
Evan Chengc60f9b72011-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 Molloyafaf80a2011-08-30 07:23:29 +000010// This file provides Mips specific target descriptions.
Evan Chengc60f9b72011-07-14 20:59:42 +000011//
12//===----------------------------------------------------------------------===//
13
James Molloyafaf80a2011-08-30 07:23:29 +000014#ifndef MIPSMCTARGETDESC_H
15#define MIPSMCTARGETDESC_H
Evan Chengc60f9b72011-07-14 20:59:42 +000016
17namespace llvm {
18class MCSubtargetInfo;
19class Target;
20class StringRef;
21
22extern Target TheMipsTarget;
23extern Target TheMipselTarget;
24
25} // End llvm namespace
26
27// Defines symbolic names for Mips registers. This defines a mapping from
28// register name to register number.
29#define GET_REGINFO_ENUM
30#include "MipsGenRegisterInfo.inc"
31
32// Defines symbolic names for the Mips instructions.
33#define GET_INSTRINFO_ENUM
34#include "MipsGenInstrInfo.inc"
35
36#define GET_SUBTARGETINFO_ENUM
37#include "MipsGenSubtargetInfo.inc"
38
39#endif