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

Tobias Grosser grosser at fim.uni-passau.de
Sun Oct 23 13:59:14 PDT 2011


Author: grosser
Date: Sun Oct 23 15:59:14 2011
New Revision: 142766

URL: http://llvm.org/viewvc/llvm-project?rev=142766&view=rev
Log:
Rename -enable-polly-viewer to -polly-run-viewer

Similar changes for polly-only-viewer, polly-printer and polly-only-printer.

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=142766&r1=142765&r2=142766&view=diff
==============================================================================
--- polly/trunk/lib/RegisterPasses.cpp (original)
+++ polly/trunk/lib/RegisterPasses.cpp Sun Oct 23 15:59:14 2011
@@ -33,23 +33,23 @@
        cl::desc("Disable Polly Code Generation"), cl::Hidden,
        cl::init(false));
 static cl::opt<bool>
-PollyViewer("enable-polly-viewer",
+PollyViewer("polly-show",
        cl::desc("Enable the Polly DOT viewer in -O3"), cl::Hidden,
        cl::value_desc("Run the Polly DOT viewer at -O3"),
        cl::init(false));
 static cl::opt<bool>
-PollyOnlyViewer("enable-polly-only-viewer",
+PollyOnlyViewer("polly-show-only",
        cl::desc("Enable the Polly DOT viewer in -O3 (no BB content)"),
        cl::Hidden,
        cl::value_desc("Run the Polly DOT viewer at -O3 (no BB content"),
        cl::init(false));
 static cl::opt<bool>
-PollyPrinter("enable-polly-printer",
+PollyPrinter("polly-dot",
        cl::desc("Enable the Polly DOT printer in -O3"), cl::Hidden,
        cl::value_desc("Run the Polly DOT printer at -O3"),
        cl::init(false));
 static cl::opt<bool>
-PollyOnlyPrinter("enable-polly-only-printer",
+PollyOnlyPrinter("polly-dot-only",
        cl::desc("Enable the Polly DOT printer in -O3 (no BB content)"),
        cl::Hidden,
        cl::value_desc("Run the Polly DOT printer at -O3 (no BB content"),

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=142766&r1=142765&r2=142766&view=diff
==============================================================================
--- polly/trunk/www/example_load_Polly_into_clang.html (original)
+++ polly/trunk/www/example_load_Polly_into_clang.html Sun Oct 23 15:59:14 2011
@@ -52,6 +52,15 @@
 see the effects of the preparing transformation, but to disable Polly code
 generation add the option 'polly-no-codegen'.
 
+<h3>Graphical view of the SCoPs</h3>
+
+Polly can use graphviz to show the SCoPs it detects in a program. The relevant
+options are '-polly-show', '-polly-show-only', '-polly-dot' and
+'-polly-dot-only'. The 'show' options automatically run dotty or another
+graphviz viewer to show the scops graphically. The 'dot' options store for each
+function a dot file that highlights the detected SCoPs. If 'only' is appended at
+the end of the option, the basic blocks are shown without the statements the
+contain.
 
 </div>
 </body>





More information about the llvm-commits mailing list