You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.207
Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
parent
8e12397d70
commit
eb85e2fc17
@ -1,39 +0,0 @@
|
||||
//===-- 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 &getTheAArch64leTarget() {
|
||||
static Target TheAArch64leTarget;
|
||||
return TheAArch64leTarget;
|
||||
}
|
||||
Target &getTheAArch64beTarget() {
|
||||
static Target TheAArch64beTarget;
|
||||
return TheAArch64beTarget;
|
||||
}
|
||||
Target &getTheARM64Target() {
|
||||
static Target TheARM64Target;
|
||||
return TheARM64Target;
|
||||
}
|
||||
} // 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.
|
||||
TargetRegistry::RegisterTarget(getTheARM64Target(), "arm64",
|
||||
"ARM64 (little endian)", "AArch64",
|
||||
[](Triple::ArchType) { return false; }, true);
|
||||
|
||||
RegisterTarget<Triple::aarch64, /*HasJIT=*/true> Z(
|
||||
getTheAArch64leTarget(), "aarch64", "AArch64 (little endian)", "AArch64");
|
||||
RegisterTarget<Triple::aarch64_be, /*HasJIT=*/true> W(
|
||||
getTheAArch64beTarget(), "aarch64_be", "AArch64 (big endian)", "AArch64");
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMAArch64Info
|
||||
AArch64TargetInfo.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMAArch64Info AArch64CommonTableGen)
|
@ -1,23 +0,0 @@
|
||||
;===- ./lib/Target/AArch64/TargetInfo/LLVMBuild.txt --------------*- Conf -*--===;
|
||||
;
|
||||
; The LLVM Compiler Infrastructure
|
||||
;
|
||||
; This file is distributed under the University of Illinois Open Source
|
||||
; License. See LICENSE.TXT for details.
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
;
|
||||
; This is an LLVMBuild description file for the components in this subdirectory.
|
||||
;
|
||||
; For more information on the LLVMBuild system, please see:
|
||||
;
|
||||
; http://llvm.org/docs/LLVMBuild.html
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[component_0]
|
||||
type = Library
|
||||
name = AArch64Info
|
||||
parent = AArch64
|
||||
required_libraries = Support
|
||||
add_to_library_groups = AArch64
|
Reference in New Issue
Block a user