You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
41
external/llvm/lib/Target/ARM/TargetInfo/ARMTargetInfo.cpp
vendored
Normal file
41
external/llvm/lib/Target/ARM/TargetInfo/ARMTargetInfo.cpp
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
//===-- ARMTargetInfo.cpp - ARM Target Implementation ---------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "MCTargetDesc/ARMMCTargetDesc.h"
|
||||
#include "llvm/Support/TargetRegistry.h"
|
||||
using namespace llvm;
|
||||
|
||||
Target &llvm::getTheARMLETarget() {
|
||||
static Target TheARMLETarget;
|
||||
return TheARMLETarget;
|
||||
}
|
||||
Target &llvm::getTheARMBETarget() {
|
||||
static Target TheARMBETarget;
|
||||
return TheARMBETarget;
|
||||
}
|
||||
Target &llvm::getTheThumbLETarget() {
|
||||
static Target TheThumbLETarget;
|
||||
return TheThumbLETarget;
|
||||
}
|
||||
Target &llvm::getTheThumbBETarget() {
|
||||
static Target TheThumbBETarget;
|
||||
return TheThumbBETarget;
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializeARMTargetInfo() {
|
||||
RegisterTarget<Triple::arm, /*HasJIT=*/true> X(getTheARMLETarget(), "arm",
|
||||
"ARM", "ARM");
|
||||
RegisterTarget<Triple::armeb, /*HasJIT=*/true> Y(getTheARMBETarget(), "armeb",
|
||||
"ARM (big endian)", "ARM");
|
||||
|
||||
RegisterTarget<Triple::thumb, /*HasJIT=*/true> A(getTheThumbLETarget(),
|
||||
"thumb", "Thumb", "ARM");
|
||||
RegisterTarget<Triple::thumbeb, /*HasJIT=*/true> B(
|
||||
getTheThumbBETarget(), "thumbeb", "Thumb (big endian)", "ARM");
|
||||
}
|
3
external/llvm/lib/Target/ARM/TargetInfo/CMakeLists.txt
vendored
Normal file
3
external/llvm/lib/Target/ARM/TargetInfo/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
add_llvm_library(LLVMARMInfo
|
||||
ARMTargetInfo.cpp
|
||||
)
|
23
external/llvm/lib/Target/ARM/TargetInfo/LLVMBuild.txt
vendored
Normal file
23
external/llvm/lib/Target/ARM/TargetInfo/LLVMBuild.txt
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
;===- ./lib/Target/ARM/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 = ARMInfo
|
||||
parent = ARM
|
||||
required_libraries = Support
|
||||
add_to_library_groups = ARM
|
Reference in New Issue
Block a user