[llvm-commits] [polly] r138400 - in /polly/trunk: include/polly/LinkAllPasses.h lib/Analysis/ScopDetection.cpp lib/Analysis/TempScopInfo.cpp

Tobias Grosser grosser at fim.uni-passau.de
Tue Aug 23 15:35:08 PDT 2011


Author: grosser
Date: Tue Aug 23 17:35:08 2011
New Revision: 138400

URL: http://llvm.org/viewvc/llvm-project?rev=138400&view=rev
Log:
Add some forgotten passes to LinkAllPasses

Modified:
    polly/trunk/include/polly/LinkAllPasses.h
    polly/trunk/lib/Analysis/ScopDetection.cpp
    polly/trunk/lib/Analysis/TempScopInfo.cpp

Modified: polly/trunk/include/polly/LinkAllPasses.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/LinkAllPasses.h?rev=138400&r1=138399&r2=138400&view=diff
==============================================================================
--- polly/trunk/include/polly/LinkAllPasses.h (original)
+++ polly/trunk/include/polly/LinkAllPasses.h Tue Aug 23 17:35:08 2011
@@ -41,8 +41,10 @@
   Pass *createJSONExporterPass();
   Pass *createJSONImporterPass();
   Pass *createRegionSimplifyPass();
+  Pass *createScopDetectionPass();
   Pass *createScopInfoPass();
   Pass *createScheduleOptimizerPass();
+  Pass *createTempScopInfoPass();
 
 #ifdef OPENSCOP_FOUND
   Pass *createScopExporterPass();
@@ -85,8 +87,10 @@
        createJSONExporterPass();
        createJSONImporterPass();
        createRegionSimplifyPass();
+       createScopDetectionPass();
        createScopInfoPass();
        createScheduleOptimizerPass();
+       createTempScopInfoPass();
 
 #ifdef OPENSCOP_FOUND
        createScopExporterPass();

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=138400&r1=138399&r2=138400&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Tue Aug 23 17:35:08 2011
@@ -653,3 +653,6 @@
 static RegisterPass<ScopDetection>
 X("polly-detect", "Polly - Detect Scops in functions");
 
+Pass *polly::createScopDetectionPass() {
+  return new ScopDetection();
+}

Modified: polly/trunk/lib/Analysis/TempScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/TempScopInfo.cpp?rev=138400&r1=138399&r2=138400&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/TempScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/TempScopInfo.cpp Tue Aug 23 17:35:08 2011
@@ -460,3 +460,6 @@
 static RegisterPass<TempScopInfo>
 X("polly-analyze-ir", "Polly - Analyse the LLVM-IR in the detected regions");
 
+Pass *polly::createTempScopInfoPass() {
+  return new TempScopInfo();
+}





More information about the llvm-commits mailing list