diff options
Diffstat (limited to 'lib/Target/ARM64/TargetInfo/ARM64TargetInfo.cpp')
-rw-r--r-- | lib/Target/ARM64/TargetInfo/ARM64TargetInfo.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Target/ARM64/TargetInfo/ARM64TargetInfo.cpp b/lib/Target/ARM64/TargetInfo/ARM64TargetInfo.cpp new file mode 100644 index 0000000..dec09ed --- /dev/null +++ b/lib/Target/ARM64/TargetInfo/ARM64TargetInfo.cpp @@ -0,0 +1,21 @@ +//===-- ARM64TargetInfo.cpp - ARM64 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 TheARM64Target; +} // end namespace llvm + +extern "C" void LLVMInitializeARM64TargetInfo() { + RegisterTarget<Triple::arm64, /*HasJIT=*/true> X(TheARM64Target, "arm64", + "ARM64"); +} |