Thanks for the reply,
Actually I m aiming towards determining two values:
number of basic blocks in a program
For this I have used Statistic facility provided in llvm and increasing the counter for each basic block for each function.but for some reason , I m getting different number everytime !!
Is Statistic is the right way to do it ?
Average basic block size in a program ( in bytes)
Any suggestions to make it simple and get an accurate result?