OS Manuals

/usr/lib/llvm-15/bin/llvm-reduce

Low-level virtual machine 15 - core frameworks

From llvm-15 15.0.7-r32 (os), captured 2026-11-05 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:

  --abort-on-invalid-reduction        - Abort if any reduction results in invalid IR
  --delta-passes=<string>             - Delta passes to run, separated by commas. By default, run all delta passes.
  --in-place                          - WARNING: This option will replace your input file with the reduced version!
  -j <uint>                           - Maximum number of threads to use to process chunks. Set to 1 to disables parallelism.
  --max-pass-iterations=<int>         - Maximum number of times to run the full set of delta passes (default=5)
  --mtriple=<string>                  - Set the target triple
  --print-delta-passes                - Print list of delta passes, passable to --delta-passes as a comma separated list
  --starting-granularity-level=<uint> - Number of times to divide chunks prior to first test
  --test=<string>                     - Name of the interesting-ness test to be run
  --test-arg=<string>                 - Arguments passed onto the interesting-ness test
  --write-tmp-files-as-bitcode        - Write temporary files as bitcode, instead of textual IR
  -x=<value>                          - Input language ('ir' or 'mir')
    =ir
    =mir
Options (15)
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
--abort-on-invalid-reduction- Abort if any reduction results in invalid IRhelp
--delta-passes string- Delta passes to run, separated by commas.help
--in-place- WARNING: This option will replace your input file with the reduced version!help
-j uint- Maximum number of threads to use to process chunks.help
--max-pass-iterations int- Maximum number of times to run the full set of delta passes (default=5)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
--write-tmp-files-as-bitcode- Write temporary files as bitcode, instead of textual IRhelp
-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.