[cfe-dev] How to know whether expression is derived from induction variable?
Madhur Amilkanthwar
madhur13490 at gmail.com
Thu Sep 26 06:00:00 PDT 2013
Hi,
I am interested in knowing if an expression is derived from loop induction
variable or not. As of now, I am able to inspect every expression after
locating "if" statement in the code.
Assume following code:
for(int i=0;i<32;i++)
i=i+2;
in above code, I am able to get access to the expression "i+2" but how
should I analyze its LHS and RHS for induction variable?
Any help appreciated.
--
Thank You.
Madhur D. Amilkanthwar
RISE lab,
IIT Madras.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130926/ed53eaa7/attachment.html>
More information about the cfe-dev
mailing list