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

Side by Side Diff: src/IceClFlags.cpp

Issue 1744913002: Subzero: Add "-verbose init" to control global initializer dumping. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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 | « pydir/run-pnacl-sz.py ('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 /// \file 10 /// \file
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_Status, "status", 334 clEnumValN(Ice::IceV_Status, "status",
335 "Print the name of the function being translated"), 335 "Print the name of the function being translated"),
336 clEnumValN(Ice::IceV_AvailableRegs, "registers", 336 clEnumValN(Ice::IceV_AvailableRegs, "registers",
337 "Show available registers for register allocation"), 337 "Show available registers for register allocation"),
338 clEnumValN(Ice::IceV_Mem, "mem", "Memory usage details"), 338 clEnumValN(Ice::IceV_Mem, "mem", "Memory usage details"),
339 clEnumValN(Ice::IceV_Init, "init", "Global initializers"),
John 2016/02/29 15:14:02 init doesn't really convey Global Initializers. gi
Jim Stichnoth 2016/02/29 17:39:28 Changed to global_init / IceV_GlobalInit.
339 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"), 340 clEnumValN(Ice::IceV_All, "all", "Use all verbose options"),
340 clEnumValN(Ice::IceV_Most, "most", 341 clEnumValN(Ice::IceV_Most, "most",
341 "Use all verbose options except 'regalloc'"), 342 "Use all verbose options except 'regalloc,init'"),
342 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd)); 343 clEnumValN(Ice::IceV_None, "none", "No verbosity"), clEnumValEnd));
343 344
344 // Options not captured in Ice::ClFlags and propagated. 345 // Options not captured in Ice::ClFlags and propagated.
345 346
346 /// Exit with success status, even if errors found. 347 /// Exit with success status, even if errors found.
347 cl::opt<bool> AlwaysExitSuccess( 348 cl::opt<bool> AlwaysExitSuccess(
348 "exit-success", cl::desc("Exit with success status, even if errors found"), 349 "exit-success", cl::desc("Exit with success status, even if errors found"),
349 cl::init(false)); 350 cl::init(false));
350 351
351 /// Note: While this flag isn't used in the minimal build, we keep this flag so 352 /// Note: While this flag isn't used in the minimal build, we keep this flag so
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); 585 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts);
585 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); 586 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors);
586 OutFlagsExtra.setAppName(AppName); 587 OutFlagsExtra.setAppName(AppName);
587 OutFlagsExtra.setInputFileFormat(InputFileFormat); 588 OutFlagsExtra.setInputFileFormat(InputFileFormat);
588 OutFlagsExtra.setIRFilename(IRFilename); 589 OutFlagsExtra.setIRFilename(IRFilename);
589 OutFlagsExtra.setLogFilename(LogFilename); 590 OutFlagsExtra.setLogFilename(LogFilename);
590 OutFlagsExtra.setOutputFilename(OutputFilename); 591 OutFlagsExtra.setOutputFilename(OutputFilename);
591 } 592 }
592 593
593 } // end of namespace Ice 594 } // end of namespace Ice
OLDNEW
« no previous file with comments | « pydir/run-pnacl-sz.py ('k') | src/IceDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698