• Home
  • Raw
  • Download

Lines Matching refs:CallGraphNode

35       CallsExternalNode(std::make_unique<CallGraphNode>(this, nullptr)) {  in CallGraph()
78 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph()
89 void CallGraph::populateCallGraphNode(CallGraphNode *Node) { in populateCallGraphNode()
122 SmallVector<CallGraphNode *, 16> Nodes; in print()
128 llvm::sort(Nodes, [](CallGraphNode *LHS, CallGraphNode *RHS) { in print()
136 for (CallGraphNode *CN : Nodes) in print()
144 void CallGraph::ReplaceExternalCallEdge(CallGraphNode *Old, in ReplaceExternalCallEdge()
145 CallGraphNode *New) { in ReplaceExternalCallEdge()
160 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule()
187 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction()
193 CGN = std::make_unique<CallGraphNode>(this, const_cast<Function *>(F)); in getOrInsertFunction()
201 void CallGraphNode::print(raw_ostream &OS) const { in print()
220 LLVM_DUMP_METHOD void CallGraphNode::dump() const { print(dbgs()); } in dump()
226 void CallGraphNode::removeCallEdgeFor(CallBase &Call) { in removeCallEdgeFor()
246 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { in removeAnyCallEdgeTo()
258 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) { in removeOneAbstractEdgeTo()
274 void CallGraphNode::replaceCallEdge(CallBase &Call, CallBase &NewCall, in replaceCallEdge()
275 CallGraphNode *NewNode) { in replaceCallEdge()
286 SmallVector<CallGraphNode *, 4u> OldCBs; in replaceCallEdge()
287 SmallVector<CallGraphNode *, 4u> NewCBs; in replaceCallEdge()
296 CallGraphNode *OldNode = OldCBs[N]; in replaceCallEdge()
297 CallGraphNode *NewNode = NewCBs[N]; in replaceCallEdge()