Helpful (?) hints

Here's some stuff that may be useful for your papers n stuph:

* Analyze has a pass "-instcount" written by Dinakar, which will tell you
  things like the number of functions, basic blocks, and instructions are
  in a program. It will even classify the instructions into different
  opcodes, if you want to report things like #loads+#stores or something.

* Most of the olden benchmarks can be run with multiple input sizes. This
  is important because lli is, well, pretty dang slow. For example, you
  can run perimeter in a reasonable amount of time like this:

  lli Olden-perimeter.llvm.bc 5

-Chris

Sorry to respond to my own posts. :slight_smile:

* Analyze has a pass "-instcount" written by Dinakar, which will tell you
  things like the number of functions, basic blocks, and instructions are
  in a program. It will even classify the instructions into different
  opcodes, if you want to report things like #loads+#stores or something.

I should point out that to use this, you must turn on -stats output:

  analyze foo.bc -instcount -stats

-Chris