You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
3
external/llvm/lib/Target/Mips/TargetInfo/CMakeLists.txt
vendored
Normal file
3
external/llvm/lib/Target/Mips/TargetInfo/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
add_llvm_library(LLVMMipsInfo
|
||||
MipsTargetInfo.cpp
|
||||
)
|
23
external/llvm/lib/Target/Mips/TargetInfo/LLVMBuild.txt
vendored
Normal file
23
external/llvm/lib/Target/Mips/TargetInfo/LLVMBuild.txt
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
;===- ./lib/Target/Mips/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 = MipsInfo
|
||||
parent = Mips
|
||||
required_libraries = Support
|
||||
add_to_library_groups = Mips
|
48
external/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
vendored
Normal file
48
external/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
//===-- MipsTargetInfo.cpp - Mips Target Implementation -------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "Mips.h"
|
||||
#include "llvm/IR/Module.h"
|
||||
#include "llvm/Support/TargetRegistry.h"
|
||||
using namespace llvm;
|
||||
|
||||
Target &llvm::getTheMipsTarget() {
|
||||
static Target TheMipsTarget;
|
||||
return TheMipsTarget;
|
||||
}
|
||||
Target &llvm::getTheMipselTarget() {
|
||||
static Target TheMipselTarget;
|
||||
return TheMipselTarget;
|
||||
}
|
||||
Target &llvm::getTheMips64Target() {
|
||||
static Target TheMips64Target;
|
||||
return TheMips64Target;
|
||||
}
|
||||
Target &llvm::getTheMips64elTarget() {
|
||||
static Target TheMips64elTarget;
|
||||
return TheMips64elTarget;
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializeMipsTargetInfo() {
|
||||
RegisterTarget<Triple::mips,
|
||||
/*HasJIT=*/true>
|
||||
X(getTheMipsTarget(), "mips", "Mips", "Mips");
|
||||
|
||||
RegisterTarget<Triple::mipsel,
|
||||
/*HasJIT=*/true>
|
||||
Y(getTheMipselTarget(), "mipsel", "Mipsel", "Mips");
|
||||
|
||||
RegisterTarget<Triple::mips64,
|
||||
/*HasJIT=*/true>
|
||||
A(getTheMips64Target(), "mips64", "Mips64 [experimental]", "Mips");
|
||||
|
||||
RegisterTarget<Triple::mips64el,
|
||||
/*HasJIT=*/true>
|
||||
B(getTheMips64elTarget(), "mips64el", "Mips64el [experimental]", "Mips");
|
||||
}
|
Reference in New Issue
Block a user