Hi Pascal,
I think what your mentioned as “data dependencies” is data-flow analysis,
and I guess “data dependencies” you want is “def-use chain”.
I searched and think this simple implementation may work for you:
https://github.com/nsumner/llvm-dataflow-analysis
If you want a more complete and strong analysis, you could check SVF:
https://github.com/SVF-tools/SVF
(sorry, I forgot to cc mailing-list in the last email)
Bests,
Yushan