Daniel Dunbar | 8f4a8a6 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 1 | llvm-stress - generate random .ll files |
| 2 | ======================================= |
| 3 | |
James Henderson | a056684 | 2019-06-27 13:24:46 +0000 | [diff] [blame] | 4 | .. program:: llvm-stress |
| 5 | |
Daniel Dunbar | 8f4a8a6 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 6 | SYNOPSIS |
| 7 | -------- |
| 8 | |
Dmitri Gribenko | 1521681 | 2012-11-29 19:05:55 +0000 | [diff] [blame] | 9 | :program:`llvm-stress` [-size=filesize] [-seed=initialseed] [-o=outfile] |
Daniel Dunbar | 8f4a8a6 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 10 | |
| 11 | DESCRIPTION |
| 12 | ----------- |
| 13 | |
Dmitri Gribenko | 1521681 | 2012-11-29 19:05:55 +0000 | [diff] [blame] | 14 | The :program:`llvm-stress` tool is used to generate random ``.ll`` files that |
| 15 | can be used to test different components of LLVM. |
Daniel Dunbar | 8f4a8a6 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 16 | |
| 17 | OPTIONS |
| 18 | ------- |
| 19 | |
Dmitri Gribenko | 1521681 | 2012-11-29 19:05:55 +0000 | [diff] [blame] | 20 | .. option:: -o filename |
Daniel Dunbar | 8f4a8a6 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 21 | |
| 22 | Specify the output filename. |
| 23 | |
Dmitri Gribenko | 1521681 | 2012-11-29 19:05:55 +0000 | [diff] [blame] | 24 | .. option:: -size size |
Daniel Dunbar | 8f4a8a6 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 25 | |
Dmitri Gribenko | 1521681 | 2012-11-29 19:05:55 +0000 | [diff] [blame] | 26 | Specify the size of the generated ``.ll`` file. |
Daniel Dunbar | 8f4a8a6 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 27 | |
Dmitri Gribenko | 1521681 | 2012-11-29 19:05:55 +0000 | [diff] [blame] | 28 | .. option:: -seed seed |
Daniel Dunbar | 8f4a8a6 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 29 | |
| 30 | Specify the seed to be used for the randomly generated instructions. |
| 31 | |
Daniel Dunbar | 8f4a8a6 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 32 | EXIT STATUS |
| 33 | ----------- |
| 34 | |
Dmitri Gribenko | 1521681 | 2012-11-29 19:05:55 +0000 | [diff] [blame] | 35 | :program:`llvm-stress` returns 0. |