Successors v/s Children

Hi,

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

What is the difference between successors and Children?

Regards,
Chayan

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