1 //===-- ARMMCTargetDesc.h - ARM Target Descriptions -------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file provides ARM specific target descriptions.
12 //===----------------------------------------------------------------------===//
14 #ifndef ARMMCTARGETDESC_H
15 #define ARMMCTARGETDESC_H
24 class MCSubtargetInfo;
27 class TargetAsmBackend;
30 extern Target TheARMTarget, TheThumbTarget;
33 std::string ParseARMTriple(StringRef TT);
35 /// createARMMCSubtargetInfo - Create a ARM MCSubtargetInfo instance.
36 /// This is exposed so Asm parser, etc. do not need to go through
38 MCSubtargetInfo *createARMMCSubtargetInfo(StringRef TT, StringRef CPU,
42 MCCodeEmitter *createARMMCCodeEmitter(const MCInstrInfo &MCII,
43 const MCSubtargetInfo &STI,
46 TargetAsmBackend *createARMAsmBackend(const Target&, const std::string &);
48 /// createARMMachObjectWriter - Construct an ARM Mach-O object writer.
49 MCObjectWriter *createARMMachObjectWriter(raw_ostream &OS,
54 } // End llvm namespace
56 // Defines symbolic names for ARM registers. This defines a mapping from
57 // register name to register number.
59 #define GET_REGINFO_ENUM
60 #include "ARMGenRegisterInfo.inc"
62 // Defines symbolic names for the ARM instructions.
64 #define GET_INSTRINFO_ENUM
65 #include "ARMGenInstrInfo.inc"
67 #define GET_SUBTARGETINFO_ENUM
68 #include "ARMGenSubtargetInfo.inc"