llvm-project/llvm/test/Analysis/DDG
Bardia Mahjour 91b62d5c89 [DDG] Data Dependence Graph - Root Node
Summary:
This patch adds Root Node to the DDG. The purpose of the root node is to create a single entry node that allows graph walk iterators to iterate through all nodes of the graph, making sure that no node is left unvisited during a graph walk (eg. SCC or DFS). Once the DDG is fully constructed it will have exactly one root node. Every node in the graph is reachable from the root. The algorithm for connecting the root node is based on depth-first-search that keeps track of visited nodes to try to avoid creating unnecessary edges.

Authored By: bmahjour

Reviewer: Meinersbur, fhahn, myhsu, xtian, dmgreen, kbarton, jdoerfert

Reviewed By: Meinersbur

Subscribers: ychen, arphaman, simoll, a.elovikov, mgorny, hiraditya, jfb, wuzish, llvm-commits, jsji, Whitney, etiotto, ppc-slack

Tag: #llvm

Differential Revision: https://reviews.llvm.org/D67970

llvm-svn: 373386
2019-10-01 19:32:42 +00:00
..
basic-a.ll Data Dependence Graph Basics 2019-09-18 17:43:45 +00:00
basic-b.ll Data Dependence Graph Basics 2019-09-18 17:43:45 +00:00
basic-loopnest.ll Data Dependence Graph Basics 2019-09-18 17:43:45 +00:00
root-node.ll [DDG] Data Dependence Graph - Root Node 2019-10-01 19:32:42 +00:00