how to perform Data Dependency Analysis using LLVM platform

Hello Everyone,

Does anyone know how am I gonna be able to do data-dependency/loop-dependency analysis with LLVM and clang?

Looking at the passes webpage -da-dependence-analysis, apparently it has been mentioned that this pass is doing the job, but using this pass doesn’t change anything in the output, neither the ./a.out size nor the .ll IR-codes when I pass with opt -da -S -o fooOPT.ll foo.ll

I was wondering if we can understand the WAR,RAW, etc and also other dependencies using LLVM platform.

regards,

-Amir