[LLVMdev] Successors v/s Children

Chris Lattner clattner at apple.com
Mon Jun 21 09:22:15 PDT 2010


On Jun 19, 2010, at 10:58 AM, Chayan Sarkar wrote:

> Hi,
> 
> Can anyone tell me how to find successors and children of a basic-block ?

This is a useful document, which describes this among other things:
http://llvm.org/docs/ProgrammersManual.html#common

> What is the difference between successors and Children?

In what context?  In the CFG, they are generally the same but it isn't typical to refer to "children" in a cfg.

-Chris



More information about the llvm-dev mailing list