2 <title>LLVM: llvm-prof tool</title>
6 <center><h1>LLVM: <tt>llvm-prof</tt> tool</h1></center>
13 <tt>llvm-prof [options] [bytecode file] [LLVM passes]</tt>
17 The <tt>llvm-prof</tt> tool reads in an '<tt>llvmprof.out</tt>' file, a bytecode
18 file for the program, and produces a human readable report, suitable for
19 determining where the program hotspots are.<p>
25 <li><tt>-annotated-llvm</tt> or <tt>-A</tt><br>
27 In addition to the normal report printed, print out the code for the
28 program, annotated we execution frequency information. This can be
29 particularly useful when trying to visualize how frequently basic blocks
30 are executed. This is most useful with basic block profiling
31 information or better.<p>
36 <tt>llvm-prof</tt> returns 1 if it cannot load the bytecode file or the profile
37 information, otherwise it exits with zero.
40 Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.