[Attributor] [WIP] Track AA dependency using dependency graph
authorLuofan Chen <clfbbn@gmail.com>
Wed, 15 Jul 2020 02:19:37 +0000 (10:19 +0800)
committerLuofan Chen <clfbbn@gmail.com>
Wed, 15 Jul 2020 02:21:49 +0000 (10:21 +0800)
commit6b78ed60708b56d85c6d028e9a06ce24ec3c1ae5
treedc38a0c4853fd1143186f4ee8294227dc867d9e0
parent670e8372b3a0d986c3f8c8381514675dd094d79e
[Attributor] [WIP] Track AA dependency using dependency graph

Summary: This patch added dependency graph to the attributor so that we can dump the dependencies between AAs more easily. We can also apply general graph algorithms to the graph, making it easier for us to create deep wrappers.

Reviewers: jdoerfert, sstefan1, uenoku, homerdin, baziotis

Reviewed By: jdoerfert

Subscribers: jfb, okura, mgrang, kuter, lebedev.ri, hiraditya, uenoku, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78861
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
llvm/test/Transforms/Attributor/depgraph.ll [new file with mode: 0644]