AArch64TargetInfo.cpp revision 263508
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" 17using namespace llvm; 18 19Target llvm::TheAArch64Target; 20 21extern "C" void LLVMInitializeAArch64TargetInfo() { 22 RegisterTarget<Triple::aarch64, /*HasJIT=*/true> 23 X(TheAArch64Target, "aarch64", "AArch64 (ARM 64-bit target)"); 24} 25