[all-commits] [llvm/llvm-project] 0d20ed: [DDG] Data Dependence Graph - Add query function f...

Bardia Mahjour via All-commits all-commits at lists.llvm.org
Wed May 27 09:40:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d20ed664ff2d51dae14f9324a64e4433e6b663e
      https://github.com/llvm/llvm-project/commit/0d20ed664ff2d51dae14f9324a64e4433e6b663e
  Author: Bardia Mahjour <bmahjour at ca.ibm.com>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/DDG.h
    M llvm/unittests/Analysis/CMakeLists.txt
    A llvm/unittests/Analysis/DDGTest.cpp

  Log Message:
  -----------
  [DDG] Data Dependence Graph - Add query function for memory dependencies between two nodes

Summary:
When working with the DDG it's useful to be able to query details of the
memory dependencies between two nodes connected by a memory edge. The DDG
does not hold a copy of the dependencies, but it contains a reference to a
DependenceInfo object through which dependence information can be queried.
This patch adds a query function to the DDG to obtain all the Dependence
objects that exist between instructions of two nodes.

Authored By: bmahjour

Reviewers: Meinersbur, Whitney, etiotto

Reviewed By: Whitney

Tags: #llvm

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




More information about the All-commits mailing list