LLVM 20.0.0git
|
Represent an edge in the directed graph. More...
#include "llvm/ADT/DirectedGraph.h"
Public Member Functions | |
DGEdge ()=delete | |
DGEdge (NodeType &N) | |
Create an edge pointing to the given node N . | |
DGEdge (const DGEdge< NodeType, EdgeType > &E) | |
DGEdge< NodeType, EdgeType > & | operator= (const DGEdge< NodeType, EdgeType > &E) |
bool | operator== (const DGEdge &E) const |
Static polymorphism: delegate implementation (via isEqualTo) to the derived class. | |
bool | operator!= (const DGEdge &E) const |
const NodeType & | getTargetNode () const |
Retrieve the target node this edge connects to. | |
NodeType & | getTargetNode () |
void | setTargetNode (const NodeType &N) |
Set the target node this edge connects to. | |
Protected Member Functions | |
bool | isEqualTo (const EdgeType &E) const |
EdgeType & | getDerived () |
const EdgeType & | getDerived () const |
Protected Attributes | |
NodeType & | TargetNode |
Represent an edge in the directed graph.
The edge contains the target node it connects to.
Definition at line 28 of file DirectedGraph.h.
|
delete |
|
inlineexplicit |
Create an edge pointing to the given node N
.
Definition at line 32 of file DirectedGraph.h.
|
inlineexplicit |
Definition at line 33 of file DirectedGraph.h.
|
inlineprotected |
Definition at line 62 of file DirectedGraph.h.
Referenced by llvm::DGEdge< NodeType, EdgeType >::operator==().
|
inlineprotected |
Definition at line 63 of file DirectedGraph.h.
|
inline |
Definition at line 49 of file DirectedGraph.h.
References llvm::DGEdge< NodeType, EdgeType >::getTargetNode().
|
inline |
Retrieve the target node this edge connects to.
Definition at line 48 of file DirectedGraph.h.
References llvm::DGEdge< NodeType, EdgeType >::TargetNode.
Referenced by llvm::DGEdge< NodeType, EdgeType >::getTargetNode(), llvm::DDGBuilder::mergeNodes(), and llvm::operator<<().
|
inlineprotected |
Definition at line 59 of file DirectedGraph.h.
References E.
|
inline |
Definition at line 45 of file DirectedGraph.h.
References E, and llvm::DGEdge< NodeType, EdgeType >::operator==().
|
inline |
Definition at line 35 of file DirectedGraph.h.
References E, and llvm::DGEdge< NodeType, EdgeType >::TargetNode.
Referenced by llvm::DDGEdge::operator=().
|
inline |
Static polymorphism: delegate implementation (via isEqualTo) to the derived class.
Definition at line 42 of file DirectedGraph.h.
References E, and llvm::DGEdge< NodeType, EdgeType >::getDerived().
Referenced by llvm::DGEdge< NodeType, EdgeType >::operator!=().
|
inline |
Set the target node this edge connects to.
Definition at line 55 of file DirectedGraph.h.
References N, and llvm::DGEdge< NodeType, EdgeType >::TargetNode.
|
protected |
Definition at line 68 of file DirectedGraph.h.
Referenced by llvm::DGEdge< NodeType, EdgeType >::getTargetNode(), llvm::DGEdge< NodeType, EdgeType >::operator=(), and llvm::DGEdge< NodeType, EdgeType >::setTargetNode().