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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 cl::desc("Build ICE instructions when reading bitcode"), cl::init(true)) \ | 104 cl::desc("Build ICE instructions when reading bitcode"), cl::init(true)) \ |
105 \ | 105 \ |
106 X(DataSections, bool, dev_opt_flag, "fdata-sections", \ | 106 X(DataSections, bool, dev_opt_flag, "fdata-sections", \ |
107 cl::desc("Emit (global) data into separate sections")) \ | 107 cl::desc("Emit (global) data into separate sections")) \ |
108 \ | 108 \ |
109 X(DecorateAsm, bool, dev_opt_flag, "asm-verbose", \ | 109 X(DecorateAsm, bool, dev_opt_flag, "asm-verbose", \ |
110 cl::desc("Decorate textual asm output with register liveness info")) \ | 110 cl::desc("Decorate textual asm output with register liveness info")) \ |
111 \ | 111 \ |
112 X(DefaultFunctionPrefix, std::string, dev_opt_flag, \ | 112 X(DefaultFunctionPrefix, std::string, dev_opt_flag, \ |
113 "default-function-prefix", \ | 113 "default-function-prefix", \ |
114 cl::desc("Define default function prefix for naming " \ | 114 cl::desc("Define default function prefix for naming unnamed functions"), \ |
115 "unnamed functions"), \ | 115 cl::init("Function")) \ |
116 cl::init(Ice::BuildDefs::dump() ? "Function" : "F")) \ | |
117 \ | 116 \ |
118 X(DefaultGlobalPrefix, std::string, dev_opt_flag, "default-global-prefix", \ | 117 X(DefaultGlobalPrefix, std::string, dev_opt_flag, "default-global-prefix", \ |
119 cl::desc("Define default global prefix for naming " \ | 118 cl::desc("Define default global prefix for naming unnamed globals"), \ |
120 "unnamed globals"), \ | 119 cl::init("Global")) \ |
121 cl::init(Ice::BuildDefs::dump() ? "Global" : "G")) \ | |
122 \ | 120 \ |
123 X(DisableHybridAssembly, bool, dev_opt_flag, "no-hybrid-asm", \ | 121 X(DisableHybridAssembly, bool, dev_opt_flag, "no-hybrid-asm", \ |
124 cl::desc("Disable hybrid assembly when -filetype=iasm"), cl::init(false)) \ | 122 cl::desc("Disable hybrid assembly when -filetype=iasm"), cl::init(false)) \ |
125 \ | 123 \ |
126 X(DisableInternal, bool, dev_opt_flag, "externalize", \ | 124 X(DisableInternal, bool, dev_opt_flag, "externalize", \ |
127 cl::desc("Externalize all symbols")) \ | 125 cl::desc("Externalize all symbols")) \ |
128 \ | 126 \ |
129 X(DisableTranslation, bool, dev_opt_flag, "notranslate", \ | 127 X(DisableTranslation, bool, dev_opt_flag, "notranslate", \ |
130 cl::desc("Disable Subzero translation")) \ | 128 cl::desc("Disable Subzero translation")) \ |
131 \ | 129 \ |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)) \ | 335 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)) \ |
338 \ | 336 \ |
339 X(VerboseFocusOn, std::string, dev_opt_flag, "verbose-focus", \ | 337 X(VerboseFocusOn, std::string, dev_opt_flag, "verbose-focus", \ |
340 cl::desc("Override with -verbose=none except for the specified function"), \ | 338 cl::desc("Override with -verbose=none except for the specified function"), \ |
341 cl::init("")) | 339 cl::init("")) |
342 //#define X(Name, Type, ClType, ...) | 340 //#define X(Name, Type, ClType, ...) |
343 | 341 |
344 } // end of namespace Ice | 342 } // end of namespace Ice |
345 | 343 |
346 #endif // SUBZERO_SRC_ICECLFLAGS_DEF | 344 #endif // SUBZERO_SRC_ICECLFLAGS_DEF |
OLD | NEW |