Home | History | Annotate | Download | only in IPO

Lines Matching refs:CG

398   CallGraph &CG = getAnalysis<CallGraph>();
459 InlineFunctionInfo InlineInfo(&CG, TD);
483 CG[Caller]->removeCallEdgeFor(CS);
537 CG[Callee]->getNumReferences() == 0) {
540 CallGraphNode *CalleeNode = CG[Callee];
546 delete CG.removeFunctionFromModule(CalleeNode);
572 bool Inliner::doFinalization(CallGraph &CG) {
573 return removeDeadFunctions(CG);
578 bool Inliner::removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly) {
583 for (CallGraph::iterator I = CG.begin(), E = CG.end(); I != E; ++I) {
610 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN);
632 delete CG.removeFunctionFromModule(*I);