• Home
  • Raw
  • Download

Lines Matching refs:CG

60   bool doInitialization(CallGraph &CG);
61 bool doFinalization(CallGraph &CG);
97 bool RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG,
101 CallGraph &CG, bool &CallGraphUpToDate,
103 bool RefreshCallGraph(CallGraphSCC &CurSCC, CallGraph &CG,
113 CallGraph &CG, bool &CallGraphUpToDate, in RunPassOnSCC() argument
121 DevirtualizedCall |= RefreshCallGraph(CurSCC, CG, false); in RunPassOnSCC()
134 RefreshCallGraph(CurSCC, CG, true); in RunPassOnSCC()
179 CallGraph &CG, bool CheckingMode) { in RefreshCallGraph() argument
302 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
311 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
326 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
329 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
381 bool CGPassManager::RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG, in RunAllPassesOnSCC() argument
419 Changed |= RunPassOnSCC(P, CurSCC, CG, in RunAllPassesOnSCC()
435 DevirtualizedCall |= RefreshCallGraph(CurSCC, CG, false); in RunAllPassesOnSCC()
442 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnModule() local
443 bool Changed = doInitialization(CG); in runOnModule()
446 scc_iterator<CallGraph*> CGI = scc_begin(&CG); in runOnModule()
448 CallGraphSCC CurSCC(CG, &CGI); in runOnModule()
475 Changed |= RunAllPassesOnSCC(CurSCC, CG, DevirtualizedCall); in runOnModule()
486 Changed |= doFinalization(CG); in runOnModule()
492 bool CGPassManager::doInitialization(CallGraph &CG) { in doInitialization() argument
498 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization()
500 Changed |= ((CallGraphSCCPass*)getContainedPass(i))->doInitialization(CG); in doInitialization()
507 bool CGPassManager::doFinalization(CallGraph &CG) { in doFinalization() argument
513 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization()
515 Changed |= ((CallGraphSCCPass*)getContainedPass(i))->doFinalization(CG); in doFinalization()