diff options
| author | Tobias Grosser <tobias@grosser.es> | 2014-03-13 23:37:43 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2014-03-13 23:37:43 +0000 |
| commit | 64e8e37dee803b140b3eabeb898628fc3cf38d4c (patch) | |
| tree | 94074de461a4f4054189f5c6c97ea8f4763e78ad /polly/lib/Analysis/ScopDetection.cpp | |
| parent | 1f1c916074827162f72f11a83e6f9feebb5686e8 (diff) | |
| download | bcm5719-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/Analysis/ScopDetection.cpp')
| -rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 513e970f03b..620793dc11b 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -72,12 +72,14 @@ using namespace polly; 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::cat(PollyCategory)); + 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::cat(PollyCategory)); + cl::Hidden, cl::init(false), cl::ZeroOrMore, + cl::cat(PollyCategory)); static cl::opt<std::string> OnlyFunction("polly-only-func", cl::desc("Only run on a single function"), @@ -94,28 +96,31 @@ OnlyRegion("polly-only-region", static cl::opt<bool> IgnoreAliasing("polly-ignore-aliasing", cl::desc("Ignore possible aliasing of the array bases"), - cl::Hidden, cl::init(false), cl::cat(PollyCategory)); + 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::cat(PollyCategory)); + 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::cat(PollyCategory)); + 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::init(false), - cl::cat(PollyCategory)); + cl::location(PollyTrackFailures), 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::cat(PollyCategory)); + cl::Hidden, cl::init(false), cl::ZeroOrMore, + cl::cat(PollyCategory)); bool polly::PollyTrackFailures = false; |

