Lines Matching defs:CGN
154 // functions (ie, there are no edges in it's CGN). The easiest way to do this
157 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) {
158 assert(CGN->empty() && "Cannot remove function from call "
160 Function *F = CGN->getFunction(); // Get the function for the call graph node
171 auto &CGN = FunctionMap[F];
172 if (CGN)
173 return CGN.get();
176 CGN = std::make_unique<CallGraphNode>(this, const_cast<Function *>(F));
177 return CGN.get();
293 for (auto *CGN : OldCBs)
294 removeOneAbstractEdgeTo(CGN);
295 for (auto *CGN : NewCBs)
296 addCalledFunction(nullptr, CGN);
322 for (CallGraphNode *CGN : nextSCC) {
327 OS << (CGN->getFunction() ? CGN->getFunction()->getName()