| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 /// Decorate textual asm output with register liveness info. | 77 /// Decorate textual asm output with register liveness info. |
| 78 cl::opt<bool> DecorateAsm( | 78 cl::opt<bool> DecorateAsm( |
| 79 "asm-verbose", | 79 "asm-verbose", |
| 80 cl::desc("Decorate textual asm output with register liveness info")); | 80 cl::desc("Decorate textual asm output with register liveness info")); |
| 81 | 81 |
| 82 /// Define default function prefix for naming unnamed functions. | 82 /// Define default function prefix for naming unnamed functions. |
| 83 cl::opt<std::string> | 83 cl::opt<std::string> |
| 84 DefaultFunctionPrefix("default-function-prefix", | 84 DefaultFunctionPrefix("default-function-prefix", |
| 85 cl::desc("Define default function prefix for naming " | 85 cl::desc("Define default function prefix for naming " |
| 86 "unnamed functions"), | 86 "unnamed functions"), |
| 87 cl::init("Function")); | 87 cl::init(Ice::BuildDefs::dump() ? "Function" : "F")); |
| 88 | 88 |
| 89 /// Define default global prefix for naming unnamed globals. | 89 /// Define default global prefix for naming unnamed globals. |
| 90 cl::opt<std::string> | 90 cl::opt<std::string> |
| 91 DefaultGlobalPrefix("default-global-prefix", | 91 DefaultGlobalPrefix("default-global-prefix", |
| 92 cl::desc("Define default global prefix for naming " | 92 cl::desc("Define default global prefix for naming " |
| 93 "unnamed globals"), | 93 "unnamed globals"), |
| 94 cl::init("Global")); | 94 cl::init(Ice::BuildDefs::dump() ? "Global" : "G")); |
| 95 | 95 |
| 96 /// Disable hybrid assembly when -filetype=iasm. | 96 /// Disable hybrid assembly when -filetype=iasm. |
| 97 cl::opt<bool> DisableHybridAssembly( | 97 cl::opt<bool> DisableHybridAssembly( |
| 98 "no-hybrid-asm", cl::desc("Disable hybrid assembly when -filetype=iasm"), | 98 "no-hybrid-asm", cl::desc("Disable hybrid assembly when -filetype=iasm"), |
| 99 cl::init(false)); | 99 cl::init(false)); |
| 100 | 100 |
| 101 /// Externalize all symbols. | 101 /// Externalize all symbols. |
| 102 cl::opt<bool> DisableInternal("externalize", | 102 cl::opt<bool> DisableInternal("externalize", |
| 103 cl::desc("Externalize all symbols")); | 103 cl::desc("Externalize all symbols")); |
| 104 | 104 |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); | 596 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); |
| 597 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); | 597 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); |
| 598 OutFlagsExtra.setAppName(AppName); | 598 OutFlagsExtra.setAppName(AppName); |
| 599 OutFlagsExtra.setInputFileFormat(InputFileFormat); | 599 OutFlagsExtra.setInputFileFormat(InputFileFormat); |
| 600 OutFlagsExtra.setIRFilename(IRFilename); | 600 OutFlagsExtra.setIRFilename(IRFilename); |
| 601 OutFlagsExtra.setLogFilename(LogFilename); | 601 OutFlagsExtra.setLogFilename(LogFilename); |
| 602 OutFlagsExtra.setOutputFilename(OutputFilename); | 602 OutFlagsExtra.setOutputFilename(OutputFilename); |
| 603 } | 603 } |
| 604 | 604 |
| 605 } // end of namespace Ice | 605 } // end of namespace Ice |
| OLD | NEW |