8 <center><h1>LLVM: <tt>analyze</tt> tool</h1></center>
15 <tt>analyze [options] [filename]</tt>
19 The <tt>analyze</tt> command performs various analysis of LLVM assembly code or
20 bytecode. It will usually print the results on standard output, but in a few
21 cases, it will print output to standard error or generate a file with the
22 analysis output (which is usually done when the output is meant for another
25 If filename is omitted or is -, <tt>analyze</tt> reads its input from standard
26 input. It first attempts to interpret its input as LLVM bytecode. If it
27 encounters an error, it then attempts to parse the input as LLVM assembly
35 Print a summary of command line options.
45 Record the amount of time needed for each pass and print it to standard
51 Quiet mode. With this option, analysis pass names are not printed.
54 <li> -load <plugin.so>
56 Load the specified dynamic object with name plugin.so. This file
57 should contain additional analysis passes that register themselves with
58 the <tt>analyze</tt> program after being loaded.
61 After being loaded, additional command line options are made available
62 for running the passes made available by plugin.so. Use
63 '<tt><tt>analyze</tt> -load <plugin.so> -help</tt>' to see the new
64 list of available analysis passes.
70 If <tt>analyze</tt> succeeds, it will exit with 0. Otherwise, if an error
71 occurs, it will exit with a non-zero value.
75 <a href="opt.html"><tt>opt</tt></a>
78 Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.