<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello,</div><div>I need to count static instructions in llvm. I am using following command,</div><div><br></div><div>opt -stats -analyze -instcount IR.ll</div><div><br></div><div>But it is printing following lines;</div><div><br></div><div>Printing analysis 'Counts the various types of Instructions' for function 'cluster':<br>Printing analysis 'Counts the various types of Instructions' for function 'usage':<br>Printing analysis 'Counts the various types of Instructions' for function 'main':<br>Printing analysis 'Counts the various types of Instructions' for function 'find_nearest_point':<br>Printing analysis 'Counts the various types of Instructions' for function 'euclid_dist_2':<br>Printing analysis 'Counts the various types of Instructions' for function 'kmeans_clustering':<br></div><div><br></div><div>Why it is not showing stats? Where I am doing mistake?</div><div>Please help.</div><div><br></div><div>Regards<br></div><div><br></div></div></div></div>