Factor ARM triple parsing out of ARMSubtarget. Another step towards making ARM subtar...
[oota-llvm.git] / lib / Target / ARM / MCTargetDesc / ARMMCTargetDesc.h
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
17 #include <string>
18
19 namespace llvm {
20 class Target;
21 class StringRef;
22
23 extern Target TheARMTarget, TheThumbTarget;
24
25 namespace ARM_MC {
26   std::string ParseARMTriple(StringRef TT, bool &IsThumb);
27 }
28
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