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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"), \ | 328 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"), \ |
329 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"), \ | 329 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"), \ |
330 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"), \ | 330 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"), \ |
331 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"), \ | 331 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"), \ |
332 clEnumValN(Ice::IceV_Random, "random", "Randomization details"), \ | 332 clEnumValN(Ice::IceV_Random, "random", "Randomization details"), \ |
333 clEnumValN(Ice::IceV_Folding, "fold", "Instruction folding details"), \ | 333 clEnumValN(Ice::IceV_Folding, "fold", "Instruction folding details"), \ |
334 clEnumValN(Ice::IceV_RMW, "rmw", "ReadModifyWrite optimization"), \ | 334 clEnumValN(Ice::IceV_RMW, "rmw", "ReadModifyWrite optimization"), \ |
335 clEnumValN(Ice::IceV_Loop, "loop", "Loop nest depth analysis"), \ | 335 clEnumValN(Ice::IceV_Loop, "loop", "Loop nest depth analysis"), \ |
336 clEnumValN(Ice::IceV_Mem, "mem", "Memory usage details"), \ | 336 clEnumValN(Ice::IceV_Mem, "mem", "Memory usage details"), \ |
337 clEnumValN(Ice::IceV_ShufMat, "shufvec", \ | 337 clEnumValN(Ice::IceV_ShufMat, "shufvec", \ |
338 » "Shufflevector rematerialization"), \ | 338 "Shufflevector rematerialization"), \ |
339 clEnumValN(Ice::IceV_Status, "status", \ | 339 clEnumValN(Ice::IceV_Status, "status", \ |
340 "Print the name of the function being translated"), \ | 340 "Print the name of the function being translated"), \ |
341 clEnumValN(Ice::IceV_AvailableRegs, "registers", \ | 341 clEnumValN(Ice::IceV_AvailableRegs, "registers", \ |
342 "Show available registers for register allocation"), \ | 342 "Show available registers for register allocation"), \ |
343 clEnumValN(Ice::IceV_GlobalInit, "global_init", \ | 343 clEnumValN(Ice::IceV_GlobalInit, "global_init", \ |
344 "Global initializers"), \ | 344 "Global initializers"), \ |
345 clEnumValN(Ice::IceV_ConstPoolStats, "cpool", \ | 345 clEnumValN(Ice::IceV_ConstPoolStats, "cpool", \ |
346 "Constant pool counters"), \ | 346 "Constant pool counters"), \ |
347 clEnumValN(Ice::IceV_Wasm, "wasm", "WebAssembly builder"), \ | 347 clEnumValN(Ice::IceV_Wasm, "wasm", "WebAssembly builder"), \ |
348 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"), \ | 348 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"), \ |
349 clEnumValN(Ice::IceV_Most, "most", \ | 349 clEnumValN(Ice::IceV_Most, "most", \ |
350 "Use all verbose options except 'regalloc,global_init'"), \ | 350 "Use all verbose options except 'regalloc,global_init'"), \ |
351 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)) \ | 351 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)) \ |
352 \ | 352 \ |
353 X(VerboseFocusOnString, std::string, dev_opt_flag, "verbose-focus", \ | 353 X(VerboseFocusOnString, std::string, dev_opt_flag, "verbose-focus", \ |
354 cl::desc("Override with -verbose=none except for specified functions"), \ | 354 cl::desc("Override with -verbose=none except for specified functions"), \ |
355 cl::init(":")) \ | 355 cl::init(":")) \ |
356 \ | 356 \ |
357 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ | 357 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ |
358 cl::desc("Add bounds checking code in WASM frontend"), \ | 358 cl::desc("Add bounds checking code in WASM frontend"), \ |
359 cl::init(true)) | 359 cl::init(true)) |
360 //#define X(Name, Type, ClType, ...) | 360 //#define X(Name, Type, ClType, ...) |
361 | 361 |
362 } // end of namespace Ice | 362 } // end of namespace Ice |
363 | 363 |
364 #endif // SUBZERO_SRC_ICECLFLAGS_DEF | 364 #endif // SUBZERO_SRC_ICECLFLAGS_DEF |
OLD | NEW |