mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
There really is no arm64_be: it was a useful fiction to test big-endian support while both backends existed in parallel, but now the only platform that uses the name (iOS) doesn't have a big-endian variant, let alone one called "arm64_be". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213748 91177308-0d34-0410-b5e6-96231b3b80d8
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
//===-- 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 TheARM64Target;
|
|
} // end namespace llvm
|
|
|
|
extern "C" void LLVMInitializeAArch64TargetInfo() {
|
|
// Now register the "arm64" name for use with "-march". We don't want it to
|
|
// take possession of the Triple::aarch64 tag though.
|
|
RegisterTarget<Triple::UnknownArch, /*HasJIT=*/true> X(
|
|
TheARM64Target, "arm64", "ARM64 (little 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)");
|
|
|
|
}
|