[llvm-commits] [polly] r155446 - in /polly/trunk: lib/RegisterPasses.cpp www/example_load_Polly_into_clang.html

Tobias Grosser grosser at fim.uni-passau.de
Tue Apr 24 09:12:34 PDT 2012


Author: grosser
Date: Tue Apr 24 11:12:34 2012
New Revision: 155446

URL: http://llvm.org/viewvc/llvm-project?rev=155446&view=rev
Log:
Simplify import/export command line flags.

Instead of -polly-run-import-jscop and -polly-run-export-jscop, we just use
-polly-import and -polly-export.

Modified:
    polly/trunk/lib/RegisterPasses.cpp
    polly/trunk/www/example_load_Polly_into_clang.html

Modified: polly/trunk/lib/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/RegisterPasses.cpp?rev=155446&r1=155445&r2=155446&view=diff
==============================================================================
--- polly/trunk/lib/RegisterPasses.cpp (original)
+++ polly/trunk/lib/RegisterPasses.cpp Tue Apr 24 11:12:34 2012
@@ -62,17 +62,14 @@
           cl::Hidden, cl::init(OPTIMIZER_ISL), cl::ZeroOrMore);
 
 static cl::opt<bool>
-ImportJScop("polly-run-import-jscop",
-            cl::desc("Export the JScop description of the detected Scops"),
+ImportJScop("polly-import",
+            cl::desc("Export the polyhedral description of the detected Scops"),
             cl::Hidden, cl::init(false), cl::ZeroOrMore);
 static cl::opt<bool>
-ExportJScop("polly-run-export-jscop",
-            cl::desc("Export the JScop description of the detected Scops"),
-            cl::Hidden, cl::init(false), cl::ZeroOrMore);
-static cl::opt<bool>
-ExportCLooG("polly-run-export-cloog",
-            cl::desc("Export the CLooG input files for the detected Scops"),
+ExportJScop("polly-export",
+            cl::desc("Export the polyhedral description of the detected Scops"),
             cl::Hidden, cl::init(false), cl::ZeroOrMore);
+
 static cl::opt<bool>
 PollyViewer("polly-show",
        cl::desc("Enable the Polly DOT viewer in -O3"), cl::Hidden,
@@ -213,9 +210,6 @@
   if (ExportJScop)
     PM.add(polly::createJSONExporterPass());
 
-  if (ExportCLooG)
-    PM.add(polly::createCloogExporterPass());
-
   if (RunCodegen)
     PM.add(polly::createCodeGenerationPass());
 

Modified: polly/trunk/www/example_load_Polly_into_clang.html
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/example_load_Polly_into_clang.html?rev=155446&r1=155445&r2=155446&view=diff
==============================================================================
--- polly/trunk/www/example_load_Polly_into_clang.html (original)
+++ polly/trunk/www/example_load_Polly_into_clang.html Tue Apr 24 11:12:34 2012
@@ -120,10 +120,12 @@
 code the <b>-polly-ignore-aliasing</b> can be used to disable the check for
 possible aliasing.
 
-<h3>Importing and exporting JScop files</h3>
-The flags <b>-polly-run-import-jscop</b> and <b>-polly-run-export-jscop</b>
-allow the export and reimport of the polyhedral representation that Polly
-generates for the Scops.
+<h3>Import / Export</h3>
+The flags <b>-polly-import</b> and <b>-polly-export</b> allow the export and
+reimport of the polyhedral representation. By exporting, modifying and
+reimporting the polyhedral representation externally calculated transformations
+can be applied. This enables external optimizers or the manual optimization of
+specific SCoPs.
 </div>
 </body>
 </html>





More information about the llvm-commits mailing list