LLVM IR Variable Reuse Analysis

Hello,

I want to analyze llvm IR to find variables with reuse and without reuse…i.e variable who will be accessed again and variables who wont…

How can I do this?
Where to begin from?

Please help…