[llvm-dev] LLVM Use Def Analysis (original) (raw)

David Greene via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 22 12:10:33 PST 2019


If by "use-def" chain you mean classical def-use analysis, you don't need it in LLVM, as LLVM IR is in SSA form. The dependencies are explicitly expressed in the IR itself.

If my "data dependence" you mean loop dependence analysis then there are a couple of different implementations available.

                  -David

Pascal Dominik Hefter via llvm-dev <llvm-dev at lists.llvm.org> writes:

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



More information about the llvm-dev mailing list