1 //===-- AArch64TargetInfo.cpp - AArch64 Target Implementation -------------===// 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 contains the key registration step for the architecture. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #include "AArch64.h" 15 #include "llvm/IR/Module.h" 16 #include "llvm/Support/TargetRegistry.h" 17 using namespace llvm; 18 19 Target llvm::TheAArch64Target; 20 LLVMInitializeAArch64TargetInfo()21extern "C" void LLVMInitializeAArch64TargetInfo() { 22 RegisterTarget<Triple::aarch64> 23 X(TheAArch64Target, "aarch64", "AArch64"); 24 } 25