[LLVMdev] Identifying backedges

John Criswell criswell at uiuc.edu
Thu Dec 4 07:20:59 PST 2008


bhavani krishnan wrote:
> Hi,
>
> How do I find out if a branch instruction belongs to an if-else or a loop i.e it is a backedge.
>   
Are you wanting a way to tell if an edge is a backedge so that you know 
whether or not it's part of a loop, or are you actually looking for 
loops *and* if/then/else constructs?

-- John T.

> Thanks,
> Bhavani
>
>
>       
> _______________________________________________
> 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