1 //===-- AArch64MCTargetDesc.h - AArch64 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 AArch64 specific target descriptions.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_AARCH64MCTARGETDESC_H
15 #define LLVM_AARCH64MCTARGETDESC_H
17 #include "llvm/Support/DataTypes.h"
26 class MCSubtargetInfo;
31 extern Target TheAArch64Target;
33 namespace AArch64_MC {
34 MCSubtargetInfo *createAArch64MCSubtargetInfo(StringRef TT, StringRef CPU,
38 MCCodeEmitter *createAArch64MCCodeEmitter(const MCInstrInfo &MCII,
39 const MCRegisterInfo &MRI,
40 const MCSubtargetInfo &STI,
43 MCObjectWriter *createAArch64ELFObjectWriter(raw_ostream &OS,
46 MCAsmBackend *createAArch64AsmBackend(const Target &T, StringRef TT,
49 } // End llvm namespace
51 // Defines symbolic names for AArch64 registers. This defines a mapping from
52 // register name to register number.
54 #define GET_REGINFO_ENUM
55 #include "AArch64GenRegisterInfo.inc"
57 // Defines symbolic names for the AArch64 instructions.
59 #define GET_INSTRINFO_ENUM
60 #include "AArch64GenInstrInfo.inc"
62 #define GET_SUBTARGETINFO_ENUM
63 #include "AArch64GenSubtargetInfo.inc"