[llvm-commits] [polly] r150671 - /polly/trunk/lib/RegisterPasses.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Thu Feb 16 01:56:07 PST 2012
Author: grosser
Date: Thu Feb 16 03:56:07 2012
New Revision: 150671
URL: http://llvm.org/viewvc/llvm-project?rev=150671&view=rev
Log:
RegisterPasses: Add -polly-run-export-cloog option
Modified:
polly/trunk/lib/RegisterPasses.cpp
Modified: polly/trunk/lib/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/RegisterPasses.cpp?rev=150671&r1=150670&r2=150671&view=diff
==============================================================================
--- polly/trunk/lib/RegisterPasses.cpp (original)
+++ polly/trunk/lib/RegisterPasses.cpp Thu Feb 16 03:56:07 2012
@@ -57,6 +57,10 @@
cl::desc("Export the JScop description of the detected Scops"),
cl::Hidden, cl::init(false));
static cl::opt<bool>
+ExportCLooG("polly-run-export-cloog",
+ cl::desc("Export the CLooG input files for the detected Scops"),
+ cl::Hidden, cl::init(false));
+static cl::opt<bool>
PollyViewer("polly-show",
cl::desc("Enable the Polly DOT viewer in -O3"), cl::Hidden,
cl::value_desc("Run the Polly DOT viewer at -O3"),
@@ -195,6 +199,9 @@
if (ExportJScop)
PM.add(polly::createJSONExporterPass());
+ if (ExportCLooG)
+ PM.add(polly::createCloogExporterPass());
+
if (RunCodegen)
PM.add(polly::createCodeGenerationPass());
}
More information about the llvm-commits
mailing list