mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-20 12:31:40 +00:00
57683b8aba
This completes the porting of r202024 (cpirker "Add AArch64 big endian Target (aarch64_be)") to ARM64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206965 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
895 B
C++
25 lines
895 B
C++
//===-- 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 TheARM64leTarget;
|
|
Target TheARM64beTarget;
|
|
} // end namespace llvm
|
|
|
|
extern "C" void LLVMInitializeARM64TargetInfo() {
|
|
RegisterTarget<Triple::arm64, /*HasJIT=*/true> X(TheARM64leTarget, "arm64",
|
|
"ARM64 (little endian)");
|
|
RegisterTarget<Triple::arm64_be, /*HasJIT=*/true> Y(TheARM64beTarget, "arm64_be",
|
|
"ARM64 (big endian)");
|
|
}
|