[LLVMdev] How to use data structure of another pass

Soumya_Prasad_Ukil ukil.soumya at gmail.com
Mon Jul 19 14:20:36 PDT 2010

     In LLVM, we generally use data structure of another pass by
implementing getAnalysisUsage (AnalysisUsage &AU) method. Suppose
SOURCE/lib/Transform directory I have added one pass named as pass_1, which
calculates all expressions in a program and stores all of them in an Expr
array(take it now for granted). Now I added another pass named as pass_2 in
the same directory to print all these expression. How do I do this?

soumya prasad ukil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100720/cc042b61/attachment.html>

More information about the llvm-dev mailing list