blob: fb006f562b1264aa816d9ee03a3f1aedce4165c9 [file] [log] [blame]
Daniel Dunbar3b709d52012-05-08 16:50:35 +00001llvm-stress - generate random .ll files
2=======================================
3
Daniel Dunbar3b709d52012-05-08 16:50:35 +00004SYNOPSIS
5--------
6
Dmitri Gribenkob36be802012-11-29 19:05:55 +00007:program:`llvm-stress` [-size=filesize] [-seed=initialseed] [-o=outfile]
Daniel Dunbar3b709d52012-05-08 16:50:35 +00008
9DESCRIPTION
10-----------
11
Dmitri Gribenkob36be802012-11-29 19:05:55 +000012The :program:`llvm-stress` tool is used to generate random ``.ll`` files that
13can be used to test different components of LLVM.
Daniel Dunbar3b709d52012-05-08 16:50:35 +000014
15OPTIONS
16-------
17
Dmitri Gribenkob36be802012-11-29 19:05:55 +000018.. option:: -o filename
Daniel Dunbar3b709d52012-05-08 16:50:35 +000019
20 Specify the output filename.
21
Dmitri Gribenkob36be802012-11-29 19:05:55 +000022.. option:: -size size
Daniel Dunbar3b709d52012-05-08 16:50:35 +000023
Dmitri Gribenkob36be802012-11-29 19:05:55 +000024 Specify the size of the generated ``.ll`` file.
Daniel Dunbar3b709d52012-05-08 16:50:35 +000025
Dmitri Gribenkob36be802012-11-29 19:05:55 +000026.. option:: -seed seed
Daniel Dunbar3b709d52012-05-08 16:50:35 +000027
28 Specify the seed to be used for the randomly generated instructions.
29
Daniel Dunbar3b709d52012-05-08 16:50:35 +000030EXIT STATUS
31-----------
32
Dmitri Gribenkob36be802012-11-29 19:05:55 +000033:program:`llvm-stress` returns 0.
Daniel Dunbar3b709d52012-05-08 16:50:35 +000034