[llvm-dev] LLVM Static Instruction Count -stats -analyze -instcount not working

hameeza ahmed via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 9 12:17:01 PST 2019


Hello,
I need to count static instructions in llvm. I am using following command,

opt -stats -analyze -instcount IR.ll

But it is printing following lines;

Printing analysis 'Counts the various types of Instructions' for function
'cluster':
Printing analysis 'Counts the various types of Instructions' for function
'usage':
Printing analysis 'Counts the various types of Instructions' for function
'main':
Printing analysis 'Counts the various types of Instructions' for function
'find_nearest_point':
Printing analysis 'Counts the various types of Instructions' for function
'euclid_dist_2':
Printing analysis 'Counts the various types of Instructions' for function
'kmeans_clustering':

Why it is not showing stats? Where I am doing mistake?
Please help.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190110/f9c140b4/attachment.html>


More information about the llvm-dev mailing list