Man page generated from reStructuredText.
.
. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
..
-f Enable binary output on terminals. Normally, opt will refuse to write raw bitcode output if the output stream is a terminal. With this option, opt will write raw bitcode regardless of the output device. NINDENT NDENT 0.0
-help Print a summary of command line options. NINDENT NDENT 0.0
-o <filename> Specify the output filename. NINDENT NDENT 0.0
-S Write output in LLVM intermediate language (instead of bitcode). NINDENT NDENT 0.0
-{passname} opt provides the ability to run any of LLVM\(aqs optimization or analysis passes in any order. The \%-help option lists all the passes available. The order in which the options occur on the command line are the order in which they are executed (within pass constraints). NINDENT NDENT 0.0
-std-compile-opts This is short hand for a standard list of compile time optimization passes. It might be useful for other front end compilers as well. To discover the full set of options available, use the following command: NDENT 7.0 NDENT 3.5
llvm-as < /dev/null | opt -std-compile-opts -disable-output -debug-pass=ArgumentsNINDENT NINDENT NINDENT NDENT 0.0
-disable-inlining This option is only meaningful when \%-std-compile-opts is given. It simply removes the inlining pass from the standard list. NINDENT NDENT 0.0
-disable-opt This option is only meaningful when \%-std-compile-opts is given. It disables most, but not all, of the \%-std-compile-opts. The ones that remain are -verify, -lower-setjmp, and -funcresolve. NINDENT NDENT 0.0
-strip-debug This option causes opt to strip debug information from the module before applying other optimizations. It is essentially the same as -strip but it ensures that stripping of debug information is done first. NINDENT NDENT 0.0
-verify-each This option causes opt to add a verify pass after every pass otherwise specified on the command line (including -verify). This is useful for cases where it is suspected that a pass is creating an invalid module but it is not clear which pass is doing it. The combination of \%-std-compile-opts and \%-verify-each can quickly track down this kind of problem. NINDENT NDENT 0.0
-stats Print statistics. NINDENT NDENT 0.0
-time-passes Record the amount of time needed for each pass and print it to standard error. NINDENT NDENT 0.0
-debug If this is a debug build, this option will enable debug printouts from passes which use the DEBUG() macro. See the \%LLVM Programmer\(aqs Manual, section #DEBUG for more information. NINDENT NDENT 0.0
-load=<plugin> Load the dynamic object plugin. This object should register new optimization or analysis passes. Once loaded, the object will add new command line options to enable various optimizations or analyses. To see the new complete list of optimizations, use the \%-help and \%-load options together. For example: NDENT 7.0 NDENT 3.5
opt -load=plugin.so -helpNINDENT NINDENT NINDENT NDENT 0.0
-p Print module after each transformation. NINDENT
.