[llvm-dev] LLVM Use Def Analysis

张雨姗(ZHANG Yushan)-11310380 via llvm-dev llvm-dev at lists.llvm.org
Sun Jan 20 01:34:02 PST 2019


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





------------------ Original ------------------
From:  "Pascal Dominik Hefter via llvm-dev"<llvm-dev at lists.llvm.org>;
Date:  Fri, Jan 18, 2019 08:15 PM
To:  "llvm-dev"<llvm-dev at lists.llvm.org>; 
Subject:  [llvm-dev] LLVM Use Def Analysis

 
Dear LLVM Developers,

I am a student at TU Darmstadt and I am currently working with LLVM in  
a project to extract data dependencies from a program.

Since I want to use a use-def chain but didn't find a corresponding  
Pass in LLVM, I would like to ask you, if there is an existing  
LLVM-Pass for use-def analysis.

I am looking forward to hearing from you.

Best regards,
Pascal Hefter

_______________________________________________
LLVM Developers mailing list
llvm-dev at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190120/d290c59b/attachment-0001.html>


More information about the llvm-dev mailing list