public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/114892] New: folding and others dump options are not documented
@ 2024-04-30  5:05 pinskia at gcc dot gnu.org
  2024-04-30  5:06 ` [Bug tree-optimization/114892] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-30  5:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114892

            Bug ID: 114892
           Summary: folding and others dump options are not documented
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

The following options from dumpfile.cc are not currently documented:
```
  {"none", TDF_NONE},
  {"cselib", TDF_CSELIB},
  {"stmtaddr", TDF_STMTADDR},
  {"memsyms", TDF_MEMSYMS},
  {"alias", TDF_ALIAS},
  {"nouid", TDF_NOUID},
  {"enumerate_locals", TDF_ENUMERATE_LOCALS},
  {"gimple", TDF_GIMPLE},
  {"folding", TDF_FOLDING},
```

A simplified version of what the documentation could be:
cselib - dumps of the cselib for RTL
stmtaddr - prints out the internal(GCC)memory address of the gimple statement
before each gimple statement
memsyms - prints out the VDEF/VUSE of a statement; unlike vops does not change
printing out vops in phis; Note this used to display something more but now
does not (make an alias of vops)
alias - dumps the alias info for gimple
nouid - don't dump uids in some cases
enumerate_locals - dumps the locals seperately
gimple - dump the functions such that are almost usable by the gimple FE
__GIMPLE
folding - dump extra match and simplify output (and fold-const usage in some
cases)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tree-optimization/114892] folding and others dump options are not documented
  2024-04-30  5:05 [Bug tree-optimization/114892] New: folding and others dump options are not documented pinskia at gcc dot gnu.org
@ 2024-04-30  5:06 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-30  5:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114892

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I should note I found this while helping a junior engineer and we went looking
for the documentation and it was not there for it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-30  5:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-30  5:05 [Bug tree-optimization/114892] New: folding and others dump options are not documented pinskia at gcc dot gnu.org
2024-04-30  5:06 ` [Bug tree-optimization/114892] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).