|
MLIR 22.0.0git
|
This class represents a directed edge between two nodes in the callgraph. More...
#include "mlir/Analysis/CallGraph.h"
Public Member Functions | |
| bool | isAbstract () const |
| Returns true if this edge represents an Abstract edge. | |
| bool | isCall () const |
| Returns true if this edge represents a Call edge. | |
| bool | isChild () const |
| Returns true if this edge represents a Child edge. | |
| CallGraphNode * | getTarget () const |
| Returns the target node for this edge. | |
| bool | operator== (const Edge &edge) const |
Friends | |
| class | CallGraphNode |
This class represents a directed edge between two nodes in the callgraph.
Definition at line 43 of file CallGraph.h.
|
inline |
Returns the target node for this edge.
Definition at line 73 of file CallGraph.h.
References CallGraphNode.
Referenced by mlir::CallGraph::eraseNode(), and llvm::GraphTraits< const mlir::CallGraphNode * >::unwrap().
|
inline |
Returns true if this edge represents an Abstract edge.
Definition at line 64 of file CallGraph.h.
|
inline |
Returns true if this edge represents a Call edge.
Definition at line 67 of file CallGraph.h.
|
inline |
Returns true if this edge represents a Child edge.
Definition at line 70 of file CallGraph.h.
Referenced by mlir::CallGraphNode::hasChildren().
Definition at line 75 of file CallGraph.h.
|
friend |
Definition at line 88 of file CallGraph.h.
References CallGraphNode.
Referenced by CallGraphNode, and getTarget().