Lines Matching refs:CallGraphNode
28 bool CallGraphNode::isExternal() const { return !callableRegion; } in isExternal()
32 Region *CallGraphNode::getCallableRegion() const { in getCallableRegion()
39 void CallGraphNode::addAbstractEdge(CallGraphNode *node) { in addAbstractEdge()
45 void CallGraphNode::addCallEdge(CallGraphNode *node) { in addCallEdge()
50 void CallGraphNode::addChildEdge(CallGraphNode *child) { in addChildEdge()
55 bool CallGraphNode::hasChildren() const { in hasChildren()
60 void CallGraphNode::addEdge(CallGraphNode *node, Edge::Kind kind) { in addEdge()
72 CallGraphNode *parentNode, bool resolveCalls) { in computeCallGraph()
107 CallGraphNode *CallGraph::getOrAddNode(Region *region, in getOrAddNode()
108 CallGraphNode *parentNode) { in getOrAddNode()
111 std::unique_ptr<CallGraphNode> &node = nodes[region]; in getOrAddNode()
113 node.reset(new CallGraphNode(region)); in getOrAddNode()
133 CallGraphNode *CallGraph::lookupNode(Region *region) const { in lookupNode()
140 CallGraphNode *
153 void CallGraph::eraseNode(CallGraphNode *node) { in eraseNode()
156 for (const CallGraphNode::Edge &edge : llvm::make_early_inc_range(*node)) in eraseNode()
162 it.second->edges.remove_if([node](const CallGraphNode::Edge &edge) { in eraseNode()
178 auto emitNodeName = [&](const CallGraphNode *node) { in print()
194 const CallGraphNode *node = nodeIt.second.get(); in print()