Cute profiling toy for LLVM

Because I've been doing a bit of performance work recently, and because
using gprof with the C backend has some limitations, I wrote a little
"llvm-prof" utility. Here's a synopsis of how to use it if you're

Basic usage:
   llvm/utils/ <program.bc> <program arguments>

This instruments the bytecode file, executes it with the JIT (_appending_
information into an llvmprof.out file), then runs the llvm-prof utility to
format it into a human readable report (llvm-prof is documented here: ) Running this
on the em3d Olden benchmark produces this output:

  <all of the program output>