Lines Matching refs:CountFromProfile
1092 bool setInstrumentedCounts(const std::vector<uint64_t> &CountFromProfile);
1117 const std::vector<uint64_t> &CountFromProfile) { in setInstrumentedCounts() argument
1125 if (NumCounters != CountFromProfile.size()) { in setInstrumentedCounts()
1133 uint64_t CountValue = CountFromProfile[I++]; in setInstrumentedCounts()
1142 ProfileCountSize = CountFromProfile.size(); in setInstrumentedCounts()
1268 std::vector<uint64_t> &CountFromProfile = ProfileRecord.Counts; in readCounters() local
1271 LLVM_DEBUG(dbgs() << CountFromProfile.size() << " counts\n"); in readCounters()
1272 AllMinusOnes = (CountFromProfile.size() > 0); in readCounters()
1274 for (unsigned I = 0, S = CountFromProfile.size(); I < S; I++) { in readCounters()
1275 LLVM_DEBUG(dbgs() << " " << I << ": " << CountFromProfile[I] << "\n"); in readCounters()
1276 ValueSum += CountFromProfile[I]; in readCounters()
1277 if (CountFromProfile[I] != (uint64_t)-1) in readCounters()
1287 if (!setInstrumentedCounts(CountFromProfile)) { in readCounters()
1461 std::vector<uint64_t> &CountFromProfile = UseFunc->getProfileRecord().Counts; in annotateOneSelectInst() local
1462 assert(*CurCtrIdx < CountFromProfile.size() && in annotateOneSelectInst()
1465 SCounts[0] = CountFromProfile[*CurCtrIdx]; // True count in annotateOneSelectInst()