1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
Extra options for developers
============================
SYNOPSIS
--------
``tools`` [`options`]... `file.c``
DESCRIPTION
-----------
This file is a complement of sparse's man page meant to
document options only useful for development on sparse itself.
OPTIONS
-------
.. option:: -fdump-ir=pass,[pass]
Dump the IR at each of the given passes.
The passes currently understood are:
* ``linearize``
* ``mem2reg``
* ``final``
The default pass is ``linearize``.
.. option:: -f<name-of-the-pass>[-disable|-enable|=last]
If ``=last`` is used, all passes after the specified one are disabled.
By default all passes are enabled.
The passes currently understood are:
* ``linearize`` (can't be disabled)
* ``mem2reg``
* ``optim``
.. option:: -vcompound
Print all compound global data symbols with their sizes and alignment.
.. option:: -vdead
Add ``OP_DEATHNOTE`` annotations to dead pseudos.
.. option:: -vdomtree
Dump the dominance tree after its calculation.
.. option:: -ventry
Dump the IR after all optimization passes.
.. option:: -vpostorder
Dump the reverse postorder traversal of the CFG.
|