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