[LLVMdev] simple question:basic blocks avg size

Chris Lattner sabre at nondot.org
Tue Apr 5 14:12:12 PDT 2005


On Tue, 5 Apr 2005, Tanu Sharma wrote:

> There is tool that calculates execution count and total number of blocks 
> , is there anything available to detemine size of basic blocks in a 
> program in bytes?

Are you talking about native code?  If you run the 'size' utility in unix, 
the 'tex' value is the number of bytes of program code.  If you're talking 
about llvm code, I'm not sure what you mean "size of basic blocks in a 
program in bytes".

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list