Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(833)

Side by Side Diff: src/IceClFlags.cpp

Issue 1182603004: Subzero: Transform suitable Load/Arith/Store sequences into RMW ops. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceDefs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 "Print instruction numbers"), 204 "Print instruction numbers"),
205 clEnumValN(Ice::IceV_Preds, "pred", "Show predecessors"), 205 clEnumValN(Ice::IceV_Preds, "pred", "Show predecessors"),
206 clEnumValN(Ice::IceV_Succs, "succ", "Show successors"), 206 clEnumValN(Ice::IceV_Succs, "succ", "Show successors"),
207 clEnumValN(Ice::IceV_Liveness, "live", "Liveness information"), 207 clEnumValN(Ice::IceV_Liveness, "live", "Liveness information"),
208 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"), 208 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"),
209 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"), 209 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"),
210 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"), 210 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"),
211 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"), 211 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"),
212 clEnumValN(Ice::IceV_Random, "random", "Randomization details"), 212 clEnumValN(Ice::IceV_Random, "random", "Randomization details"),
213 clEnumValN(Ice::IceV_Folding, "fold", "Instruction folding details"), 213 clEnumValN(Ice::IceV_Folding, "fold", "Instruction folding details"),
214 clEnumValN(Ice::IceV_RMW, "rmw", "ReadModifyWrite optimization"),
214 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"), 215 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"),
215 clEnumValN(Ice::IceV_Most, "most", 216 clEnumValN(Ice::IceV_Most, "most",
216 "Use all verbose options except 'regalloc'"), 217 "Use all verbose options except 'regalloc'"),
217 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)); 218 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd));
218 219
219 // Options not captured in Ice::ClFlags and propagated. 220 // Options not captured in Ice::ClFlags and propagated.
220 221
221 cl::opt<bool> AlwaysExitSuccess( 222 cl::opt<bool> AlwaysExitSuccess(
222 "exit-success", cl::desc("Exit with success status, even if errors found"), 223 "exit-success", cl::desc("Exit with success status, even if errors found"),
223 cl::init(false)); 224 cl::init(false));
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); 358 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts);
358 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); 359 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors);
359 OutFlagsExtra.setAppName(AppName); 360 OutFlagsExtra.setAppName(AppName);
360 OutFlagsExtra.setInputFileFormat(InputFileFormat); 361 OutFlagsExtra.setInputFileFormat(InputFileFormat);
361 OutFlagsExtra.setIRFilename(IRFilename); 362 OutFlagsExtra.setIRFilename(IRFilename);
362 OutFlagsExtra.setLogFilename(LogFilename); 363 OutFlagsExtra.setLogFilename(LogFilename);
363 OutFlagsExtra.setOutputFilename(OutputFilename); 364 OutFlagsExtra.setOutputFilename(OutputFilename);
364 } 365 }
365 366
366 } // end of namespace Ice 367 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698