[LLVMdev] InstCount

Patrick Simmons simmon12 at illinois.edu
Tue Feb 17 08:57:53 PST 2009


Hello,

I'm trying to print the instruction count of a bytecode file using the 
2.4 release of LLVM.  I found llvm-2.4/lib/Analysis/Instcount.cpp but 
I'm not sure what to do with it.  I also looked at llvm-bcanalyzer.  The 
documentation says this command is supposed to print the instruction 
count in the summary, but it doesn't seem to be doing so.

Does anyone know what I should be doing?

--Patrick



More information about the llvm-dev mailing list