Lines Matching refs:cl
54 namespace cl = llvm::cl;
61 cl::OptionCategory PollyCategory("Polly Options",
65 static cl::opt<bool>
67 cl::desc("Enable the polly optimizer (with -O1, -O2 or -O3)"),
68 cl::cat(PollyCategory));
70 static cl::opt<bool> PollyDetectOnly(
72 cl::desc("Only run scop detection, but no other optimizations"),
73 cl::cat(PollyCategory));
83 static cl::opt<PassPositionChoice> PassPosition(
84 "polly-position", cl::desc("Where to run polly in the pass pipeline"),
85 cl::values(
91 cl::Hidden, cl::init(POSITION_BEFORE_VECTORIZER), cl::cat(PollyCategory));
93 static cl::opt<OptimizerChoice>
94 Optimizer("polly-optimizer", cl::desc("Select the scheduling optimizer"),
95 cl::values(clEnumValN(OPTIMIZER_NONE, "none", "No optimizer"),
98 cl::Hidden, cl::init(OPTIMIZER_ISL), cl::cat(PollyCategory));
101 static cl::opt<CodeGenChoice> CodeGeneration(
102 "polly-code-generation", cl::desc("How much code-generation to perform"),
103 cl::values(clEnumValN(CODEGEN_FULL, "full", "AST and IR generation"),
106 cl::Hidden, cl::init(CODEGEN_FULL), cl::cat(PollyCategory));
109 static cl::opt<TargetChoice>
110 Target("polly-target", cl::desc("The hardware to target"),
111 cl::values(clEnumValN(TARGET_CPU, "cpu", "generate CPU code")
119 cl::init(TARGET_CPU), cl::cat(PollyCategory));
123 static cl::opt<VectorizerChoice, true> Vectorizer(
124 "polly-vectorizer", cl::desc("Select the vectorization strategy"),
125 cl::values(
131 cl::location(PollyVectorizerChoice), cl::init(VECTORIZER_NONE),
132 cl::cat(PollyCategory));
134 static cl::opt<bool> ImportJScop(
136 cl::desc("Import the polyhedral description of the detected Scops"),
137 cl::Hidden, cl::cat(PollyCategory));
139 static cl::opt<bool> FullyIndexedStaticExpansion(
141 cl::desc("Fully expand the memory accesses of the detected Scops"),
142 cl::Hidden, cl::cat(PollyCategory));
144 static cl::opt<bool> ExportJScop(
146 cl::desc("Export the polyhedral description of the detected Scops"),
147 cl::Hidden, cl::cat(PollyCategory));
149 static cl::opt<bool> DeadCodeElim("polly-run-dce",
150 cl::desc("Run the dead code elimination"),
151 cl::Hidden, cl::cat(PollyCategory));
153 static cl::opt<bool> PollyViewer(
155 cl::desc("Highlight the code regions that will be optimized in a "
157 cl::cat(PollyCategory));
159 static cl::opt<bool> PollyOnlyViewer(
161 cl::desc("Highlight the code regions that will be optimized in "
163 cl::init(false), cl::cat(PollyCategory));
165 static cl::opt<bool>
166 PollyPrinter("polly-dot", cl::desc("Enable the Polly DOT printer in -O3"),
167 cl::Hidden, cl::value_desc("Run the Polly DOT printer at -O3"),
168 cl::init(false), cl::cat(PollyCategory));
170 static cl::opt<bool> PollyOnlyPrinter(
172 cl::desc("Enable the Polly DOT printer in -O3 (no BB content)"), cl::Hidden,
173 cl::value_desc("Run the Polly DOT printer at -O3 (no BB content"),
174 cl::init(false), cl::cat(PollyCategory));
176 static cl::opt<bool>
178 cl::desc("Show the Polly CFG right after code generation"),
179 cl::Hidden, cl::init(false), cl::cat(PollyCategory));
181 static cl::opt<bool>
183 cl::desc("Enable polyhedral interface of Polly"),
184 cl::Hidden, cl::init(false), cl::cat(PollyCategory));
186 static cl::opt<bool>
188 cl::desc("Enable operand tree forwarding"), cl::Hidden,
189 cl::init(true), cl::cat(PollyCategory));
191 static cl::opt<bool>
193 cl::desc("Dump module before Polly transformations into a file "
195 cl::init(false), cl::cat(PollyCategory));
197 static cl::list<std::string> DumpBeforeFile(
199 cl::desc("Dump module before Polly transformations to the given file"),
200 cl::cat(PollyCategory));
202 static cl::opt<bool>
204 cl::desc("Dump module after Polly transformations into a file "
206 cl::init(false), cl::cat(PollyCategory));
208 static cl::list<std::string> DumpAfterFile(
210 cl::desc("Dump module after Polly transformations to the given file"),
211 cl::cat(PollyCategory));
213 static cl::opt<bool>
215 cl::desc("Eliminate scalar loop carried dependences"),
216 cl::Hidden, cl::init(true), cl::cat(PollyCategory));
218 static cl::opt<bool>
220 cl::desc("Simplify SCoP after optimizations"),
221 cl::init(true), cl::cat(PollyCategory));
223 static cl::opt<bool> EnablePruneUnprofitable(
225 cl::desc("Bail out on unprofitable SCoPs before rescheduling"), cl::Hidden,
226 cl::init(true), cl::cat(PollyCategory));