Lines Matching defs:CountFromProfile
1184 bool setInstrumentedCounts(const std::vector<uint64_t> &CountFromProfile);
1224 const std::vector<uint64_t> &CountFromProfile) {
1235 if (NumCounters != CountFromProfile.size()) {
1243 uint64_t CountValue = CountFromProfile[I++];
1252 ProfileCountSize = CountFromProfile.size();
1387 std::vector<uint64_t> &CountFromProfile = ProfileRecord.Counts;
1390 LLVM_DEBUG(dbgs() << CountFromProfile.size() << " counts\n");
1393 for (unsigned I = 0, S = CountFromProfile.size(); I < S; I++) {
1394 LLVM_DEBUG(dbgs() << " " << I << ": " << CountFromProfile[I] << "\n");
1395 ValueSum += CountFromProfile[I];
1404 if (!setInstrumentedCounts(CountFromProfile)) {
1703 std::vector<uint64_t> &CountFromProfile = UseFunc->getProfileRecord().Counts;
1704 assert(*CurCtrIdx < CountFromProfile.size() &&
1707 SCounts[0] = CountFromProfile[*CurCtrIdx]; // True count