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 AArch64MCTARGETDESC_H
15 #define AArch64MCTARGETDESC_H
17 #include "llvm/Support/DataTypes.h"
27 class MCSubtargetInfo;
32 extern Target TheAArch64leTarget;
33 extern Target TheAArch64beTarget;
34 extern Target TheARM64leTarget;
35 extern Target TheARM64beTarget;
37 MCCodeEmitter *createAArch64MCCodeEmitter(const MCInstrInfo &MCII,
38 const MCRegisterInfo &MRI,
39 const MCSubtargetInfo &STI,
41 MCAsmBackend *createAArch64leAsmBackend(const Target &T,
42 const MCRegisterInfo &MRI, StringRef TT,
44 MCAsmBackend *createAArch64beAsmBackend(const Target &T,
45 const MCRegisterInfo &MRI, StringRef TT,
48 MCObjectWriter *createAArch64ELFObjectWriter(raw_ostream &OS, uint8_t OSABI,
51 MCObjectWriter *createAArch64MachObjectWriter(raw_ostream &OS, uint32_t CPUType,
54 } // End llvm namespace
56 // Defines symbolic names for AArch64 registers. This defines a mapping from
57 // register name to register number.
59 #define GET_REGINFO_ENUM
60 #include "AArch64GenRegisterInfo.inc"
62 // Defines symbolic names for the AArch64 instructions.
64 #define GET_INSTRINFO_ENUM
65 #include "AArch64GenInstrInfo.inc"
67 #define GET_SUBTARGETINFO_ENUM
68 #include "AArch64GenSubtargetInfo.inc"