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

Side by Side Diff: src/IceClFlags.def

Issue 2042063002: Created Ice::Instrumentation base class and accompanying hooks. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Style and comment fixes Created 4 years, 6 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/IceCompileServer.cpp » ('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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 \ 250 \
251 X(ReorderGlobalVariables, bool, dev_opt_flag, "reorder-global-variables", \ 251 X(ReorderGlobalVariables, bool, dev_opt_flag, "reorder-global-variables", \
252 cl::desc("Randomize global data ordering"), cl::init(false)) \ 252 cl::desc("Randomize global data ordering"), cl::init(false)) \
253 \ 253 \
254 X(ReorderPooledConstants, bool, dev_opt_flag, "reorder-pooled-constants", \ 254 X(ReorderPooledConstants, bool, dev_opt_flag, "reorder-pooled-constants", \
255 cl::desc("Randomize constant pool entry ordering"), cl::init(false)) \ 255 cl::desc("Randomize constant pool entry ordering"), cl::init(false)) \
256 \ 256 \
257 X(RepeatRegAlloc, bool, dev_opt_flag, "regalloc-repeat", \ 257 X(RepeatRegAlloc, bool, dev_opt_flag, "regalloc-repeat", \
258 cl::desc("Repeat register allocation until convergence"), cl::init(true)) \ 258 cl::desc("Repeat register allocation until convergence"), cl::init(true)) \
259 \ 259 \
260 /* TODO(tlively): Generalize this to handle more sanitizers */ \
261 X(SanitizeAddresses, bool, dev_opt_flag, "fsanitize-address", \
262 cl::desc("Instrument compiled code with Address Sanitizer"), \
263 cl::init(false)) \
264 \
260 X(ShouldDoNopInsertion, bool, dev_opt_flag, "nop-insertion", \ 265 X(ShouldDoNopInsertion, bool, dev_opt_flag, "nop-insertion", \
261 cl::desc("Randomly insert NOPs"), cl::init(false)) \ 266 cl::desc("Randomly insert NOPs"), cl::init(false)) \
262 \ 267 \
263 X(SkipUnimplemented, bool, dev_opt_flag, "skip-unimplemented", \ 268 X(SkipUnimplemented, bool, dev_opt_flag, "skip-unimplemented", \
264 cl::desc("Skip through unimplemented lowering code instead of aborting."), \ 269 cl::desc("Skip through unimplemented lowering code instead of aborting."), \
265 cl::init(false)) \ 270 cl::init(false)) \
266 \ 271 \
267 X(SubzeroTimingEnabled, bool, dev_opt_flag, "timing", \ 272 X(SubzeroTimingEnabled, bool, dev_opt_flag, "timing", \
268 cl::desc("Enable breakdown timing of Subzero translation")) \ 273 cl::desc("Enable breakdown timing of Subzero translation")) \
269 \ 274 \
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 "Use all verbose options except 'regalloc,global_init'"), \ 355 "Use all verbose options except 'regalloc,global_init'"), \
351 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)) \ 356 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)) \
352 \ 357 \
353 X(VerboseFocusOnString, std::string, dev_opt_flag, "verbose-focus", \ 358 X(VerboseFocusOnString, std::string, dev_opt_flag, "verbose-focus", \
354 cl::desc("Override with -verbose=none except for specified functions"), \ 359 cl::desc("Override with -verbose=none except for specified functions"), \
355 cl::init(":")) \ 360 cl::init(":")) \
356 \ 361 \
357 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ 362 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \
358 cl::desc("Add bounds checking code in WASM frontend"), \ 363 cl::desc("Add bounds checking code in WASM frontend"), \
359 cl::init(true)) 364 cl::init(true))
365
360 //#define X(Name, Type, ClType, ...) 366 //#define X(Name, Type, ClType, ...)
361 367
362 } // end of namespace Ice 368 } // end of namespace Ice
363 369
364 #endif // SUBZERO_SRC_ICECLFLAGS_DEF 370 #endif // SUBZERO_SRC_ICECLFLAGS_DEF
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceCompileServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698