Index: src/IceTargetLoweringMIPS32.cpp |
diff --git a/src/IceTargetLoweringMIPS32.cpp b/src/IceTargetLoweringMIPS32.cpp |
index 391a4e94704869f0b80175024607f2247ec674d9..9b9b19c77bccf124d47c3bd35db51afcdef03b2c 100644 |
--- a/src/IceTargetLoweringMIPS32.cpp |
+++ b/src/IceTargetLoweringMIPS32.cpp |
@@ -30,6 +30,24 @@ |
#include "IceUtils.h" |
#include "llvm/Support/MathExtras.h" |
+namespace MIPS32 { |
+std::unique_ptr<::Ice::TargetLowering> createTargetLowering(::Ice::Cfg *Func) { |
+ return ::Ice::TargetMIPS32::create(Func); |
+} |
+ |
+std::unique_ptr<::Ice::TargetDataLowering> |
+createTargetDataLowering(::Ice::GlobalContext *Ctx) { |
+ return ::Ice::TargetDataMIPS32::create(Ctx); |
+} |
+ |
+std::unique_ptr<::Ice::TargetHeaderLowering> |
+createTargetHeaderLowering(::Ice::GlobalContext *Ctx) { |
+ return ::Ice::TargetHeaderMIPS32::create(Ctx); |
+} |
+ |
+void staticInit() { ::Ice::TargetMIPS32::staticInit(); } |
+} // end of namespace MIPS32 |
+ |
namespace Ice { |
using llvm::isInt; |