summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Simbuerger <simbuerg@fim.uni-passau.de>2014-03-11 21:26:06 +0000
committerAndreas Simbuerger <simbuerg@fim.uni-passau.de>2014-03-11 21:26:06 +0000
commit8dbe338fb1dbb1fff781b92ca369751c80a6fc90 (patch)
tree4cb5bd0d09474732ac751d5df1db4d0d24885345
parent7f97f8cb0fbdc0583be1d7486e14417c05cbd70b (diff)
downloadbcm5719-llvm-8dbe338fb1dbb1fff781b92ca369751c80a6fc90.tar.gz
bcm5719-llvm-8dbe338fb1dbb1fff781b92ca369751c80a6fc90.zip
Refactor Polly's Pass creation and initialization.
Rename some files and adjust cmake accordingly llvm-svn: 203609
-rw-r--r--polly/lib/CMakeLists.txt4
-rw-r--r--polly/lib/Polly.cpp (renamed from polly/lib/PollyModule.cpp)2
-rw-r--r--polly/lib/Support/RegisterPasses.cpp (renamed from polly/lib/RegisterPasses.cpp)0
3 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/CMakeLists.txt b/polly/lib/CMakeLists.txt
index e9c76228007..3e30c728765 100644
--- a/polly/lib/CMakeLists.txt
+++ b/polly/lib/CMakeLists.txt
@@ -43,7 +43,6 @@ if (SCOPLIB_FOUND)
endif (SCOPLIB_FOUND)
add_polly_library(Polly
- RegisterPasses.cpp
Analysis/Dependences.cpp
Analysis/ScopDetection.cpp
Analysis/ScopInfo.cpp
@@ -61,6 +60,7 @@ add_polly_library(Polly
${POLLY_SCOPLIB_FILES}
Support/GICHelper.cpp
Support/SCEVValidator.cpp
+ Support/RegisterPasses.cpp
Support/ScopHelper.cpp
${POLLY_JSON_FILES}
${POLLY_OPENSCOP_FILES}
@@ -75,7 +75,7 @@ add_polly_library(Polly
)
add_polly_loadable_module(LLVMPolly
- PollyModule.cpp
+ Polly.cpp
)
if (TARGET intrinsics_gen)
diff --git a/polly/lib/PollyModule.cpp b/polly/lib/Polly.cpp
index 75ea8ba7580..5aba051bfbf 100644
--- a/polly/lib/PollyModule.cpp
+++ b/polly/lib/Polly.cpp
@@ -1,4 +1,4 @@
-//===------ ModuleInitializers.cpp - Initialize the Polly Module ----------===//
+//===---------- Polly.cpp - Initialize the Polly Module -------------------===//
//
// The LLVM Compiler Infrastructure
//
diff --git a/polly/lib/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp
index 6d70079bf07..6d70079bf07 100644
--- a/polly/lib/RegisterPasses.cpp
+++ b/polly/lib/Support/RegisterPasses.cpp
OpenPOWER on IntegriCloud