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
- public DataDependenceGraph()
- public DataDependenceGraph(const llvm::DataDependenceGraph & G)
- public DataDependenceGraph(llvm::DataDependenceGraph && G)
- public DataDependenceGraph(llvm::Function & F, llvm::DependenceInfo & DI)
- public DataDependenceGraph(llvm::Loop & L, llvm::LoopInfo & LI, llvm::DependenceInfo & DI)
- protected bool addNode(llvm::DataDependenceGraph::NodeType & N)
- public const llvm::PiBlockDDGNode * getPiBlock(const llvm::DataDependenceGraph::NodeType & N) const
- public ~DataDependenceGraph()
Methods
¶DataDependenceGraph()
DataDependenceGraph()
Declared at: llvm/include/llvm/Analysis/DDG.h:314
¶DataDependenceGraph(
const llvm::DataDependenceGraph& G)
DataDependenceGraph(
const llvm::DataDependenceGraph& G)
Declared at: llvm/include/llvm/Analysis/DDG.h:315
Parameters
- const llvm::DataDependenceGraph& G
¶DataDependenceGraph(llvm::DataDependenceGraph&& G)
DataDependenceGraph(llvm::DataDependenceGraph&& G)
Declared at: llvm/include/llvm/Analysis/DDG.h:316
Parameters
¶DataDependenceGraph(llvm::Function& F,
llvm::DependenceInfo& DI)
DataDependenceGraph(llvm::Function& F,
llvm::DependenceInfo& DI)
Declared at: llvm/include/llvm/Analysis/DDG.h:318
Parameters
¶DataDependenceGraph(llvm::Loop& L,
llvm::LoopInfo& LI,
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)
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
¶const llvm::PiBlockDDGNode* getPiBlock(
const llvm::DataDependenceGraph::NodeType& N)
const
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()
~DataDependenceGraph()
Declared at: llvm/include/llvm/Analysis/DDG.h:320