[LLVMdev] Reachability info in LLVM?

Chris Lattner clattner at apple.com
Tue Jul 28 10:21:36 PDT 2009


On Jul 27, 2009, at 9:59 PM, Saman Zonouz wrote:

> Thanks. that's right but I was looking for sth like "successor  
> closure" set for each instruction 'I' that includes all reachable  
> instructions from I.
> Does LLVM provide such a set?

Nope,

-Chris

>
> Thanks alot,
> ::Saman
>
>> Dear All,
>>
>> I am new to LLVM and want to know if LLVM provides any reachability  
>> information about the instructions inside a function? For example,  
>> is instruction 'J' reachable from the instruction 'I'? (just based  
>> on CFG)
>
> You can just do a depth first search on the cfg?
>
> -Chris
>
> _______________________________________________
> 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/20090728/15b4abc7/attachment.html>


More information about the llvm-dev mailing list