• Home
  • Raw
  • Download

Lines Matching refs:CG

59   bool doInitialization(CallGraph &CG);
60 bool doFinalization(CallGraph &CG);
96 bool RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG,
100 CallGraph &CG, bool &CallGraphUpToDate,
102 bool RefreshCallGraph(CallGraphSCC &CurSCC, CallGraph &CG,
112 CallGraph &CG, bool &CallGraphUpToDate, in RunPassOnSCC() argument
120 DevirtualizedCall |= RefreshCallGraph(CurSCC, CG, false); in RunPassOnSCC()
133 RefreshCallGraph(CurSCC, CG, true); in RunPassOnSCC()
178 CallGraph &CG, bool CheckingMode) { in RefreshCallGraph() argument
301 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
310 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
325 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
328 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
380 bool CGPassManager::RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG, in RunAllPassesOnSCC() argument
418 Changed |= RunPassOnSCC(P, CurSCC, CG, in RunAllPassesOnSCC()
434 DevirtualizedCall |= RefreshCallGraph(CurSCC, CG, false); in RunAllPassesOnSCC()
441 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnModule() local
442 bool Changed = doInitialization(CG); in runOnModule()
445 scc_iterator<CallGraph*> CGI = scc_begin(&CG); in runOnModule()
474 Changed |= RunAllPassesOnSCC(CurSCC, CG, DevirtualizedCall); in runOnModule()
485 Changed |= doFinalization(CG); in runOnModule()
491 bool CGPassManager::doInitialization(CallGraph &CG) { in doInitialization() argument
497 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization()
499 Changed |= ((CallGraphSCCPass*)getContainedPass(i))->doInitialization(CG); in doInitialization()
506 bool CGPassManager::doFinalization(CallGraph &CG) { in doFinalization() argument
512 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization()
514 Changed |= ((CallGraphSCCPass*)getContainedPass(i))->doFinalization(CG); in doFinalization()