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)

Reply via email to