class DataDependenceGraph

Declaration

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

Description

Data Dependency Graph

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

Inherits from: DirectedGraph, DependenceGraphInfo

Method Overview

Methods

DataDependenceGraph()

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

DataDependenceGraph(
    const llvm::DataDependenceGraph& G)

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

Parameters

const llvm::DataDependenceGraph& G

DataDependenceGraph(llvm::DataDependenceGraph&& G)

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

Parameters

llvm::DataDependenceGraph&& G

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

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

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:315

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:326

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:320

Parameters

const llvm::DataDependenceGraph::NodeType& N

~DataDependenceGraph()

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