diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-05-07 07:31:10 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-05-07 07:31:10 +0000 |
commit | 637bd631237d5d08666341bf371a60af1c58ab96 (patch) | |
tree | 2a15cacc65175cd3effd678095056fd9889e62be /polly/include/polly | |
parent | e602a07662a5b64fbbeb9af916d29956d330ad47 (diff) | |
download | bcm5719-llvm-637bd631237d5d08666341bf371a60af1c58ab96.tar.gz bcm5719-llvm-637bd631237d5d08666341bf371a60af1c58ab96.zip |
Move polly options into separate option category
Use the new cl::OptionCategory support to move the Polly options into a separate
option category. The aim is to hide most options and show by default only the
options a user needs to influence '-O3 -polly'. The available options probably
need some care, but here is the current status:
Polly Options:
Configure the polly loop optimizer
-enable-polly-openmp - Generate OpenMP parallel code
-polly - Enable the polly optimizer (only at -O3)
-polly-no-tiling - Disable tiling in the scheduler
-polly-only-func=<function-name> - Only run on a single function
-polly-report - Print information about the activities
of Polly
-polly-vectorizer - Select the vectorization strategy
=none - No Vectorization
=polly - Polly internal vectorizer
=unroll-only - Only grouped unroll the vectorize
candidate loops
=bb - The Basic Block vectorizer driven by
Polly
llvm-svn: 181295
Diffstat (limited to 'polly/include/polly')
-rw-r--r-- | polly/include/polly/Options.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/polly/include/polly/Options.h b/polly/include/polly/Options.h new file mode 100644 index 00000000000..62e09609956 --- /dev/null +++ b/polly/include/polly/Options.h @@ -0,0 +1,20 @@ +//===--------------- polly/Options.h - The Polly option category *- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// Introduce an option category for Polly. +// +//===----------------------------------------------------------------------===// + +#ifndef POLLY_OPTIONS_H +#define POLLY_OPTIONS_H + +#include "llvm/Support/CommandLine.h" + +extern llvm::cl::OptionCategory PollyCategory; +#endif |