Lines Matching refs:scc
41 node->ptr->scc = leak_scc.get(); in ComputeDAG()
52 if (leak.scc != ref->ptr->scc) { in ComputeDAG()
53 leak.scc->node.Edge(&ref->ptr->scc->node); in ComputeDAG()
60 std::function<void(SCCInfo*)> walk([&](SCCInfo* scc) { in AccumulateLeaks() argument
61 if (scc->accumulator != dominator) { in AccumulateLeaks()
62 scc->accumulator = dominator; in AccumulateLeaks()
63 dominator->cuumulative_size += scc->size; in AccumulateLeaks()
64 dominator->cuumulative_count += scc->count; in AccumulateLeaks()
65 scc->node.Foreach([&](SCCInfo* ref) { walk(ref); }); in AccumulateLeaks()
100 for (auto& scc : leak_scc_) { in FoldLeaks() local
101 if (scc->node.references_in.size() == 0) { in FoldLeaks()
102 scc->dominator = true; in FoldLeaks()
103 AccumulateLeaks(scc.get()); in FoldLeaks()
122 if (leak.scc->dominator) { in Leaked()
123 leaked.emplace_back(Leak{leak.range, leak.scc->cuumulative_count - 1, in Leaked()
124 leak.scc->cuumulative_size - leak.range.size()}); in Leaked()