1//===-- AArch64MCTargetDesc.h - AArch64 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 AArch64 specific target descriptions. 11// 12//===----------------------------------------------------------------------===// 13 14#ifndef LLVM_AARCH64MCTARGETDESC_H 15#define LLVM_AARCH64MCTARGETDESC_H 16 17#include "llvm/Support/DataTypes.h" 18 19namespace llvm { 20class MCAsmBackend; 21class MCCodeEmitter; 22class MCContext; 23class MCInstrInfo; 24class MCObjectWriter; 25class MCRegisterInfo; 26class MCSubtargetInfo; 27class StringRef; 28class Target; 29class raw_ostream; 30 31extern Target TheAArch64Target; 32 33namespace AArch64_MC { 34 MCSubtargetInfo *createAArch64MCSubtargetInfo(StringRef TT, StringRef CPU, 35 StringRef FS); 36} 37 38MCCodeEmitter *createAArch64MCCodeEmitter(const MCInstrInfo &MCII, 39 const MCRegisterInfo &MRI, 40 const MCSubtargetInfo &STI, 41 MCContext &Ctx); 42 43MCObjectWriter *createAArch64ELFObjectWriter(raw_ostream &OS, 44 uint8_t OSABI); 45 46MCAsmBackend *createAArch64AsmBackend(const Target &T, StringRef TT, 47 StringRef CPU); 48 49} // End llvm namespace 50 51// Defines symbolic names for AArch64 registers. This defines a mapping from 52// register name to register number. 53// 54#define GET_REGINFO_ENUM 55#include "AArch64GenRegisterInfo.inc" 56 57// Defines symbolic names for the AArch64 instructions. 58// 59#define GET_INSTRINFO_ENUM 60#include "AArch64GenInstrInfo.inc" 61 62#define GET_SUBTARGETINFO_ENUM 63#include "AArch64GenSubtargetInfo.inc" 64 65#endif 66