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

Side by Side Diff: src/IceClFlags.cpp

Issue 1768173002: Subzero: Count lookups of each constant value in the constant pool. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 4 years, 9 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.h ('k') | src/IceCompileServer.cpp » ('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 /// \file 10 /// \file
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 clEnumValN(Ice::IceV_Succs, "succ", "Show successors"), 324 clEnumValN(Ice::IceV_Succs, "succ", "Show successors"),
325 clEnumValN(Ice::IceV_Liveness, "live", "Liveness information"), 325 clEnumValN(Ice::IceV_Liveness, "live", "Liveness information"),
326 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"), 326 clEnumValN(Ice::IceV_RegOrigins, "orig", "Physical register origins"),
327 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"), 327 clEnumValN(Ice::IceV_LinearScan, "regalloc", "Linear scan details"),
328 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"), 328 clEnumValN(Ice::IceV_Frame, "frame", "Stack frame layout details"),
329 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"), 329 clEnumValN(Ice::IceV_AddrOpt, "addropt", "Address mode optimization"),
330 clEnumValN(Ice::IceV_Random, "random", "Randomization details"), 330 clEnumValN(Ice::IceV_Random, "random", "Randomization details"),
331 clEnumValN(Ice::IceV_Folding, "fold", "Instruction folding details"), 331 clEnumValN(Ice::IceV_Folding, "fold", "Instruction folding details"),
332 clEnumValN(Ice::IceV_RMW, "rmw", "ReadModifyWrite optimization"), 332 clEnumValN(Ice::IceV_RMW, "rmw", "ReadModifyWrite optimization"),
333 clEnumValN(Ice::IceV_Loop, "loop", "Loop nest depth analysis"), 333 clEnumValN(Ice::IceV_Loop, "loop", "Loop nest depth analysis"),
334 clEnumValN(Ice::IceV_Mem, "mem", "Memory usage details"),
334 clEnumValN(Ice::IceV_Status, "status", 335 clEnumValN(Ice::IceV_Status, "status",
335 "Print the name of the function being translated"), 336 "Print the name of the function being translated"),
336 clEnumValN(Ice::IceV_AvailableRegs, "registers", 337 clEnumValN(Ice::IceV_AvailableRegs, "registers",
337 "Show available registers for register allocation"), 338 "Show available registers for register allocation"),
338 clEnumValN(Ice::IceV_Mem, "mem", "Memory usage details"),
339 clEnumValN(Ice::IceV_GlobalInit, "global_init", "Global initializers"), 339 clEnumValN(Ice::IceV_GlobalInit, "global_init", "Global initializers"),
340 clEnumValN(Ice::IceV_ConstPoolStats, "cpool", "Constant pool counters"),
340 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"), 341 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"),
341 clEnumValN(Ice::IceV_Most, "most", 342 clEnumValN(Ice::IceV_Most, "most",
342 "Use all verbose options except 'regalloc,global_init'"), 343 "Use all verbose options except 'regalloc,global_init'"),
343 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)); 344 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd));
344 345
345 // Options not captured in Ice::ClFlags and propagated. 346 // Options not captured in Ice::ClFlags and propagated.
346 347
347 /// Exit with success status, even if errors found. 348 /// Exit with success status, even if errors found.
348 cl::opt<bool> AlwaysExitSuccess( 349 cl::opt<bool> AlwaysExitSuccess(
349 "exit-success", cl::desc("Exit with success status, even if errors found"), 350 "exit-success", cl::desc("Exit with success status, even if errors found"),
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); 586 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts);
586 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); 587 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors);
587 OutFlagsExtra.setAppName(AppName); 588 OutFlagsExtra.setAppName(AppName);
588 OutFlagsExtra.setInputFileFormat(InputFileFormat); 589 OutFlagsExtra.setInputFileFormat(InputFileFormat);
589 OutFlagsExtra.setIRFilename(IRFilename); 590 OutFlagsExtra.setIRFilename(IRFilename);
590 OutFlagsExtra.setLogFilename(LogFilename); 591 OutFlagsExtra.setLogFilename(LogFilename);
591 OutFlagsExtra.setOutputFilename(OutputFilename); 592 OutFlagsExtra.setOutputFilename(OutputFilename);
592 } 593 }
593 594
594 } // end of namespace Ice 595 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceCfg.h ('k') | src/IceCompileServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698