cl::Hidden, cl::init(POSITION_EARLY), cl::ZeroOrMore,
cl::cat(PollyCategory));
-static cl::opt<OptimizerChoice> Optimizer(
- "polly-optimizer", cl::desc("Select the scheduling optimizer"),
- cl::values(clEnumValN(OPTIMIZER_NONE, "none", "No optimizer"),
- clEnumValN(OPTIMIZER_ISL, "isl", "The isl scheduling optimizer")),
- cl::Hidden, cl::init(OPTIMIZER_ISL), cl::ZeroOrMore,
- cl::cat(PollyCategory));
+static cl::opt<OptimizerChoice>
+ Optimizer("polly-optimizer", cl::desc("Select the scheduling optimizer"),
+ cl::values(clEnumValN(OPTIMIZER_NONE, "none", "No optimizer"),
+ clEnumValN(OPTIMIZER_ISL, "isl",
+ "The isl scheduling optimizer")),
+ cl::Hidden, cl::init(OPTIMIZER_ISL), cl::ZeroOrMore,
+ cl::cat(PollyCategory));
enum CodeGenChoice { CODEGEN_FULL, CODEGEN_AST, CODEGEN_NONE };
static cl::opt<CodeGenChoice> CodeGeneration(
Target("polly-target", cl::desc("The hardware to target"),
cl::values(clEnumValN(TARGET_CPU, "cpu", "generate CPU code")
#ifdef GPU_CODEGEN
- , clEnumValN(TARGET_GPU, "gpu", "generate GPU code")
+ ,
+ clEnumValN(TARGET_GPU, "gpu", "generate GPU code")
#endif
- ),
+ ),
cl::init(TARGET_CPU), cl::ZeroOrMore, cl::cat(PollyCategory));
VectorizerChoice polly::PollyVectorizerChoice;
clEnumValN(polly::VECTORIZER_NONE, "none", "No Vectorization"),
clEnumValN(polly::VECTORIZER_POLLY, "polly",
"Polly internal vectorizer"),
- clEnumValN(polly::VECTORIZER_STRIPMINE, "stripmine",
- "Strip-mine outer loops for the loop-vectorizer to trigger")),
+ clEnumValN(
+ polly::VECTORIZER_STRIPMINE, "stripmine",
+ "Strip-mine outer loops for the loop-vectorizer to trigger")),
cl::location(PollyVectorizerChoice), cl::init(polly::VECTORIZER_NONE),
cl::ZeroOrMore, cl::cat(PollyCategory));