| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 cl::init(Ice::BuildDefs::dump())) \ | 179 cl::init(Ice::BuildDefs::dump())) \ |
| 180 \ | 180 \ |
| 181 X(LLVMVerboseErrors, bool, dev_opt_flag, "verbose-llvm-parse-errors", \ | 181 X(LLVMVerboseErrors, bool, dev_opt_flag, "verbose-llvm-parse-errors", \ |
| 182 cl::desc("Print out more descriptive PNaCl bitcode parse errors when " \ | 182 cl::desc("Print out more descriptive PNaCl bitcode parse errors when " \ |
| 183 "building LLVM IR first"), \ | 183 "building LLVM IR first"), \ |
| 184 cl::init(false)) \ | 184 cl::init(false)) \ |
| 185 \ | 185 \ |
| 186 X(LocalCseMaxIterations, int, dev_opt_flag, "lcse-max-iters", \ | 186 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)) \ | 187 cl::desc("Number of times local-cse is run on a block"), cl::init(2)) \ |
| 188 \ | 188 \ |
| 189 X(LoopInvariantCodeMotion, bool, dev_opt_flag, "licm", \ |
| 190 cl::desc("Hoist loop invariant arithmetic operations"), cl::init(false)) \ |
| 191 \ |
| 189 X(LogFilename, std::string, dev_opt_flag, "log", \ | 192 X(LogFilename, std::string, dev_opt_flag, "log", \ |
| 190 cl::desc("Set log filename"), cl::init("-"), cl::value_desc("filename")) \ | 193 cl::desc("Set log filename"), cl::init("-"), cl::value_desc("filename")) \ |
| 191 \ | 194 \ |
| 192 X(MaxNopsPerInstruction, int, dev_opt_flag, "max-nops-per-instruction", \ | 195 X(MaxNopsPerInstruction, int, dev_opt_flag, "max-nops-per-instruction", \ |
| 193 cl::desc("Max number of nops to insert per instruction"), cl::init(1)) \ | 196 cl::desc("Max number of nops to insert per instruction"), cl::init(1)) \ |
| 194 \ | 197 \ |
| 195 X(MockBoundsCheck, bool, dev_opt_flag, "mock-bounds-check", \ | 198 X(MockBoundsCheck, bool, dev_opt_flag, "mock-bounds-check", \ |
| 196 cl::desc("Mock bounds checking on loads/stores")) \ | 199 cl::desc("Mock bounds checking on loads/stores")) \ |
| 197 \ | 200 \ |
| 198 X(NopProbabilityAsPercentage, int, dev_opt_flag, "nop-insertion-percentage", \ | 201 X(NopProbabilityAsPercentage, int, dev_opt_flag, "nop-insertion-percentage", \ |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 \ | 367 \ |
| 365 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ | 368 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ |
| 366 cl::desc("Add bounds checking code in WASM frontend"), \ | 369 cl::desc("Add bounds checking code in WASM frontend"), \ |
| 367 cl::init(true)) | 370 cl::init(true)) |
| 368 | 371 |
| 369 //#define X(Name, Type, ClType, ...) | 372 //#define X(Name, Type, ClType, ...) |
| 370 | 373 |
| 371 } // end of namespace Ice | 374 } // end of namespace Ice |
| 372 | 375 |
| 373 #endif // SUBZERO_SRC_ICECLFLAGS_DEF | 376 #endif // SUBZERO_SRC_ICECLFLAGS_DEF |
| OLD | NEW |