Mercurial > hg > Members > tobaru > cbc > CbC_llvm
comparison lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp @ 120:1172e4bd9c6f
update 4.0.0
author | mir3636 |
---|---|
date | Fri, 25 Nov 2016 19:14:25 +0900 |
parents | 95c75e76d11b |
children |
comparison
equal
deleted
inserted
replaced
101:34baf5011add | 120:1172e4bd9c6f |
---|---|
10 #include "SystemZ.h" | 10 #include "SystemZ.h" |
11 #include "llvm/Support/TargetRegistry.h" | 11 #include "llvm/Support/TargetRegistry.h" |
12 | 12 |
13 using namespace llvm; | 13 using namespace llvm; |
14 | 14 |
15 Target llvm::TheSystemZTarget; | 15 Target &llvm::getTheSystemZTarget() { |
16 static Target TheSystemZTarget; | |
17 return TheSystemZTarget; | |
18 } | |
16 | 19 |
17 extern "C" void LLVMInitializeSystemZTargetInfo() { | 20 extern "C" void LLVMInitializeSystemZTargetInfo() { |
18 RegisterTarget<Triple::systemz, /*HasJIT=*/true> | 21 RegisterTarget<Triple::systemz, /*HasJIT=*/true> X(getTheSystemZTarget(), |
19 X(TheSystemZTarget, "systemz", "SystemZ"); | 22 "systemz", "SystemZ"); |
20 } | 23 } |