Lines Matching defs:Counts
115 OS << "\t;;; Out-edge counts:";
159 std::vector<std::pair<BasicBlock*, double> > Counts;
167 Counts.push_back(std::make_pair(BB, w));
211 for (unsigned i = 0, e = Counts.size(); i != e; ++i)
212 TotalExecutions += Counts[i].second;
215 sort(Counts.begin(), Counts.end(),
223 unsigned BlocksToPrint = Counts.size();
226 if (Counts[i].second == 0) break;
227 Function *F = Counts[i].first->getParent();
229 << format("%5g", Counts[i].second/(double)TotalExecutions*100) << "% "
230 << format("%5.0f", Counts[i].second) << "/"
233 << Counts[i].first->getNameStr() << "\n";