| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |