class DDGEdge
Declaration
class DDGEdge : public DGEdge { /* full declaration omitted */ };
Description
Data Dependency Graph Edge. An edge in the DDG can represent a def-use relationship or a memory dependence based on the result of DependenceAnalysis. A rooted edge connects the root node to one of the components of the graph.
Declared at: llvm/include/llvm/Analysis/DDG.h:213
Inherits from: DGEdge
Member Variables
- private llvm::DDGEdge::EdgeKind Kind
Method Overview
- public DDGEdge(llvm::DDGNode & N)
- public DDGEdge(llvm::DDGNode & N, llvm::DDGEdge::EdgeKind K)
- public DDGEdge(const llvm::DDGEdge & E)
- public DDGEdge(llvm::DDGEdge && E)
- public llvm::DDGEdge::EdgeKind getKind() const
- public bool isDefUse() const
- public bool isMemoryDependence() const
- public bool isRooted() const
Methods
¶DDGEdge(llvm::DDGNode& N)
DDGEdge(llvm::DDGNode& N)
Declared at: llvm/include/llvm/Analysis/DDG.h:224
Parameters
¶DDGEdge(llvm::DDGNode& N,
llvm::DDGEdge::EdgeKind K)
DDGEdge(llvm::DDGNode& N,
llvm::DDGEdge::EdgeKind K)
Declared at: llvm/include/llvm/Analysis/DDG.h:225
Parameters
- llvm::DDGNode& N
- llvm::DDGEdge::EdgeKind K
¶DDGEdge(const llvm::DDGEdge& E)
DDGEdge(const llvm::DDGEdge& E)
Declared at: llvm/include/llvm/Analysis/DDG.h:226
Parameters
- const llvm::DDGEdge& E
¶DDGEdge(llvm::DDGEdge&& E)
DDGEdge(llvm::DDGEdge&& E)
Declared at: llvm/include/llvm/Analysis/DDG.h:227
Parameters
- llvm::DDGEdge&& E
¶llvm::DDGEdge::EdgeKind getKind() const
llvm::DDGEdge::EdgeKind getKind() const
Description
Get the edge kind
Declared at: llvm/include/llvm/Analysis/DDG.h:237
¶bool isDefUse() const
bool isDefUse() const
Description
Return true if this is a def-use edge, and false otherwise.
Declared at: llvm/include/llvm/Analysis/DDG.h:240
¶bool isMemoryDependence() const
bool isMemoryDependence() const
Description
Return true if this is a memory dependence edge, and false otherwise.
Declared at: llvm/include/llvm/Analysis/DDG.h:243
¶bool isRooted() const
bool isRooted() const
Description
Return true if this is an edge stemming from the root node, and false otherwise.
Declared at: llvm/include/llvm/Analysis/DDG.h:247