[LLVMdev] how to get the condition from loop information with llvm classes

Devang Patel dpatel at apple.com
Mon Nov 15 10:35:03 PST 2010


On Nov 14, 2010, at 1:08 AM, chenneng5758 wrote:

> I want to get some condition from loop information,for example,
> for(int i=0; i<COUNT; i++){}
> I want to get some message such as i<COUNT, which classes can work?

COUNT is a loop trip count here. See  LoopInfo.h and ScalarEvalution.h (and related SCEV interface) for more information.
-
Devang
>  
> _______________________________________________
> 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/20101115/dfb3b67f/attachment.html>


More information about the llvm-dev mailing list