Displaying 1 result from an estimated 1 matches for "eaf11b73".
2011 May 07
1
[LLVMdev] Loop transformations using LLVM
On May 5, 2011, at 5:11 AM, Rotem, Nadav wrote:
> Malveeka,
>
> You can use the LoopInfo analysis to find the induction variable.
>
> http://llvm.org/docs/doxygen/html/classllvm_1_1Loop.html#a72bbf45d2e00971f56bf8cfe4e1df01c
>
> Cheers,
> Nadav
getCanonicalInductionVariable is a good example of finding IVs without iterating over instructions. But you may need to