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)
| Option | Description | Source |
|---|
--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 program | help |
--abort-on-invalid-reduction | - Abort if any reduction results in invalid IR | help |
--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 triple | help |
--print-delta-passes | - Print list of delta passes, passable to --delta-passes as a comma separated list | help |
--test string | - Name of the interesting-ness test to be run | help |
--test-arg string | - Arguments passed onto the interesting-ness test | help |
--write-tmp-files-as-bitcode | - Write temporary files as bitcode, instead of textual IR | help |
-x value | - Input language ('ir' or 'mir') =ir =mir | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.