OLD | NEW |
1 //===- subzero/src/IceClFlags.cpp - Command line flags and parsing --------===// | 1 //===- subzero/src/IceClFlags.cpp - Command line flags and parsing --------===// |
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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 clEnumValN(Ice::IceV_Succs, "succ", "Show successors"), | 262 clEnumValN(Ice::IceV_Succs, "succ", "Show successors"), |
263 clEnumValN(Ice::IceV_Liveness, "live", "Liveness information"), | 263 clEnumValN(Ice::IceV_Liveness, "live", "Liveness information"), |
264 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"), | 264 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"), |
265 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"), | 265 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"), |
266 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"), | 266 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"), |
267 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"), | 267 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"), |
268 clEnumValN(Ice::IceV_Random, "random", "Randomization details"), | 268 clEnumValN(Ice::IceV_Random, "random", "Randomization details"), |
269 clEnumValN(Ice::IceV_Folding, "fold", "Instruction folding details"), | 269 clEnumValN(Ice::IceV_Folding, "fold", "Instruction folding details"), |
270 clEnumValN(Ice::IceV_RMW, "rmw", "ReadModifyWrite optimization"), | 270 clEnumValN(Ice::IceV_RMW, "rmw", "ReadModifyWrite optimization"), |
271 clEnumValN(Ice::IceV_Loop, "loop", "Loop nest depth analysis"), | 271 clEnumValN(Ice::IceV_Loop, "loop", "Loop nest depth analysis"), |
| 272 clEnumValN(Ice::IceV_Status, "status", |
| 273 "Print the name of the function being translated"), |
272 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"), | 274 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"), |
273 clEnumValN(Ice::IceV_Most, "most", | 275 clEnumValN(Ice::IceV_Most, "most", |
274 "Use all verbose options except 'regalloc'"), | 276 "Use all verbose options except 'regalloc'"), |
275 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)); | 277 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)); |
276 | 278 |
277 // Options not captured in Ice::ClFlags and propagated. | 279 // Options not captured in Ice::ClFlags and propagated. |
278 | 280 |
279 cl::opt<bool> AlwaysExitSuccess( | 281 cl::opt<bool> AlwaysExitSuccess( |
280 "exit-success", cl::desc("Exit with success status, even if errors found"), | 282 "exit-success", cl::desc("Exit with success status, even if errors found"), |
281 cl::init(false)); | 283 cl::init(false)); |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); | 511 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); |
510 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); | 512 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); |
511 OutFlagsExtra.setAppName(AppName); | 513 OutFlagsExtra.setAppName(AppName); |
512 OutFlagsExtra.setInputFileFormat(InputFileFormat); | 514 OutFlagsExtra.setInputFileFormat(InputFileFormat); |
513 OutFlagsExtra.setIRFilename(IRFilename); | 515 OutFlagsExtra.setIRFilename(IRFilename); |
514 OutFlagsExtra.setLogFilename(LogFilename); | 516 OutFlagsExtra.setLogFilename(LogFilename); |
515 OutFlagsExtra.setOutputFilename(OutputFilename); | 517 OutFlagsExtra.setOutputFilename(OutputFilename); |
516 } | 518 } |
517 | 519 |
518 } // end of namespace Ice | 520 } // end of namespace Ice |
OLD | NEW |