[LLVMdev] CFG extraction

Jeff Kunkel jdkunk3 at gmail.com
Tue Oct 12 04:46:44 PDT 2010


I know the MachineBasicBlock has some nice predecessor and successor
iterators. See MachineBasicBlock::pred_iterator
and MachineBasicBlock::succ_iterator for those iterators.

-Jeff Kunkel

On Tue, Oct 12, 2010 at 7:02 AM, hamed hamzehi <mohammadhamzehi at yahoo.com>wrote:

> Hello,
>
> I would like to extract Control Flow Graph and Data Flow Graph from a
> sample program written in C++, Can anybody please direct me to some
> examples?
> Thanks in advance
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101012/c20c592a/attachment.html>


More information about the llvm-dev mailing list