Lines Matching refs:Counts
472 uint64_t CntNum = Record->Counts.size(); in InstrProfileEntry()
475 MaxCount = std::max(MaxCount, Record->Counts[I]); in InstrProfileEntry()
476 ZeroCntNum += !Record->Counts[I]; in InstrProfileEntry()
497 for (size_t I = 0; I < ProfRecord->Counts.size(); ++I) in updateInstrProfileEntry()
498 ProfRecord->Counts[I] = -1; in updateInstrProfileEntry()
2199 assert(Func.Counts.size() > 0 && "function missing entry counter"); in showInstrProfile()
2203 if (llvm::any_of(Func.Counts, [](uint64_t C) { return C; })) in showInstrProfile()
2210 for (size_t I = 0, E = Func.Counts.size(); I < E; ++I) { in showInstrProfile()
2211 if (Func.Counts[I] == (uint64_t)-1) in showInstrProfile()
2213 FuncMax = std::max(FuncMax, Func.Counts[I]); in showInstrProfile()
2214 FuncSum += Func.Counts[I]; in showInstrProfile()
2245 << " Counters: " << Func.Counts.size() << "\n"; in showInstrProfile()
2247 OS << " Function count: " << Func.Counts[0] << "\n"; in showInstrProfile()
2261 for (size_t I = Start, E = Func.Counts.size(); I < E; ++I) { in showInstrProfile()
2262 OS << (I == Start ? "" : ", ") << Func.Counts[I]; in showInstrProfile()