OS Manuals

/usr/lib/llvm-14/bin/llvm-reduce

Low-level virtual machine 14 - core frameworks

From llvm-14 14.0.6-r12 (enterprise-packages), captured 2026-11-08 by running llvm-reduce --help (exit 0). permalink

OVERVIEW: LLVM automatic testcase reducer.

USAGE: llvm-reduce [options] <input llvm ll/bc file>

OPTIONS:

Color Options:

  --color                     - Use colors in output (default=autodetect)

Generic Options:

  --help                      - Display available options (--help-hidden for more)
  --help-list                 - Display list of available options (--help-list-hidden for more)
  --version                   - Display the version of this program

llvm-reduce options:

  --in-place                  - WARNING: This option will replace your input file with the reduced version!
  --max-pass-iterations=<int> - Maximum number of times to run the full set of delta passes (default=1)
  --mtriple=<string>          - Set the target triple
  --print-delta-passes        - Print list of delta passes, passable to --delta-passes as a comma separated list
  --test=<string>             - Name of the interesting-ness test to be run
  --test-arg=<string>         - Arguments passed onto the interesting-ness test
  -x=<value>                  - Input language ('ir' or 'mir')
    =ir
    =mir
Options (10)
OptionDescriptionSource
--color- Use colors in output (default=autodetect)help
--help- Display available options (--help-hidden for more)help
--help-list- Display list of available options (--help-list-hidden for more)help
--version- Display the version of this programhelp
--in-place- WARNING: This option will replace your input file with the reduced version!help
--mtriple string- Set the target triplehelp
--print-delta-passes- Print list of delta passes, passable to --delta-passes as a comma separated listhelp
--test string- Name of the interesting-ness test to be runhelp
--test-arg string- Arguments passed onto the interesting-ness testhelp
-x value- Input language ('ir' or 'mir') =ir =mirhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.