reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ProfileData/InstrProf.h
  909     Dest[I].Count = V.Count;
  909     Dest[I].Count = V.Count;
  910     TotalCount = SaturatingAdd(TotalCount, V.Count);
  933         return left.Count > right.Count;
  933         return left.Count > right.Count;
lib/Analysis/IndirectCallPromotionAnalysis.cpp
   79     uint64_t Count = ValueDataRef[I].Count;
lib/Analysis/ModuleSummaryAnalysis.cpp
  390               .updateHotness(getHotness(Candidate.Count, PSI));
lib/ProfileData/InstrProf.cpp
  495         KindSum += VD[V].Count;
  514       Score += OverlapStats::score(I->Count, J->Count,
  514       Score += OverlapStats::score(I->Count, J->Count,
  518           I->Count, J->Count, FuncLevelOverlap.Base.ValueCounts[ValueKind],
  518           I->Count, J->Count, FuncLevelOverlap.Base.ValueCounts[ValueKind],
  614       I->Count = SaturatingMultiplyAdd(J->Count, Weight, I->Count, &Overflowed);
  614       I->Count = SaturatingMultiplyAdd(J->Count, Weight, I->Count, &Overflowed);
  614       I->Count = SaturatingMultiplyAdd(J->Count, Weight, I->Count, &Overflowed);
  628     I->Count = SaturatingMultiply(I->Count, Weight, &Overflowed);
  628     I->Count = SaturatingMultiply(I->Count, Weight, &Overflowed);
  820     sys::swapByteOrder<uint64_t>(VD[I].Count);
  969         ConstantInt::get(Type::getInt64Ty(Ctx), VD.Count)));
 1022     ValueData[ActualNumValueData].Count = Count->getZExtValue();
lib/ProfileData/InstrProfWriter.cpp
  429              << VD[I].Count << "\n";
  431           OS << VD[I].Value << ":" << VD[I].Count << "\n";
lib/Transforms/Instrumentation/CGProfile.cpp
   65             UpdateCounts(TTI, &F, Symtab.getFunction(VD.Value), VD.Count);
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  235     uint64_t Count = ValueDataRef[I].Count;
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  256            : VDs) { dbgs() << "  (" << VD.Value << "," << VD.Count << ")\n"; });
  281     uint64_t C = VD.Count;
  301     assert(SavedRemainCount >= VD.Count);
  302     SavedRemainCount -= VD.Count;
tools/llvm-profdata/llvm-profdata.cpp
  782       SiteSum += VD[V].Count;
  792       OS << ", " << format("%10" PRId64, VD[V].Count) << " ] ("
  793          << format("%.2f%%", (VD[V].Count * 100.0 / SiteSum)) << ")\n";
unittests/ProfileData/InstrProfTest.cpp
  265   ASSERT_EQ(3U, VD[0].Count);
  266   ASSERT_EQ(2U, VD[1].Count);
  267   ASSERT_EQ(1U, VD[2].Count);
  314   ASSERT_EQ(6U, ValueData[0].Count);
  316   ASSERT_EQ(5U, ValueData[1].Count);
  318   ASSERT_EQ(4U, ValueData[2].Count);
  339   ASSERT_EQ(6U, ValueData[0].Count);
  341   ASSERT_EQ(5U, ValueData[1].Count);
  343   ASSERT_EQ(4U, ValueData[2].Count);
  345   ASSERT_EQ(3U, ValueData[3].Count);
  347   ASSERT_EQ(2U, ValueData[4].Count);
  362   ASSERT_EQ(4U, ValueData[0].Count);
  364   ASSERT_EQ(3U, ValueData[1].Count);
  366   ASSERT_EQ(2U, ValueData[2].Count);
  368   ASSERT_EQ(1U, ValueData[3].Count);
  404   ASSERT_EQ(30U, VD[0].Count);
  405   ASSERT_EQ(20U, VD[1].Count);
  406   ASSERT_EQ(10U, VD[2].Count);
  532   ASSERT_EQ(7U, VD[0].Count);
  534   ASSERT_EQ(6U, VD[1].Count);
  536   ASSERT_EQ(4U, VD[2].Count);
  538   ASSERT_EQ(1U, VD[3].Count);
  543   ASSERT_EQ(6U, VD_2[0].Count);
  545   ASSERT_EQ(4U, VD_2[1].Count);
  547   ASSERT_EQ(3U, VD_2[2].Count);
  549   ASSERT_EQ(1U, VD_2[3].Count);
  554   ASSERT_EQ(1U, VD_3[0].Count);
  559   ASSERT_EQ(6U, VD_4[0].Count);
  561   ASSERT_EQ(4U, VD_4[1].Count);
  563   ASSERT_EQ(2U, VD_4[2].Count);
  619   ASSERT_EQ(Max, VD[0].Count);
  636     VD0[I].Count = 2 * I + 1000;
  646     VD1[I].Count = 2 * I + 1001;
  667     ASSERT_EQ(VD[I].Count, 1509 - I);
  712     return VD1.Count > VD2.Count;
  712     return VD1.Count > VD2.Count;
  718   ASSERT_EQ(1000U, VD_0[0].Count);
  720   ASSERT_EQ(500U, VD_0[1].Count);
  722   ASSERT_EQ(400U, VD_0[2].Count);
  724   ASSERT_EQ(300U, VD_0[3].Count);
  726   ASSERT_EQ(100U, VD_0[4].Count);
  732   ASSERT_EQ(2500U, VD_1[0].Count);
  734   ASSERT_EQ(1300U, VD_1[1].Count);
  736   ASSERT_EQ(1000U, VD_1[2].Count);
  738   ASSERT_EQ(800U, VD_1[3].Count);
  744   ASSERT_EQ(5500U, VD_2[0].Count);
  746   ASSERT_EQ(1000U, VD_2[1].Count);
  748   ASSERT_EQ(800U, VD_2[2].Count);
  754   ASSERT_EQ(2000U, VD_3[0].Count);
  756   ASSERT_EQ(1800U, VD_3[1].Count);
  781     return VD1.Count > VD2.Count;
  781     return VD1.Count > VD2.Count;
  787   ASSERT_EQ(1000U, VD_0[0].Count);
  789   ASSERT_EQ(500U, VD_0[1].Count);
  791   ASSERT_EQ(400U, VD_0[2].Count);