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

Declarations

include/llvm/Analysis/ProfileSummaryInfo.h
  129   bool isHotCountNthPercentile(int PercentileCutoff, uint64_t C);

References

lib/Analysis/ProfileSummaryInfo.cpp
  202     if (isHotCountNthPercentile(PercentileCutoff, FunctionCount.getCount()))
  212     if (isHotCountNthPercentile(PercentileCutoff, TotalCallCount))
  332   return Count && isHotCountNthPercentile(PercentileCutoff, *Count);
lib/CodeGen/MachineSizeOpts.cpp
   42   return Count && PSI->isHotCountNthPercentile(PercentileCutoff, *Count);
   68     if (PSI->isHotCountNthPercentile(PercentileCutoff,
unittests/Analysis/ProfileSummaryInfoTest.cpp
  140   EXPECT_TRUE(PSI.isHotCountNthPercentile(990000, 400));
  141   EXPECT_FALSE(PSI.isHotCountNthPercentile(990000, 100));
  142   EXPECT_FALSE(PSI.isHotCountNthPercentile(990000, 2));
  144   EXPECT_TRUE(PSI.isHotCountNthPercentile(999999, 400));
  145   EXPECT_TRUE(PSI.isHotCountNthPercentile(999999, 100));
  146   EXPECT_FALSE(PSI.isHotCountNthPercentile(999999, 2));
  148   EXPECT_FALSE(PSI.isHotCountNthPercentile(10000, 400));
  149   EXPECT_FALSE(PSI.isHotCountNthPercentile(10000, 100));
  150   EXPECT_FALSE(PSI.isHotCountNthPercentile(10000, 2));