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 // This file defines commandline flags parsing. | 10 // This file defines commandline flags parsing. |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 clEnumValN(Ice::IceV_InstNumbers, "instnum", | 188 clEnumValN(Ice::IceV_InstNumbers, "instnum", |
189 "Print instruction numbers"), | 189 "Print instruction numbers"), |
190 clEnumValN(Ice::IceV_Preds, "pred", "Show predecessors"), | 190 clEnumValN(Ice::IceV_Preds, "pred", "Show predecessors"), |
191 clEnumValN(Ice::IceV_Succs, "succ", "Show successors"), | 191 clEnumValN(Ice::IceV_Succs, "succ", "Show successors"), |
192 clEnumValN(Ice::IceV_Liveness, "live", "Liveness information"), | 192 clEnumValN(Ice::IceV_Liveness, "live", "Liveness information"), |
193 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"), | 193 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"), |
194 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"), | 194 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"), |
195 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"), | 195 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"), |
196 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"), | 196 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"), |
197 clEnumValN(Ice::IceV_Random, "random", "Randomization details"), | 197 clEnumValN(Ice::IceV_Random, "random", "Randomization details"), |
| 198 clEnumValN(Ice::IceV_Folding, "fold", "Instruction folding details"), |
198 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"), | 199 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"), |
199 clEnumValN(Ice::IceV_Most, "most", | 200 clEnumValN(Ice::IceV_Most, "most", |
200 "Use all verbose options except 'regalloc'"), | 201 "Use all verbose options except 'regalloc'"), |
201 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)); | 202 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)); |
202 | 203 |
203 // Options not captured in Ice::ClFlags and propagated. | 204 // Options not captured in Ice::ClFlags and propagated. |
204 | 205 |
205 cl::opt<bool> AlwaysExitSuccess( | 206 cl::opt<bool> AlwaysExitSuccess( |
206 "exit-success", cl::desc("Exit with success status, even if errors found"), | 207 "exit-success", cl::desc("Exit with success status, even if errors found"), |
207 cl::init(false)); | 208 cl::init(false)); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); | 340 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); |
340 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); | 341 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); |
341 OutFlagsExtra.setAppName(AppName); | 342 OutFlagsExtra.setAppName(AppName); |
342 OutFlagsExtra.setInputFileFormat(InputFileFormat); | 343 OutFlagsExtra.setInputFileFormat(InputFileFormat); |
343 OutFlagsExtra.setIRFilename(IRFilename); | 344 OutFlagsExtra.setIRFilename(IRFilename); |
344 OutFlagsExtra.setLogFilename(LogFilename); | 345 OutFlagsExtra.setLogFilename(LogFilename); |
345 OutFlagsExtra.setOutputFilename(OutputFilename); | 346 OutFlagsExtra.setOutputFilename(OutputFilename); |
346 } | 347 } |
347 | 348 |
348 } // end of namespace Ice | 349 } // end of namespace Ice |
OLD | NEW |