[LLVMdev] Data flow analysis

ether zhhb etherzhhb at gmail.com
Sat Apr 30 18:08:57 PDT 2011


hi,

On Sat, Apr 30, 2011 at 5:39 PM, Wenhan Gu <nowar100 at gmail.com> wrote:
> Hi all,
> in this case:
> ...
> int* p = ...
> int* q = p;
This will be eliminated by the "mem2reg" pass.
> ...
> How can I know that data-flow from p to q,
> i.e., which LLVM pass of header files could I use?
If you want something about "data-flow", there is a header named
"DataFlow.h": http://llvm.org/doxygen/DataFlow_8h.html

best regards
ether
> Thank you all.
> --
> Best regards,
> Wen-Han
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list