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

Side by Side Diff: src/IceClFlags.def

Issue 2177033002: Subzero: Local variable splitting. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes, mostly renaming. 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
« no previous file with comments | « src/IceClFlags.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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 \ 152 \
153 X(ExcludedRegisters, std::string, dev_list_flag, "reg-exclude", \ 153 X(ExcludedRegisters, std::string, dev_list_flag, "reg-exclude", \
154 cl::CommaSeparated, cl::desc("Don't use specified registers")) \ 154 cl::CommaSeparated, cl::desc("Don't use specified registers")) \
155 \ 155 \
156 X(ForceMemIntrinOpt, bool, dev_opt_flag, "fmem-intrin-opt", \ 156 X(ForceMemIntrinOpt, bool, dev_opt_flag, "fmem-intrin-opt", \
157 cl::desc("Force optimization of memory intrinsics.")) \ 157 cl::desc("Force optimization of memory intrinsics.")) \
158 \ 158 \
159 X(ForceO2String, std::string, dev_opt_flag, "force-O2", \ 159 X(ForceO2String, std::string, dev_opt_flag, "force-O2", \
160 cl::desc("Force -O2 for certain functions (assumes -Om1)"), cl::init("")) \ 160 cl::desc("Force -O2 for certain functions (assumes -Om1)"), cl::init("")) \
161 \ 161 \
162 X(SplitInstString, std::string, dev_opt_flag, "split-inst", \
163 cl::desc("Restrict local var splitting to specific insts"), cl::init(":")) \
164 \
162 X(FunctionSections, bool, dev_opt_flag, "ffunction-sections", \ 165 X(FunctionSections, bool, dev_opt_flag, "ffunction-sections", \
163 cl::desc("Emit functions into separate sections")) \ 166 cl::desc("Emit functions into separate sections")) \
164 \ 167 \
165 X(GenerateBuildAtts, bool, release_opt_flag, "build-atts", \ 168 X(GenerateBuildAtts, bool, release_opt_flag, "build-atts", \
166 cl::desc("Generate list of build attributes associated with " \ 169 cl::desc("Generate list of build attributes associated with " \
167 "this executable."), \ 170 "this executable."), \
168 cl::init(false)) \ 171 cl::init(false)) \
169 \ 172 \
170 X(InputFileFormat, llvm::NaClFileFormat, dev_opt_flag, "bitcode-format", \ 173 X(InputFileFormat, llvm::NaClFileFormat, dev_opt_flag, "bitcode-format", \
171 cl::desc("Define format of input file:"), \ 174 cl::desc("Define format of input file:"), \
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 clEnumValEnd)) \ 229 clEnumValEnd)) \
227 \ 230 \
228 X(RandomizeAndPoolImmediatesThreshold, uint32_t, dev_opt_flag, \ 231 X(RandomizeAndPoolImmediatesThreshold, uint32_t, dev_opt_flag, \
229 "randomize-pool-threshold", \ 232 "randomize-pool-threshold", \
230 cl::desc("The threshold for immediates randomization and pooling"), \ 233 cl::desc("The threshold for immediates randomization and pooling"), \
231 cl::init(0xffff)) \ 234 cl::init(0xffff)) \
232 \ 235 \
233 X(RandomizeRegisterAllocation, bool, dev_opt_flag, "randomize-regalloc", \ 236 X(RandomizeRegisterAllocation, bool, dev_opt_flag, "randomize-regalloc", \
234 cl::desc("Randomize register allocation"), cl::init(false)) \ 237 cl::desc("Randomize register allocation"), cl::init(false)) \
235 \ 238 \
239 X(SplitLocalVars, bool, dev_opt_flag, "split-local-vars", cl::init(true), \
240 cl::desc("Block-local variable splitting (O2 only)")) \
241 \
236 X(RandomSeed, unsigned long long, dev_opt_flag, "sz-seed", \ 242 X(RandomSeed, unsigned long long, dev_opt_flag, "sz-seed", \
237 cl::desc("Seed the random number generator"), cl::init(1)) \ 243 cl::desc("Seed the random number generator"), cl::init(1)) \
238 \ 244 \
239 X(RegAllocReserve, bool, dev_opt_flag, "reg-reserve", \ 245 X(RegAllocReserve, bool, dev_opt_flag, "reg-reserve", \
240 cl::desc("Let register allocation use reserve registers"), \ 246 cl::desc("Let register allocation use reserve registers"), \
241 cl::init(false)) \ 247 cl::init(false)) \
242 \ 248 \
243 X(ReorderBasicBlocks, bool, dev_opt_flag, "reorder-basic-blocks", \ 249 X(ReorderBasicBlocks, bool, dev_opt_flag, "reorder-basic-blocks", \
244 cl::desc("Shuffle the layout of basic blocks in each function"), \ 250 cl::desc("Shuffle the layout of basic blocks in each function"), \
245 cl::init(false)) \ 251 cl::init(false)) \
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 \ 373 \
368 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ 374 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \
369 cl::desc("Add bounds checking code in WASM frontend"), \ 375 cl::desc("Add bounds checking code in WASM frontend"), \
370 cl::init(true)) 376 cl::init(true))
371 377
372 //#define X(Name, Type, ClType, ...) 378 //#define X(Name, Type, ClType, ...)
373 379
374 } // end of namespace Ice 380 } // end of namespace Ice
375 381
376 #endif // SUBZERO_SRC_ICECLFLAGS_DEF 382 #endif // SUBZERO_SRC_ICECLFLAGS_DEF
OLDNEW
« no previous file with comments | « src/IceClFlags.cpp ('k') | src/IceInst.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698