Hi Adam, Renato,
I would like to reuse code inside isInductionVariable in one of my Pass.
This patch refactors the code and exposes function isInductionPHI. No functionality change.
Please let me know if this is good to commit.
Thanks and Regards
Karthik Bhat