1 //===-- ARM64MCTargetDesc.h - ARM64 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 ARM64 specific target descriptions.
12 //===----------------------------------------------------------------------===//
14 #ifndef ARM64MCTARGETDESC_H
15 #define ARM64MCTARGETDESC_H
17 #include "llvm/Support/DataTypes.h"
27 class MCSubtargetInfo;
32 extern Target TheARM64Target;
34 MCCodeEmitter *createARM64MCCodeEmitter(const MCInstrInfo &MCII,
35 const MCRegisterInfo &MRI,
36 const MCSubtargetInfo &STI,
38 MCAsmBackend *createARM64AsmBackend(const Target &T, const MCRegisterInfo &MRI,
39 StringRef TT, StringRef CPU);
41 MCObjectWriter *createARM64ELFObjectWriter(raw_ostream &OS, uint8_t OSABI);
43 MCObjectWriter *createARM64MachObjectWriter(raw_ostream &OS, uint32_t CPUType,
46 } // End llvm namespace
48 // Defines symbolic names for ARM64 registers. This defines a mapping from
49 // register name to register number.
51 #define GET_REGINFO_ENUM
52 #include "ARM64GenRegisterInfo.inc"
54 // Defines symbolic names for the ARM64 instructions.
56 #define GET_INSTRINFO_ENUM
57 #include "ARM64GenInstrInfo.inc"
59 #define GET_SUBTARGETINFO_ENUM
60 #include "ARM64GenSubtargetInfo.inc"