5 analyze - LLVM program analyzer
9 B<analyze> [I<options>] [I<filename>]
13 The B<analyze> command performs various analysis of LLVM assembly
14 code or bytecode. It will usually print the results on standard
15 output, but in a few cases, it will print output to standard error
16 or generate a file with the analysis output, which is usually done
17 when the output is meant for another program.
19 If filename is omitted or is I<->, B<analyze> reads its input from
20 standard input. It first attempts to interpret its input as LLVM
21 bytecode. If it encounters an error, it then attempts to parse the
22 input as LLVM assembly language.
30 Print a summary of command line options.
34 Quiet mode. With this option, analysis pass names are not printed.
36 =item B<-load> I<plugin>
38 Load the specified dynamic object with name I<plugin>. This file
39 should contain additional analysis passes that register themselves
40 with the B<analyze> program after being loaded.
42 After being loaded, additional command line options are made
43 available for running the passes made available by I<plugin>. Use
44 B<analyze -load> I<plugin> B<-help> to see the new list of available
47 =item B<-profile-info-file> I<filename>
49 Specify the name of the file loaded by the -profile-loader option.
57 Record the amount of time needed for each pass and print it to standard
64 If B<analyze> succeeds, it will exit with 0. Otherwise, if an error
65 occurs, it will exit with a non-zero value.
73 Maintained by the LLVM Team (L<http://llvm.cs.uiuc.edu>).