This is an archive of the discontinued LLVM Phabricator instance.

Implement Use-Define Chain.
Needs ReviewPublic

Authored by v.g.vassilev on Aug 11 2016, 4:05 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

As a result of a few internal discussions, I'd like to continue the work done in this ancient thread (http://lists.llvm.org/pipermail/cfe-dev/2009-September/006308.html) by Simone Pellegrini.

The current state of the patch is its latest revision from 2009. I will do the minimal changes to get it to compile. I'll try to address the comments that were not addressed. Once this is done, we can start a formal review procedure. I believe our suspicious clone detection infrastructure would benefit from the AST level Use-Define Chains. Also, a few SA passes could make use of this concept.

Diff Detail

Event Timeline

v.g.vassilev retitled this revision from to Implement Use-Define Chain..
v.g.vassilev updated this object.
v.g.vassilev set the repository for this revision to rL LLVM.
NoQ added a subscriber: NoQ.Aug 15 2016, 4:00 AM
v.g.vassilev removed rL LLVM as the repository for this revision.

Adapt to the new APIs. Now it builds.

Add the right diff.