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