llvm-stress.rst 655 B

1234567891011121314151617181920212223242526272829303132333435
  1. llvm-stress - generate random .ll files
  2. =======================================
  3. .. program:: llvm-stress
  4. SYNOPSIS
  5. --------
  6. :program:`llvm-stress` [-size=filesize] [-seed=initialseed] [-o=outfile]
  7. DESCRIPTION
  8. -----------
  9. The :program:`llvm-stress` tool is used to generate random ``.ll`` files that
  10. can be used to test different components of LLVM.
  11. OPTIONS
  12. -------
  13. .. option:: -o filename
  14. Specify the output filename.
  15. .. option:: -size size
  16. Specify the size of the generated ``.ll`` file.
  17. .. option:: -seed seed
  18. Specify the seed to be used for the randomly generated instructions.
  19. EXIT STATUS
  20. -----------
  21. :program:`llvm-stress` returns 0.