aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/options.md
blob: 14698a98112d2955215a2265c88fc84aede361cf (plain)
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
# Options

This file is a complement of man page for sparse but meant
for options not to be used by sparse itself but by the other
tools.

## Developer options:

### Select the passes

* '-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:
  * 'mem2reg'
  * 'optim'

### Internal Representation

* '-fdump-ir[=\<pass\>[,\<pass\>...]]'

  Dump the IR at each of the given passes.

  The passes currently understood are:
  * 'linearize'
  * 'mem2reg'
  * 'final'