Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: src/IceClFlags.def

Issue 2185193002: Enable Local CSE by default (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Delete extra space Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceClFlags.def - Cl Flags for translation ----*- C++ -*-===// 1 //===- subzero/src/IceClFlags.def - Cl Flags for translation ----*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 X(DumpStrings, bool, dev_opt_flag, \ 133 X(DumpStrings, bool, dev_opt_flag, \
134 "dump-strings", \ 134 "dump-strings", \
135 cl::desc("Dump string pools during compilation"), \ 135 cl::desc("Dump string pools during compilation"), \
136 cl::init(false)) \ 136 cl::init(false)) \
137 \ 137 \
138 X(EnableBlockProfile, bool, dev_opt_flag, "enable-block-profile", \ 138 X(EnableBlockProfile, bool, dev_opt_flag, "enable-block-profile", \
139 cl::desc("Instrument basic blocks, and output profiling " \ 139 cl::desc("Instrument basic blocks, and output profiling " \
140 "information to stdout at the end of program execution."), \ 140 "information to stdout at the end of program execution."), \
141 cl::init(false)) \ 141 cl::init(false)) \
142 \ 142 \
143 X(EnableExperimental, bool, dev_opt_flag, "enable-experimental", \ 143 X(LocalCSE, bool, dev_opt_flag, "lcse", \
John 2016/07/28 14:21:50 nit: instead of two bool flags (lcse, lcse-no-ssa)
144 cl::desc("Enable Optimizations not yet part of O2"), \ 144 cl::desc("Local Common Subexpression elimination"), \
145 cl::init(true)) \
146 \
147 X(LocalCSENoSSA, bool, dev_opt_flag, "lcse-no-ssa", \
148 cl::desc("Do not assume SSA for lcse"), \
145 cl::init(false)) \ 149 cl::init(false)) \
146 \ 150 \
147 X(EnablePhiEdgeSplit, bool, dev_opt_flag, "phi-edge-split", \ 151 X(EnablePhiEdgeSplit, bool, dev_opt_flag, "phi-edge-split", \
148 cl::desc("Enable edge splitting for Phi lowering"), cl::init(true)) \ 152 cl::desc("Enable edge splitting for Phi lowering"), cl::init(true)) \
149 \ 153 \
150 X(EnableShortCircuit, bool, dev_opt_flag, "enable-sc", \ 154 X(EnableShortCircuit, bool, dev_opt_flag, "enable-sc", \
151 cl::desc("Split Nodes for short circuit evaluation"), cl::init(false)) \ 155 cl::desc("Split Nodes for short circuit evaluation"), cl::init(false)) \
152 \ 156 \
153 X(ExcludedRegisters, std::string, dev_list_flag, "reg-exclude", \ 157 X(ExcludedRegisters, std::string, dev_list_flag, "reg-exclude", \
154 cl::CommaSeparated, cl::desc("Don't use specified registers")) \ 158 cl::CommaSeparated, cl::desc("Don't use specified registers")) \
(...skipping 22 matching lines...) Expand all
177 X(KeepDeletedInsts, bool, dev_opt_flag, "keep-deleted-insts", \ 181 X(KeepDeletedInsts, bool, dev_opt_flag, "keep-deleted-insts", \
178 cl::desc("Retain deleted instructions in the Cfg"), \ 182 cl::desc("Retain deleted instructions in the Cfg"), \
179 cl::init(Ice::BuildDefs::dump())) \ 183 cl::init(Ice::BuildDefs::dump())) \
180 \ 184 \
181 X(LLVMVerboseErrors, bool, dev_opt_flag, "verbose-llvm-parse-errors", \ 185 X(LLVMVerboseErrors, bool, dev_opt_flag, "verbose-llvm-parse-errors", \
182 cl::desc("Print out more descriptive PNaCl bitcode parse errors when " \ 186 cl::desc("Print out more descriptive PNaCl bitcode parse errors when " \
183 "building LLVM IR first"), \ 187 "building LLVM IR first"), \
184 cl::init(false)) \ 188 cl::init(false)) \
185 \ 189 \
186 X(LocalCseMaxIterations, int, dev_opt_flag, "lcse-max-iters", \ 190 X(LocalCseMaxIterations, int, dev_opt_flag, "lcse-max-iters", \
187 cl::desc("Number of times local-cse is run on a block"), cl::init(2)) \ 191 cl::desc("Number of times local-cse is run on a block"), cl::init(1)) \
188 \ 192 \
189 X(LoopInvariantCodeMotion, bool, dev_opt_flag, "licm", \ 193 X(LoopInvariantCodeMotion, bool, dev_opt_flag, "licm", \
190 cl::desc("Hoist loop invariant arithmetic operations"), cl::init(false)) \ 194 cl::desc("Hoist loop invariant arithmetic operations"), cl::init(false)) \
191 \ 195 \
192 X(LogFilename, std::string, dev_opt_flag, "log", \ 196 X(LogFilename, std::string, dev_opt_flag, "log", \
193 cl::desc("Set log filename"), cl::init("-"), cl::value_desc("filename")) \ 197 cl::desc("Set log filename"), cl::init("-"), cl::value_desc("filename")) \
194 \ 198 \
195 X(MaxNopsPerInstruction, int, dev_opt_flag, "max-nops-per-instruction", \ 199 X(MaxNopsPerInstruction, int, dev_opt_flag, "max-nops-per-instruction", \
196 cl::desc("Max number of nops to insert per instruction"), cl::init(1)) \ 200 cl::desc("Max number of nops to insert per instruction"), cl::init(1)) \
197 \ 201 \
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 \ 371 \
368 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ 372 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \
369 cl::desc("Add bounds checking code in WASM frontend"), \ 373 cl::desc("Add bounds checking code in WASM frontend"), \
370 cl::init(true)) 374 cl::init(true))
371 375
372 //#define X(Name, Type, ClType, ...) 376 //#define X(Name, Type, ClType, ...)
373 377
374 } // end of namespace Ice 378 } // end of namespace Ice
375 379
376 #endif // SUBZERO_SRC_ICECLFLAGS_DEF 380 #endif // SUBZERO_SRC_ICECLFLAGS_DEF
OLDNEW
« src/IceCfg.cpp ('K') | « src/IceCfg.cpp ('k') | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698