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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 cl::desc("Force -O2 for certain functions (assumes -Om1)"), cl::init("")) \ | 160 cl::desc("Force -O2 for certain functions (assumes -Om1)"), cl::init("")) \ |
161 \ | 161 \ |
162 X(FunctionSections, bool, dev_opt_flag, "ffunction-sections", \ | 162 X(FunctionSections, bool, dev_opt_flag, "ffunction-sections", \ |
163 cl::desc("Emit functions into separate sections")) \ | 163 cl::desc("Emit functions into separate sections")) \ |
164 \ | 164 \ |
165 X(GenerateBuildAtts, bool, release_opt_flag, "build-atts", \ | 165 X(GenerateBuildAtts, bool, release_opt_flag, "build-atts", \ |
166 cl::desc("Generate list of build attributes associated with " \ | 166 cl::desc("Generate list of build attributes associated with " \ |
167 "this executable."), \ | 167 "this executable."), \ |
168 cl::init(false)) \ | 168 cl::init(false)) \ |
169 \ | 169 \ |
| 170 X(SplitGlobalVars, bool, dev_opt_flag, "split-global-vars", \ |
| 171 cl::desc("Global live range splitting"), \ |
| 172 cl::init(false)) \ |
| 173 \ |
170 X(InputFileFormat, llvm::NaClFileFormat, dev_opt_flag, "bitcode-format", \ | 174 X(InputFileFormat, llvm::NaClFileFormat, dev_opt_flag, "bitcode-format", \ |
171 cl::desc("Define format of input file:"), \ | 175 cl::desc("Define format of input file:"), \ |
172 cl::values(clEnumValN(llvm::LLVMFormat, "llvm", "LLVM file (default)"), \ | 176 cl::values(clEnumValN(llvm::LLVMFormat, "llvm", "LLVM file (default)"), \ |
173 clEnumValN(llvm::PNaClFormat, "pnacl", "PNaCl bitcode file"), \ | 177 clEnumValN(llvm::PNaClFormat, "pnacl", "PNaCl bitcode file"), \ |
174 clEnumValEnd), \ | 178 clEnumValEnd), \ |
175 cl::init(llvm::LLVMFormat)) \ | 179 cl::init(llvm::LLVMFormat)) \ |
176 \ | 180 \ |
177 X(KeepDeletedInsts, bool, dev_opt_flag, "keep-deleted-insts", \ | 181 X(KeepDeletedInsts, bool, dev_opt_flag, "keep-deleted-insts", \ |
178 cl::desc("Retain deleted instructions in the Cfg"), \ | 182 cl::desc("Retain deleted instructions in the Cfg"), \ |
179 cl::init(Ice::BuildDefs::dump())) \ | 183 cl::init(Ice::BuildDefs::dump())) \ |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 \ | 371 \ |
368 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ | 372 X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \ |
369 cl::desc("Add bounds checking code in WASM frontend"), \ | 373 cl::desc("Add bounds checking code in WASM frontend"), \ |
370 cl::init(true)) | 374 cl::init(true)) |
371 | 375 |
372 //#define X(Name, Type, ClType, ...) | 376 //#define X(Name, Type, ClType, ...) |
373 | 377 |
374 } // end of namespace Ice | 378 } // end of namespace Ice |
375 | 379 |
376 #endif // SUBZERO_SRC_ICECLFLAGS_DEF | 380 #endif // SUBZERO_SRC_ICECLFLAGS_DEF |
OLD | NEW |