forked from OSchip/llvm-project
parent
a77c3f7010
commit
03dfca04df
|
@ -15,7 +15,7 @@ using namespace llvm;
|
|||
Target llvm::TheARMLETarget, llvm::TheARMBETarget;
|
||||
Target llvm::TheThumbLETarget, llvm::TheThumbBETarget;
|
||||
|
||||
extern "C" void LLVMInitializeARMTargetInfo() {
|
||||
extern "C" void LLVMInitializeARMTargetInfo() {
|
||||
RegisterTarget<Triple::arm, /*HasJIT=*/true>
|
||||
X(TheARMLETarget, "arm", "ARM");
|
||||
RegisterTarget<Triple::armeb, /*HasJIT=*/true>
|
||||
|
|
|
@ -20,8 +20,8 @@ static bool CppBackend_TripleMatchQuality(Triple::ArchType Arch) {
|
|||
return false;
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializeCppBackendTargetInfo() {
|
||||
TargetRegistry::RegisterTarget(TheCppBackendTarget, "cpp",
|
||||
extern "C" void LLVMInitializeCppBackendTargetInfo() {
|
||||
TargetRegistry::RegisterTarget(TheCppBackendTarget, "cpp",
|
||||
"C++ backend",
|
||||
&CppBackend_TripleMatchQuality);
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ using namespace llvm;
|
|||
|
||||
Target llvm::ThePPC32Target, llvm::ThePPC64Target, llvm::ThePPC64LETarget;
|
||||
|
||||
extern "C" void LLVMInitializePowerPCTargetInfo() {
|
||||
extern "C" void LLVMInitializePowerPCTargetInfo() {
|
||||
RegisterTarget<Triple::ppc, /*HasJIT=*/true>
|
||||
X(ThePPC32Target, "ppc32", "PowerPC 32");
|
||||
|
||||
|
|
|
@ -14,6 +14,6 @@ using namespace llvm;
|
|||
|
||||
Target llvm::TheXCoreTarget;
|
||||
|
||||
extern "C" void LLVMInitializeXCoreTargetInfo() {
|
||||
extern "C" void LLVMInitializeXCoreTargetInfo() {
|
||||
RegisterTarget<Triple::xcore> X(TheXCoreTarget, "xcore", "XCore");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue