James Molloy | afaf80a | 2011-08-30 07:23:29 +0000 | [diff] [blame] | 1 | //===-- MipsMCTargetDesc.h - Mips Target Descriptions -----------*- C++ -*-===// |
Evan Cheng | c60f9b7 | 2011-07-14 20:59:42 +0000 | [diff] [blame] | 2 | // |
| 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 Molloy | afaf80a | 2011-08-30 07:23:29 +0000 | [diff] [blame] | 10 | // This file provides Mips specific target descriptions. |
Evan Cheng | c60f9b7 | 2011-07-14 20:59:42 +0000 | [diff] [blame] | 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
James Molloy | afaf80a | 2011-08-30 07:23:29 +0000 | [diff] [blame] | 14 | #ifndef MIPSMCTARGETDESC_H |
| 15 | #define MIPSMCTARGETDESC_H |
Evan Cheng | c60f9b7 | 2011-07-14 20:59:42 +0000 | [diff] [blame] | 16 | |
| 17 | namespace llvm { |
| 18 | class MCSubtargetInfo; |
| 19 | class Target; |
| 20 | class StringRef; |
| 21 | |
| 22 | extern Target TheMipsTarget; |
| 23 | extern 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 |