Lines Matching refs:CGN
157 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule() argument
158 assert(CGN->empty() && "Cannot remove function from call " in removeFunctionFromModule()
160 Function *F = CGN->getFunction(); // Get the function for the call graph node in removeFunctionFromModule()
171 auto &CGN = FunctionMap[F]; in getOrInsertFunction() local
172 if (CGN) in getOrInsertFunction()
173 return CGN.get(); in getOrInsertFunction()
176 CGN = std::make_unique<CallGraphNode>(this, const_cast<Function *>(F)); in getOrInsertFunction()
177 return CGN.get(); in getOrInsertFunction()
293 for (auto *CGN : OldCBs) in replaceCallEdge() local
294 removeOneAbstractEdgeTo(CGN); in replaceCallEdge()
295 for (auto *CGN : NewCBs) in replaceCallEdge() local
296 addCalledFunction(nullptr, CGN); in replaceCallEdge()
322 for (CallGraphNode *CGN : nextSCC) { in run()
327 OS << (CGN->getFunction() ? CGN->getFunction()->getName() in run()