Lines Matching refs:CountFromProfile
1145 bool setInstrumentedCounts(const std::vector<uint64_t> &CountFromProfile);
1170 const std::vector<uint64_t> &CountFromProfile) { in setInstrumentedCounts() argument
1178 if (NumCounters != CountFromProfile.size()) { in setInstrumentedCounts()
1186 uint64_t CountValue = CountFromProfile[I++]; in setInstrumentedCounts()
1195 ProfileCountSize = CountFromProfile.size(); in setInstrumentedCounts()
1317 std::vector<uint64_t> &CountFromProfile = ProfileRecord.Counts; in readCounters() local
1320 LLVM_DEBUG(dbgs() << CountFromProfile.size() << " counts\n"); in readCounters()
1321 AllMinusOnes = (CountFromProfile.size() > 0); in readCounters()
1323 for (unsigned I = 0, S = CountFromProfile.size(); I < S; I++) { in readCounters()
1324 LLVM_DEBUG(dbgs() << " " << I << ": " << CountFromProfile[I] << "\n"); in readCounters()
1325 ValueSum += CountFromProfile[I]; in readCounters()
1326 if (CountFromProfile[I] != (uint64_t)-1) in readCounters()
1336 if (!setInstrumentedCounts(CountFromProfile)) { in readCounters()
1507 std::vector<uint64_t> &CountFromProfile = UseFunc->getProfileRecord().Counts; in annotateOneSelectInst() local
1508 assert(*CurCtrIdx < CountFromProfile.size() && in annotateOneSelectInst()
1511 SCounts[0] = CountFromProfile[*CurCtrIdx]; // True count in annotateOneSelectInst()