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

Side by Side Diff: src/IceClFlags.def

Issue 1997443002: Subzero: Initial implementation of BB Local CSE (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Final touches Created 4 years, 7 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
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceInst.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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", \
144 cl::desc("Enable Optimizations not yet part of O2"), \
145 cl::init(false)) \
146 \
143 X(EnablePhiEdgeSplit, bool, dev_opt_flag, "phi-edge-split", \ 147 X(EnablePhiEdgeSplit, bool, dev_opt_flag, "phi-edge-split", \
144 cl::desc("Enable edge splitting for Phi lowering"), cl::init(true)) \ 148 cl::desc("Enable edge splitting for Phi lowering"), cl::init(true)) \
145 \ 149 \
146 X(ExcludedRegisters, std::string, dev_list_flag, "reg-exclude", \ 150 X(ExcludedRegisters, std::string, dev_list_flag, "reg-exclude", \
147 cl::CommaSeparated, cl::desc("Don't use specified registers")) \ 151 cl::CommaSeparated, cl::desc("Don't use specified registers")) \
148 \ 152 \
149 X(ForceMemIntrinOpt, bool, dev_opt_flag, "fmem-intrin-opt", \ 153 X(ForceMemIntrinOpt, bool, dev_opt_flag, "fmem-intrin-opt", \
150 cl::desc("Force optimization of memory intrinsics.")) \ 154 cl::desc("Force optimization of memory intrinsics.")) \
151 \ 155 \
152 X(ForceO2String, std::string, dev_opt_flag, "force-O2", \ 156 X(ForceO2String, std::string, dev_opt_flag, "force-O2", \
(...skipping 16 matching lines...) Expand all
169 \ 173 \
170 X(KeepDeletedInsts, bool, dev_opt_flag, "keep-deleted-insts", \ 174 X(KeepDeletedInsts, bool, dev_opt_flag, "keep-deleted-insts", \
171 cl::desc("Retain deleted instructions in the Cfg"), \ 175 cl::desc("Retain deleted instructions in the Cfg"), \
172 cl::init(Ice::BuildDefs::dump())) \ 176 cl::init(Ice::BuildDefs::dump())) \
173 \ 177 \
174 X(LLVMVerboseErrors, bool, dev_opt_flag, "verbose-llvm-parse-errors", \ 178 X(LLVMVerboseErrors, bool, dev_opt_flag, "verbose-llvm-parse-errors", \
175 cl::desc("Print out more descriptive PNaCl bitcode parse errors when " \ 179 cl::desc("Print out more descriptive PNaCl bitcode parse errors when " \
176 "building LLVM IR first"), \ 180 "building LLVM IR first"), \
177 cl::init(false)) \ 181 cl::init(false)) \
178 \ 182 \
183 X(LocalCseMaxIterations, int, dev_opt_flag, "lcse-max-iters", \
184 cl::desc("Number of times local-cse is run on a block"), cl::init(2)) \
185 \
179 X(LogFilename, std::string, dev_opt_flag, "log", \ 186 X(LogFilename, std::string, dev_opt_flag, "log", \
180 cl::desc("Set log filename"), cl::init("-"), cl::value_desc("filename")) \ 187 cl::desc("Set log filename"), cl::init("-"), cl::value_desc("filename")) \
181 \ 188 \
182 X(MaxNopsPerInstruction, int, dev_opt_flag, "max-nops-per-instruction", \ 189 X(MaxNopsPerInstruction, int, dev_opt_flag, "max-nops-per-instruction", \
183 cl::desc("Max number of nops to insert per instruction"), cl::init(1)) \ 190 cl::desc("Max number of nops to insert per instruction"), cl::init(1)) \
184 \ 191 \
185 X(MockBoundsCheck, bool, dev_opt_flag, "mock-bounds-check", \ 192 X(MockBoundsCheck, bool, dev_opt_flag, "mock-bounds-check", \
186 cl::desc("Mock bounds checking on loads/stores")) \ 193 cl::desc("Mock bounds checking on loads/stores")) \
187 \ 194 \
188 X(NopProbabilityAsPercentage, int, dev_opt_flag, "nop-insertion-percentage", \ 195 X(NopProbabilityAsPercentage, int, dev_opt_flag, "nop-insertion-percentage", \
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 cl::init(":")) \ 355 cl::init(":")) \
349 \ 356 \
350 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ 357 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \
351 cl::desc("Add bounds checking code in WASM frontend"), \ 358 cl::desc("Add bounds checking code in WASM frontend"), \
352 cl::init(true)) 359 cl::init(true))
353 //#define X(Name, Type, ClType, ...) 360 //#define X(Name, Type, ClType, ...)
354 361
355 } // end of namespace Ice 362 } // end of namespace Ice
356 363
357 #endif // SUBZERO_SRC_ICECLFLAGS_DEF 364 #endif // SUBZERO_SRC_ICECLFLAGS_DEF
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceInst.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698