summaryrefslogtreecommitdiffstats
path: root/polly/lib/Transform/ScheduleOptimizer.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-03-13 23:37:43 +0000
committerTobias Grosser <tobias@grosser.es>2014-03-13 23:37:43 +0000
commit64e8e37dee803b140b3eabeb898628fc3cf38d4c (patch)
tree94074de461a4f4054189f5c6c97ea8f4763e78ad /polly/lib/Transform/ScheduleOptimizer.cpp
parent1f1c916074827162f72f11a83e6f9feebb5686e8 (diff)
downloadbcm5719-llvm-64e8e37dee803b140b3eabeb898628fc3cf38d4c.tar.gz
bcm5719-llvm-64e8e37dee803b140b3eabeb898628fc3cf38d4c.zip
Allow several polly command line options to be provided multiple times
Contributed-by: Sam Novak <snovak@uwsp.edu> llvm-svn: 203869
Diffstat (limited to 'polly/lib/Transform/ScheduleOptimizer.cpp')
-rw-r--r--polly/lib/Transform/ScheduleOptimizer.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/polly/lib/Transform/ScheduleOptimizer.cpp b/polly/lib/Transform/ScheduleOptimizer.cpp
index 75111cc0668..97555a01824 100644
--- a/polly/lib/Transform/ScheduleOptimizer.cpp
+++ b/polly/lib/Transform/ScheduleOptimizer.cpp
@@ -43,37 +43,40 @@ 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::cat(PollyCategory));
+ 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::cat(PollyCategory));
+ 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::cat(PollyCategory));
+ 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::cat(PollyCategory));
+ 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::cat(PollyCategory));
+ 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::cat(PollyCategory));
+ 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::cat(PollyCategory));
+ cl::init("yes"), cl::ZeroOrMore, cl::cat(PollyCategory));
namespace {
OpenPOWER on IntegriCloud