Evan Cheng | 78a9f13 | 2011-07-06 22:02:34 +0000 | [diff] [blame] | 1 | //===-- ARMMCTargetDesc.h - ARM Target Descriptions -------------*- C++ -*-===// |
| 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 | // |
| 10 | // This file provides ARM specific target descriptions. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef ARMMCTARGETDESC_H |
| 15 | #define ARMMCTARGETDESC_H |
| 16 | |
Evan Cheng | 94ca42f | 2011-07-07 00:08:19 +0000 | [diff] [blame^] | 17 | #include <string> |
| 18 | |
Evan Cheng | 78a9f13 | 2011-07-06 22:02:34 +0000 | [diff] [blame] | 19 | namespace llvm { |
| 20 | class Target; |
Evan Cheng | 94ca42f | 2011-07-07 00:08:19 +0000 | [diff] [blame^] | 21 | class StringRef; |
Evan Cheng | 78a9f13 | 2011-07-06 22:02:34 +0000 | [diff] [blame] | 22 | |
| 23 | extern Target TheARMTarget, TheThumbTarget; |
Evan Cheng | 94ca42f | 2011-07-07 00:08:19 +0000 | [diff] [blame^] | 24 | |
| 25 | namespace ARM_MC { |
| 26 | std::string ParseARMTriple(StringRef TT, bool &IsThumb); |
| 27 | } |
| 28 | |
Evan Cheng | 78a9f13 | 2011-07-06 22:02:34 +0000 | [diff] [blame] | 29 | } // End llvm namespace |
| 30 | |
| 31 | // Defines symbolic names for ARM registers. This defines a mapping from |
| 32 | // register name to register number. |
| 33 | // |
| 34 | #define GET_REGINFO_ENUM |
| 35 | #include "ARMGenRegisterInfo.inc" |
| 36 | |
| 37 | // Defines symbolic names for the ARM instructions. |
| 38 | // |
| 39 | #define GET_INSTRINFO_ENUM |
| 40 | #include "ARMGenInstrInfo.inc" |
| 41 | |
| 42 | #endif |