[LLVMdev] Identifying loop variables

Adarsh HV adarsh.hv99 at gmail.com
Mon Jan 16 03:51:34 PST 2012


Hi everyone,
Are there any functions to identify the initiation,condition and iteration
part of the loop?
Example: for(i=0;i<10;i++)
  {
    a[i]+=1;
  }
I want to know the name of the variable used in the loop(i) , the
initiation(i=0), condition(i<10) and the iteration(i++) part of the loop.
Thank you:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120116/551dbd63/attachment.html>


More information about the llvm-dev mailing list