[LLVMdev] pass statistic

kecheng at cecs.pdx.edu kecheng at cecs.pdx.edu
Wed Mar 9 21:26:30 PST 2011


Hi folks,

I wonder how to get the statistic of  which pass has been "really"  
applied and which one is not. For instance, I try to apply 20 llvm  
passes on a single C source code. But since the precondition of each  
pass may not be satisfied (try loop-unrolling to a source code without  
loop), some of these pass may not affect the final result. How to know  
which pass affect and which one is ignored? Does Llvm have this kind  
of statistic? Thanks.

Best,

Kecheng





More information about the llvm-dev mailing list