|
LLVM
10.0.0
|
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. More... | |
| DGEdge (const DGEdge< NodeType, EdgeType > &E) | |
| DGEdge< NodeType, EdgeType > & | operator= (const DGEdge< NodeType, EdgeType > &E) |
| bool | operator== (const EdgeType &E) const |
| Static polymorphism: delegate implementation (via isEqualTo) to the derived class. More... | |
| bool | operator!= (const EdgeType &E) const |
| const NodeType & | getTargetNode () const |
| Retrieve the target node this edge connects to. More... | |
| NodeType & | getTargetNode () |
| void | setTargetNode (const NodeType &N) |
| Set the target node this edge connects to. More... | |
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 27 of file DirectedGraph.h.
|
delete |
|
inlineexplicit |
Create an edge pointing to the given node N.
Definition at line 31 of file DirectedGraph.h.
|
inlineexplicit |
Definition at line 32 of file DirectedGraph.h.
|
inlineprotected |
Definition at line 59 of file DirectedGraph.h.
Referenced by llvm::DGEdge< NodeType, EdgeType >::operator==(), and llvm::DGNode< NodeType, EdgeType >::operator==().
|
inlineprotected |
Definition at line 60 of file DirectedGraph.h.
|
inline |
Retrieve the target node this edge connects to.
Definition at line 45 of file DirectedGraph.h.
References llvm::DGEdge< NodeType, EdgeType >::TargetNode.
Referenced by llvm::GraphTraits< DDGNode * >::DDGGetTargetNode(), llvm::GraphTraits< const DDGNode * >::DDGGetTargetNode(), llvm::DGEdge< NodeType, EdgeType >::getTargetNode(), and llvm::operator<<().
|
inline |
Definition at line 46 of file DirectedGraph.h.
References llvm::DGEdge< NodeType, EdgeType >::getTargetNode().
|
inlineprotected |
Definition at line 56 of file DirectedGraph.h.
References E.
|
inline |
Definition at line 42 of file DirectedGraph.h.
References llvm::DGEdge< NodeType, EdgeType >::operator==().
|
inline |
Definition at line 34 of file DirectedGraph.h.
References llvm::DGEdge< NodeType, EdgeType >::TargetNode.
Referenced by llvm::DDGEdge::operator=().
|
inline |
Static polymorphism: delegate implementation (via isEqualTo) to the derived class.
Definition at line 41 of file DirectedGraph.h.
References llvm::DGEdge< NodeType, EdgeType >::getDerived().
Referenced by llvm::DGEdge< NodeType, EdgeType >::operator!=(), and llvm::DGNode< NodeType, EdgeType >::operator!=().
|
inline |
Set the target node this edge connects to.
Definition at line 52 of file DirectedGraph.h.
References N, and llvm::DGEdge< NodeType, EdgeType >::TargetNode.
|
protected |
Definition at line 65 of file DirectedGraph.h.
Referenced by llvm::DGEdge< NodeType, EdgeType >::getTargetNode(), llvm::DGEdge< NodeType, EdgeType >::operator=(), and llvm::DGEdge< NodeType, EdgeType >::setTargetNode().
1.8.13