<div>Hi All,</div><div><br></div><div>I know ,I'm bugging  around  people here :-) ...As said i'm very new too LLVM  and try to understand its framework to contribute to same by using  my experience..</div><div><br>
</div><div>Here i was trying to understand the analysis and transformation phase in steps using opt utility and i'm stalled here.</div><div>i.e  run the utility  on sample by --basicaa switch  and output was</div><div>
<br></div><div>$ opt -f -S  -basicaa  -gvn -dse  -debug-pass=Structure test4.s</div><div>Pass Arguments:  -targetlibinfo -targetdata -no-aa -basicaa -domtree -memdep -gvn -memdep -dse -preverify -verify -print-module</div>
<div>Target Library Information</div><div>Target Data Layout</div><div><b>No Alias Analysis (always returns 'may' alias)</b></div><div>Basic Alias Analysis (stateless AA impl)</div><div>  ModulePass Manager</div><div>
    FunctionPass Manager</div><div>      Dominator Tree Construction</div><div>      Memory Dependence Analysis</div><div>      Global Value Numbering</div><div>      Memory Dependence Analysis</div><div>      Dead Store Elimination</div>
<div>      Preliminary module verification</div><div>      Module Verifier</div><div>    Print module to stderr</div><div>; ModuleID = 'test4.s' </div><div><br></div><div>I believe the opt output should be ...something like </div>
<div><br></div><div><div>$ opt -f -S  -basicaa  -gvn -dse  -debug-pass=Structure test4.s</div><div>Pass Arguments:  -targetlibinfo -targetdata -no-aa -basicaa -domtree -memdep -gvn -memdep -dse -preverify -verify -print-module</div>
<div>Target Library Information</div><div>Target Data Layout</div><div>Basic Alias Analysis (stateless AA impl)</div><div>  ModulePass Manager</div><div>    FunctionPass Manager</div><div>      Dominator Tree Construction</div>
<div>      Memory Dependence Analysis</div><div>      Global Value Numbering</div><div>      Memory Dependence Analysis</div><div>      Dead Store Elimination</div><div>      Preliminary module verification</div><div>      Module Verifier</div>
<div>    Print module to stderr</div><div>; ModuleID = 'test4.s' </div></div><div><br></div><div><br></div><div>Any inputs/lights  on this guys ????</div><div><br></div><div>Thanks </div><div>~Umesh </div><div><br>
</div>