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