class DataDependenceGraph

Declaration

class DataDependenceGraph : public DirectedGraph,
                            public DependenceGraphInfo { /* full declaration omitted */ };

Description

Data Dependency Graph

Declared at: llvm/include/llvm/Analysis/DDG.h:306

Inherits from: DirectedGraph, DependenceGraphInfo

Member Variables

private llvm::DataDependenceGraph::PiBlockMapType PiBlockMap
Mapping from graph nodes to their containing pi-blocks. If a node is not part of a pi-block, it will not appear in this map.

Method Overview

Methods

DataDependenceGraph()

Declared at: llvm/include/llvm/Analysis/DDG.h:314

DataDependenceGraph(
    const llvm::DataDependenceGraph& G)

Declared at: llvm/include/llvm/Analysis/DDG.h:315

Parameters

const llvm::DataDependenceGraph& G

DataDependenceGraph(llvm::DataDependenceGraph&& G)

Declared at: llvm/include/llvm/Analysis/DDG.h:316

Parameters

llvm::DataDependenceGraph&& G

DataDependenceGraph(llvm::Function& F,
                    llvm::DependenceInfo& DI)

Declared at: llvm/include/llvm/Analysis/DDG.h:318

Parameters

llvm::Function& F
llvm::DependenceInfo& DI

DataDependenceGraph(llvm::Loop& L,
                    llvm::LoopInfo& LI,
                    llvm::DependenceInfo& DI)

Declared at: llvm/include/llvm/Analysis/DDG.h:319

Parameters

llvm::Loop& L
llvm::LoopInfo& LI
llvm::DependenceInfo& DI

bool addNode(
    llvm::DataDependenceGraph::NodeType& N)

Description

Add node \p N to the graph, if it's not added yet, and keep track of the root node as well as pi-blocks and their members. Return true if node is successfully added.

Declared at: llvm/include/llvm/Analysis/DDG.h:330

Parameters

llvm::DataDependenceGraph::NodeType& N

const llvm::PiBlockDDGNode* getPiBlock(
    const llvm::DataDependenceGraph::NodeType& N)
    const

Description

If node \p N belongs to a pi-block return a pointer to the pi-block, otherwise return null.

Declared at: llvm/include/llvm/Analysis/DDG.h:324

Parameters

const llvm::DataDependenceGraph::NodeType& N

~DataDependenceGraph()

Declared at: llvm/include/llvm/Analysis/DDG.h:320