blob: 0c2378409f423dc626a1e3432df1328202ce89b1 [file] [log] [blame]
Evan Cheng78a9f132011-07-06 22:02:34 +00001//===-- 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 Cheng94ca42f2011-07-07 00:08:19 +000017#include <string>
18
Evan Cheng78a9f132011-07-06 22:02:34 +000019namespace llvm {
20class Target;
Evan Cheng94ca42f2011-07-07 00:08:19 +000021class StringRef;
Evan Cheng78a9f132011-07-06 22:02:34 +000022
23extern Target TheARMTarget, TheThumbTarget;
Evan Cheng94ca42f2011-07-07 00:08:19 +000024
25namespace ARM_MC {
26 std::string ParseARMTriple(StringRef TT, bool &IsThumb);
27}
28
Evan Cheng78a9f132011-07-06 22:02:34 +000029} // 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