//===-- AArch64TargetInfo.cpp - AArch64 Target Implementation -----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #include "llvm/ADT/Triple.h" #include "llvm/Support/TargetRegistry.h" using namespace llvm; namespace llvm { Target TheAArch64leTarget; Target TheAArch64beTarget; Target TheARM64leTarget; Target TheARM64beTarget; } // end namespace llvm extern "C" void LLVMInitializeAArch64TargetInfo() { RegisterTarget<Triple::arm64, /*HasJIT=*/true> X(TheARM64leTarget, "arm64", "AArch64 (little endian)"); RegisterTarget<Triple::arm64_be, /*HasJIT=*/true> Y(TheARM64beTarget, "arm64_be", "AArch64 (big endian)"); RegisterTarget<Triple::aarch64, /*HasJIT=*/true> Z( TheAArch64leTarget, "aarch64", "AArch64 (little endian)"); RegisterTarget<Triple::aarch64_be, /*HasJIT=*/true> W( TheAArch64beTarget, "aarch64_be", "AArch64 (big endian)"); }