[polly] r212609 - clang-format polly to avoid buildbot noise
Tobias Grosser
tobias at grosser.es
Wed Jul 9 03:50:11 PDT 2014
Author: grosser
Date: Wed Jul 9 05:50:10 2014
New Revision: 212609
URL: http://llvm.org/viewvc/llvm-project?rev=212609&view=rev
Log:
clang-format polly to avoid buildbot noise
Modified:
polly/trunk/include/polly/ScopDetection.h
polly/trunk/lib/Analysis/Dependences.cpp
polly/trunk/lib/Analysis/ScopDetection.cpp
polly/trunk/lib/Analysis/ScopGraphPrinter.cpp
polly/trunk/lib/Analysis/ScopInfo.cpp
polly/trunk/lib/CodeGen/BlockGenerators.cpp
polly/trunk/lib/CodeGen/CodeGeneration.cpp
polly/trunk/lib/Exchange/JSONExporter.cpp
polly/trunk/lib/Exchange/ScopLibExporter.cpp
polly/trunk/lib/Exchange/ScopLibImporter.cpp
polly/trunk/lib/Support/RegisterPasses.cpp
polly/trunk/lib/Transform/Pluto.cpp
polly/trunk/lib/Transform/ScheduleOptimizer.cpp
Modified: polly/trunk/include/polly/ScopDetection.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopDetection.h?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopDetection.h (original)
+++ polly/trunk/include/polly/ScopDetection.h Wed Jul 9 05:50:10 2014
@@ -317,7 +317,7 @@ public:
//@{
typedef std::map<const Region *, RejectLog>::iterator reject_iterator;
typedef std::map<const Region *, RejectLog>::const_iterator
- const_reject_iterator;
+ const_reject_iterator;
reject_iterator reject_begin() { return RejectLogs.begin(); }
reject_iterator reject_end() { return RejectLogs.end(); }
Modified: polly/trunk/lib/Analysis/Dependences.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/Dependences.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/Dependences.cpp (original)
+++ polly/trunk/lib/Analysis/Dependences.cpp Wed Jul 9 05:50:10 2014
@@ -39,17 +39,15 @@ using namespace llvm;
#define DEBUG_TYPE "polly-dependence"
-static cl::opt<int>
-OptComputeOut("polly-dependences-computeout",
- cl::desc("Bound the dependence analysis by a maximal amount of "
- "computational steps"),
- cl::Hidden, cl::init(250000), cl::ZeroOrMore,
- cl::cat(PollyCategory));
+static cl::opt<int> OptComputeOut(
+ "polly-dependences-computeout",
+ cl::desc("Bound the dependence analysis by a maximal amount of "
+ "computational steps"),
+ cl::Hidden, cl::init(250000), cl::ZeroOrMore, cl::cat(PollyCategory));
-static cl::opt<bool>
-LegalityCheckDisabled("disable-polly-legality",
- cl::desc("Disable polly legality check"), cl::Hidden,
- cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+static cl::opt<bool> LegalityCheckDisabled(
+ "disable-polly-legality", cl::desc("Disable polly legality check"),
+ cl::Hidden, cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
enum AnalysisType { VALUE_BASED_ANALYSIS, MEMORY_BASED_ANALYSIS };
Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Wed Jul 9 05:50:10 2014
@@ -70,52 +70,52 @@ using namespace polly;
#define DEBUG_TYPE "polly-detect"
static cl::opt<bool>
-DetectScopsWithoutLoops("polly-detect-scops-in-functions-without-loops",
- cl::desc("Detect scops in functions without loops"),
- cl::Hidden, cl::init(false), cl::ZeroOrMore,
- cl::cat(PollyCategory));
-
-static cl::opt<bool>
-DetectRegionsWithoutLoops("polly-detect-scops-in-regions-without-loops",
- cl::desc("Detect scops in regions without loops"),
- cl::Hidden, cl::init(false), cl::ZeroOrMore,
- cl::cat(PollyCategory));
-
-static cl::opt<std::string>
-OnlyFunction("polly-only-func",
- cl::desc("Only run on functions that contain a certain string"),
- cl::value_desc("string"), cl::ValueRequired, cl::init(""),
- cl::cat(PollyCategory));
-
-static cl::opt<std::string>
-OnlyRegion("polly-only-region",
- cl::desc("Only run on certain regions (The provided identifier must "
- "appear in the name of the region's entry block"),
- cl::value_desc("identifier"), cl::ValueRequired, cl::init(""),
- cl::cat(PollyCategory));
-
-static cl::opt<bool>
-IgnoreAliasing("polly-ignore-aliasing",
- cl::desc("Ignore possible aliasing of the array bases"),
- cl::Hidden, cl::init(false), cl::ZeroOrMore,
- cl::cat(PollyCategory));
-
-static cl::opt<bool>
-ReportLevel("polly-report",
- cl::desc("Print information about the activities of Polly"),
- cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
-
-static cl::opt<bool>
-AllowNonAffine("polly-allow-nonaffine",
- cl::desc("Allow non affine access functions in arrays"),
- cl::Hidden, cl::init(false), cl::ZeroOrMore,
- cl::cat(PollyCategory));
+ DetectScopsWithoutLoops("polly-detect-scops-in-functions-without-loops",
+ cl::desc("Detect scops in functions without loops"),
+ cl::Hidden, cl::init(false), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
+
+static cl::opt<bool>
+ DetectRegionsWithoutLoops("polly-detect-scops-in-regions-without-loops",
+ cl::desc("Detect scops in regions without loops"),
+ cl::Hidden, cl::init(false), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
+
+static cl::opt<std::string> OnlyFunction(
+ "polly-only-func",
+ cl::desc("Only run on functions that contain a certain string"),
+ cl::value_desc("string"), cl::ValueRequired, cl::init(""),
+ cl::cat(PollyCategory));
+
+static cl::opt<std::string> OnlyRegion(
+ "polly-only-region",
+ cl::desc("Only run on certain regions (The provided identifier must "
+ "appear in the name of the region's entry block"),
+ cl::value_desc("identifier"), cl::ValueRequired, cl::init(""),
+ cl::cat(PollyCategory));
+
+static cl::opt<bool>
+ IgnoreAliasing("polly-ignore-aliasing",
+ cl::desc("Ignore possible aliasing of the array bases"),
+ cl::Hidden, cl::init(false), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
+
+static cl::opt<bool>
+ ReportLevel("polly-report",
+ cl::desc("Print information about the activities of Polly"),
+ cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+
+static cl::opt<bool>
+ AllowNonAffine("polly-allow-nonaffine",
+ cl::desc("Allow non affine access functions in arrays"),
+ cl::Hidden, cl::init(false), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
static cl::opt<bool, true>
-TrackFailures("polly-detect-track-failures",
- cl::desc("Track failure strings in detecting scop regions"),
- cl::location(PollyTrackFailures), cl::Hidden, cl::ZeroOrMore,
- cl::init(false), cl::cat(PollyCategory));
+ TrackFailures("polly-detect-track-failures",
+ cl::desc("Track failure strings in detecting scop regions"),
+ cl::location(PollyTrackFailures), cl::Hidden, cl::ZeroOrMore,
+ cl::init(false), cl::cat(PollyCategory));
static cl::opt<bool> KeepGoing("polly-detect-keep-going",
cl::desc("Do not fail on the first error."),
@@ -123,16 +123,16 @@ static cl::opt<bool> KeepGoing("polly-de
cl::cat(PollyCategory));
static cl::opt<bool, true>
-PollyDelinearizeX("polly-delinearize",
- cl::desc("Delinearize array access functions"),
- cl::location(PollyDelinearize), cl::Hidden, cl::ZeroOrMore,
- cl::init(false), cl::cat(PollyCategory));
+ PollyDelinearizeX("polly-delinearize",
+ cl::desc("Delinearize array access functions"),
+ cl::location(PollyDelinearize), cl::Hidden,
+ cl::ZeroOrMore, cl::init(false), cl::cat(PollyCategory));
static cl::opt<bool>
-VerifyScops("polly-detect-verify",
- cl::desc("Verify the detected SCoPs after each transformation"),
- cl::Hidden, cl::init(false), cl::ZeroOrMore,
- cl::cat(PollyCategory));
+ VerifyScops("polly-detect-verify",
+ cl::desc("Verify the detected SCoPs after each transformation"),
+ cl::Hidden, cl::init(false), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
bool polly::PollyTrackFailures = false;
bool polly::PollyDelinearize = false;
Modified: polly/trunk/lib/Analysis/ScopGraphPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopGraphPrinter.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopGraphPrinter.cpp (original)
+++ polly/trunk/lib/Analysis/ScopGraphPrinter.cpp Wed Jul 9 05:50:10 2014
@@ -187,15 +187,15 @@ static RegisterPass<ScopViewer> X("view-
"Polly - View Scops of function");
static RegisterPass<ScopOnlyViewer>
-Y("view-scops-only",
- "Polly - View Scops of function (with no function bodies)");
+ Y("view-scops-only",
+ "Polly - View Scops of function (with no function bodies)");
static RegisterPass<ScopPrinter> M("dot-scops",
"Polly - Print Scops of function");
static RegisterPass<ScopOnlyPrinter>
-N("dot-scops-only",
- "Polly - Print Scops of function (with no function bodies)");
+ N("dot-scops-only",
+ "Polly - Print Scops of function (with no function bodies)");
Pass *polly::createDOTViewerPass() { return new ScopViewer(); }
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Wed Jul 9 05:50:10 2014
@@ -58,11 +58,10 @@ STATISTIC(RichScopFound, "Number of Scop
// Multiplicative reductions can be disabled seperately as these kind of
// operations can overflow easily. Additive reductions and bit operations
// are in contrast pretty stable.
-static cl::opt<bool>
-DisableMultiplicativeReductions("polly-disable-multiplicative-reductions",
- cl::desc("Disable multiplicative reductions"),
- cl::Hidden, cl::ZeroOrMore, cl::init(false),
- cl::cat(PollyCategory));
+static cl::opt<bool> DisableMultiplicativeReductions(
+ "polly-disable-multiplicative-reductions",
+ cl::desc("Disable multiplicative reductions"), cl::Hidden, cl::ZeroOrMore,
+ cl::init(false), cl::cat(PollyCategory));
/// Translate a 'const SCEV *' expression in an isl_pw_aff.
struct SCEVAffinator : public SCEVVisitor<SCEVAffinator, isl_pw_aff *> {
Modified: polly/trunk/lib/CodeGen/BlockGenerators.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/BlockGenerators.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/BlockGenerators.cpp (original)
+++ polly/trunk/lib/CodeGen/BlockGenerators.cpp Wed Jul 9 05:50:10 2014
@@ -32,14 +32,16 @@ using namespace llvm;
using namespace polly;
static cl::opt<bool>
-Aligned("enable-polly-aligned", cl::desc("Assumed aligned memory accesses."),
- cl::Hidden, cl::value_desc("OpenMP code generation enabled if true"),
- cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+ Aligned("enable-polly-aligned",
+ cl::desc("Assumed aligned memory accesses."), cl::Hidden,
+ cl::value_desc("OpenMP code generation enabled if true"),
+ cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::opt<bool, true>
-SCEVCodegenF("polly-codegen-scev", cl::desc("Use SCEV based code generation."),
- cl::Hidden, cl::location(SCEVCodegen), cl::init(false),
- cl::ZeroOrMore, cl::cat(PollyCategory));
+ SCEVCodegenF("polly-codegen-scev",
+ cl::desc("Use SCEV based code generation."), cl::Hidden,
+ cl::location(SCEVCodegen), cl::init(false), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
bool polly::SCEVCodegen;
Modified: polly/trunk/lib/CodeGen/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/CodeGeneration.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/CodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/CodeGeneration.cpp Wed Jul 9 05:50:10 2014
@@ -63,20 +63,20 @@ struct isl_set;
namespace polly {
static cl::opt<bool>
-OpenMP("enable-polly-openmp", cl::desc("Generate OpenMP parallel code"),
- cl::value_desc("OpenMP code generation enabled if true"),
- cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+ OpenMP("enable-polly-openmp", cl::desc("Generate OpenMP parallel code"),
+ cl::value_desc("OpenMP code generation enabled if true"),
+ cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
#ifdef GPU_CODEGEN
static cl::opt<bool>
-GPGPU("enable-polly-gpgpu", cl::desc("Generate GPU parallel code"), cl::Hidden,
- cl::value_desc("GPGPU code generation enabled if true"), cl::init(false),
- cl::ZeroOrMore, cl::cat(PollyCategory));
+ GPGPU("enable-polly-gpgpu", cl::desc("Generate GPU parallel code"),
+ cl::Hidden, cl::value_desc("GPGPU code generation enabled if true"),
+ cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::opt<std::string>
-GPUTriple("polly-gpgpu-triple",
- cl::desc("Target triple for GPU code generation"), cl::Hidden,
- cl::init(""), cl::cat(PollyCategory));
+ GPUTriple("polly-gpgpu-triple",
+ cl::desc("Target triple for GPU code generation"), cl::Hidden,
+ cl::init(""), cl::cat(PollyCategory));
#endif /* GPU_CODEGEN */
typedef DenseMap<const char *, Value *> CharMapT;
Modified: polly/trunk/lib/Exchange/JSONExporter.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Exchange/JSONExporter.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Exchange/JSONExporter.cpp (original)
+++ polly/trunk/lib/Exchange/JSONExporter.cpp Wed Jul 9 05:50:10 2014
@@ -42,16 +42,16 @@ STATISTIC(NewAccessMapFound, "Number of
namespace {
static cl::opt<std::string>
-ImportDir("polly-import-jscop-dir",
- cl::desc("The directory to import the .jscop files from."),
- cl::Hidden, cl::value_desc("Directory path"), cl::ValueRequired,
- cl::init("."), cl::cat(PollyCategory));
+ ImportDir("polly-import-jscop-dir",
+ cl::desc("The directory to import the .jscop files from."),
+ cl::Hidden, cl::value_desc("Directory path"), cl::ValueRequired,
+ cl::init("."), cl::cat(PollyCategory));
static cl::opt<std::string>
-ImportPostfix("polly-import-jscop-postfix",
- cl::desc("Postfix to append to the import .jsop files."),
- cl::Hidden, cl::value_desc("File postfix"), cl::ValueRequired,
- cl::init(""), cl::cat(PollyCategory));
+ ImportPostfix("polly-import-jscop-postfix",
+ cl::desc("Postfix to append to the import .jsop files."),
+ cl::Hidden, cl::value_desc("File postfix"), cl::ValueRequired,
+ cl::init(""), cl::cat(PollyCategory));
struct JSONExporter : public ScopPass {
static char ID;
Modified: polly/trunk/lib/Exchange/ScopLibExporter.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Exchange/ScopLibExporter.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Exchange/ScopLibExporter.cpp (original)
+++ polly/trunk/lib/Exchange/ScopLibExporter.cpp Wed Jul 9 05:50:10 2014
@@ -29,10 +29,10 @@ using namespace polly;
namespace {
static cl::opt<std::string>
-ExportDir("polly-export-scoplib-dir",
- cl::desc("The directory to export the .scoplib files to."),
- cl::Hidden, cl::value_desc("Directory path"), cl::ValueRequired,
- cl::init("."), cl::cat(PollyCategory));
+ ExportDir("polly-export-scoplib-dir",
+ cl::desc("The directory to export the .scoplib files to."),
+ cl::Hidden, cl::value_desc("Directory path"), cl::ValueRequired,
+ cl::init("."), cl::cat(PollyCategory));
class ScopLibExporter : public ScopPass {
Scop *S;
@@ -85,8 +85,8 @@ void ScopLibExporter::getAnalysisUsage(A
}
static RegisterPass<ScopLibExporter>
-A("polly-export-scoplib", "Polly - Export Scops with ScopLib library"
- " (Writes a .scoplib file for each Scop)");
+ A("polly-export-scoplib", "Polly - Export Scops with ScopLib library"
+ " (Writes a .scoplib file for each Scop)");
Pass *polly::createScopLibExporterPass() { return new ScopLibExporter(); }
Modified: polly/trunk/lib/Exchange/ScopLibImporter.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Exchange/ScopLibImporter.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Exchange/ScopLibImporter.cpp (original)
+++ polly/trunk/lib/Exchange/ScopLibImporter.cpp Wed Jul 9 05:50:10 2014
@@ -32,16 +32,16 @@ using namespace polly;
namespace {
static cl::opt<std::string>
-ImportDir("polly-import-scoplib-dir",
- cl::desc("The directory to import the .scoplib files from."),
- cl::Hidden, cl::value_desc("Directory path"), cl::ValueRequired,
- cl::init("."), cl::cat(PollyCategory));
+ ImportDir("polly-import-scoplib-dir",
+ cl::desc("The directory to import the .scoplib files from."),
+ cl::Hidden, cl::value_desc("Directory path"), cl::ValueRequired,
+ cl::init("."), cl::cat(PollyCategory));
static cl::opt<std::string>
-ImportPostfix("polly-import-scoplib-postfix",
- cl::desc("Postfix to append to the import .scoplib files."),
- cl::Hidden, cl::value_desc("File postfix"), cl::ValueRequired,
- cl::init(""), cl::cat(PollyCategory));
+ ImportPostfix("polly-import-scoplib-postfix",
+ cl::desc("Postfix to append to the import .scoplib files."),
+ cl::Hidden, cl::value_desc("File postfix"), cl::ValueRequired,
+ cl::init(""), cl::cat(PollyCategory));
struct ScopLibImporter : public RegionPass {
static char ID;
@@ -108,8 +108,8 @@ void ScopLibImporter::getAnalysisUsage(A
}
static RegisterPass<ScopLibImporter>
-A("polly-import-scoplib", "Polly - Import Scops with ScopLib library"
- " (Reads a .scoplib file for each Scop)");
+ A("polly-import-scoplib", "Polly - Import Scops with ScopLib library"
+ " (Reads a .scoplib file for each Scop)");
Pass *polly::createScopLibImporterPass() { return new ScopLibImporter(); }
Modified: polly/trunk/lib/Support/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/RegisterPasses.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Support/RegisterPasses.cpp (original)
+++ polly/trunk/lib/Support/RegisterPasses.cpp Wed Jul 9 05:50:10 2014
@@ -43,8 +43,8 @@ cl::OptionCategory PollyCategory("Polly
"Configure the polly loop optimizer");
static cl::opt<bool>
-PollyEnabled("polly", cl::desc("Enable the polly optimizer (only at -O3)"),
- cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+ PollyEnabled("polly", cl::desc("Enable the polly optimizer (only at -O3)"),
+ cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
enum OptimizerChoice {
OPTIMIZER_NONE,
@@ -111,39 +111,37 @@ static cl::opt<polly::VectorizerChoice,
cl::location(PollyVectorizerChoice), cl::init(polly::VECTORIZER_NONE),
cl::ZeroOrMore, cl::cat(PollyCategory));
-static cl::opt<bool>
-ImportJScop("polly-import",
- cl::desc("Export the polyhedral description of the detected Scops"),
- cl::Hidden, cl::init(false), cl::ZeroOrMore,
- cl::cat(PollyCategory));
-
-static cl::opt<bool>
-ExportJScop("polly-export",
- cl::desc("Export the polyhedral description of the detected Scops"),
- cl::Hidden, cl::init(false), cl::ZeroOrMore,
- cl::cat(PollyCategory));
+static cl::opt<bool> ImportJScop(
+ "polly-import",
+ cl::desc("Export the polyhedral description of the detected Scops"),
+ cl::Hidden, cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+
+static cl::opt<bool> ExportJScop(
+ "polly-export",
+ cl::desc("Export the polyhedral description of the detected Scops"),
+ cl::Hidden, cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::opt<bool> DeadCodeElim("polly-run-dce",
cl::desc("Run the dead code elimination"),
cl::Hidden, cl::init(true), cl::ZeroOrMore,
cl::cat(PollyCategory));
-static cl::opt<bool>
-PollyViewer("polly-show",
- cl::desc("Highlight the code regions that will be optimized in a "
- "(CFG BBs and LLVM-IR instructions)"),
- cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
-
-static cl::opt<bool>
-PollyOnlyViewer("polly-show-only",
- cl::desc("Highlight the code regions that will be optimized in "
- "a (CFG only BBs)"),
- cl::init(false), cl::cat(PollyCategory));
+static cl::opt<bool> PollyViewer(
+ "polly-show",
+ cl::desc("Highlight the code regions that will be optimized in a "
+ "(CFG BBs and LLVM-IR instructions)"),
+ cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+
+static cl::opt<bool> PollyOnlyViewer(
+ "polly-show-only",
+ cl::desc("Highlight the code regions that will be optimized in "
+ "a (CFG only BBs)"),
+ cl::init(false), cl::cat(PollyCategory));
static cl::opt<bool>
-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), cl::cat(PollyCategory));
+ 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), cl::cat(PollyCategory));
static cl::opt<bool> PollyOnlyPrinter(
"polly-dot-only",
@@ -152,9 +150,9 @@ static cl::opt<bool> PollyOnlyPrinter(
cl::init(false), cl::cat(PollyCategory));
static cl::opt<bool>
-CFGPrinter("polly-view-cfg",
- cl::desc("Show the Polly CFG right after code generation"),
- cl::Hidden, cl::init(false), cl::cat(PollyCategory));
+ CFGPrinter("polly-view-cfg",
+ cl::desc("Show the Polly CFG right after code generation"),
+ cl::Hidden, cl::init(false), cl::cat(PollyCategory));
namespace polly {
void initializePollyPasses(PassRegistry &Registry) {
@@ -325,6 +323,6 @@ registerPollyEarlyAsPossiblePasses(const
/// optimizations behind us, such that inefficiencies on the low level can
/// be optimized away.
static llvm::RegisterStandardPasses
-RegisterPollyOptimizer(llvm::PassManagerBuilder::EP_EarlyAsPossible,
- registerPollyEarlyAsPossiblePasses);
+ RegisterPollyOptimizer(llvm::PassManagerBuilder::EP_EarlyAsPossible,
+ registerPollyEarlyAsPossiblePasses);
}
Modified: polly/trunk/lib/Transform/Pluto.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/Pluto.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Transform/Pluto.cpp (original)
+++ polly/trunk/lib/Transform/Pluto.cpp Wed Jul 9 05:50:10 2014
@@ -55,15 +55,15 @@ static cl::opt<bool> PlutoParallel("poll
cl::cat(PollyCategory));
static cl::opt<bool>
-PlutoInnerParallel("polly-pluto-innerpara",
- cl::desc("Enable inner parallelism instead of piped."),
- cl::Hidden, cl::init(false), cl::ZeroOrMore,
- cl::cat(PollyCategory));
+ PlutoInnerParallel("polly-pluto-innerpara",
+ cl::desc("Enable inner parallelism instead of piped."),
+ cl::Hidden, cl::init(false), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
static cl::opt<bool>
-PlutoIdentity("polly-pluto-identity",
- cl::desc("Enable pluto identity transformation"), cl::Hidden,
- cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+ PlutoIdentity("polly-pluto-identity",
+ cl::desc("Enable pluto identity transformation"), cl::Hidden,
+ cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::opt<bool> PlutoUnroll("polly-pluto-unroll",
cl::desc("Enable pluto unrolling"), cl::Hidden,
@@ -91,9 +91,9 @@ static cl::opt<bool> PlutoPollyUnroll("p
cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::opt<bool>
-PlutoIslDep("polly-pluto-isldep",
- cl::desc("Enable pluto isl dependency scanning"), cl::Hidden,
- cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+ PlutoIslDep("polly-pluto-isldep",
+ cl::desc("Enable pluto isl dependency scanning"), cl::Hidden,
+ cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::opt<bool> PlutoIslDepCompact(
"polly-pluto-isldepcom", cl::desc("Enable pluto isl dependency compaction"),
Modified: polly/trunk/lib/Transform/ScheduleOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/ScheduleOptimizer.cpp?rev=212609&r1=212608&r2=212609&view=diff
==============================================================================
--- polly/trunk/lib/Transform/ScheduleOptimizer.cpp (original)
+++ polly/trunk/lib/Transform/ScheduleOptimizer.cpp Wed Jul 9 05:50:10 2014
@@ -41,49 +41,47 @@ namespace polly {
bool DisablePollyTiling;
}
static cl::opt<bool, true>
-DisableTiling("polly-no-tiling", cl::desc("Disable tiling in the scheduler"),
- cl::location(polly::DisablePollyTiling), cl::init(false),
- cl::ZeroOrMore, cl::cat(PollyCategory));
+ DisableTiling("polly-no-tiling",
+ cl::desc("Disable tiling in the scheduler"),
+ cl::location(polly::DisablePollyTiling), cl::init(false),
+ cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::opt<std::string>
-OptimizeDeps("polly-opt-optimize-only",
- cl::desc("Only a certain kind of dependences (all/raw)"),
- cl::Hidden, cl::init("all"), cl::ZeroOrMore,
- cl::cat(PollyCategory));
+ OptimizeDeps("polly-opt-optimize-only",
+ cl::desc("Only a certain kind of dependences (all/raw)"),
+ cl::Hidden, cl::init("all"), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
static cl::opt<std::string>
-SimplifyDeps("polly-opt-simplify-deps",
- cl::desc("Dependences should be simplified (yes/no)"), cl::Hidden,
- cl::init("yes"), cl::ZeroOrMore, cl::cat(PollyCategory));
-
-static cl::opt<int>
-MaxConstantTerm("polly-opt-max-constant-term",
- cl::desc("The maximal constant term allowed (-1 is unlimited)"),
- cl::Hidden, cl::init(20), cl::ZeroOrMore,
- cl::cat(PollyCategory));
-
-static cl::opt<int>
-MaxCoefficient("polly-opt-max-coefficient",
- cl::desc("The maximal coefficient allowed (-1 is unlimited)"),
- cl::Hidden, cl::init(20), cl::ZeroOrMore,
- cl::cat(PollyCategory));
+ SimplifyDeps("polly-opt-simplify-deps",
+ cl::desc("Dependences should be simplified (yes/no)"),
+ cl::Hidden, cl::init("yes"), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
+
+static cl::opt<int> MaxConstantTerm(
+ "polly-opt-max-constant-term",
+ cl::desc("The maximal constant term allowed (-1 is unlimited)"), cl::Hidden,
+ cl::init(20), cl::ZeroOrMore, cl::cat(PollyCategory));
+
+static cl::opt<int> MaxCoefficient(
+ "polly-opt-max-coefficient",
+ cl::desc("The maximal coefficient allowed (-1 is unlimited)"), cl::Hidden,
+ cl::init(20), cl::ZeroOrMore, cl::cat(PollyCategory));
+
+static cl::opt<std::string> FusionStrategy(
+ "polly-opt-fusion", cl::desc("The fusion strategy to choose (min/max)"),
+ cl::Hidden, cl::init("min"), cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::opt<std::string>
-FusionStrategy("polly-opt-fusion",
- cl::desc("The fusion strategy to choose (min/max)"), cl::Hidden,
- cl::init("min"), cl::ZeroOrMore, cl::cat(PollyCategory));
-
-static cl::opt<std::string>
-MaximizeBandDepth("polly-opt-maximize-bands",
- cl::desc("Maximize the band depth (yes/no)"), cl::Hidden,
- cl::init("yes"), cl::ZeroOrMore, cl::cat(PollyCategory));
-
-static cl::opt<int>
-DefaultTileSize("polly-default-tile-size",
- cl::desc("The default tile size (if not enough were provided by"
- " --polly-tile-sizes)"),
- cl::Hidden, cl::init(32), cl::ZeroOrMore,
- cl::cat(PollyCategory));
+ MaximizeBandDepth("polly-opt-maximize-bands",
+ cl::desc("Maximize the band depth (yes/no)"), cl::Hidden,
+ cl::init("yes"), cl::ZeroOrMore, cl::cat(PollyCategory));
+
+static cl::opt<int> DefaultTileSize(
+ "polly-default-tile-size",
+ cl::desc("The default tile size (if not enough were provided by"
+ " --polly-tile-sizes)"),
+ cl::Hidden, cl::init(32), cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::list<int> TileSizes("polly-tile-sizes",
cl::desc("A tile size"
More information about the llvm-commits
mailing list