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

Declarations

include/llvm/Analysis/ProfileSummaryInfo.h
  136   bool isHotBlockNthPercentile(int PercentileCutoff,

References

lib/Analysis/ProfileSummaryInfo.cpp
  216     if (isHotBlockNthPercentile(PercentileCutoff, &BB, &BFI))
lib/Transforms/Utils/SizeOpts.cpp
   62     return PSI->isHotBlockNthPercentile(CutOff, BB, BFI);
unittests/Analysis/ProfileSummaryInfoTest.cpp
  175   EXPECT_TRUE(PSI.isHotBlockNthPercentile(990000, &BB0, &BFI));
  176   EXPECT_TRUE(PSI.isHotBlockNthPercentile(990000, BB1, &BFI));
  177   EXPECT_FALSE(PSI.isHotBlockNthPercentile(990000, BB2, &BFI));
  178   EXPECT_TRUE(PSI.isHotBlockNthPercentile(990000, BB3, &BFI));
  180   EXPECT_TRUE(PSI.isHotBlockNthPercentile(999900, &BB0, &BFI));
  181   EXPECT_TRUE(PSI.isHotBlockNthPercentile(999900, BB1, &BFI));
  182   EXPECT_TRUE(PSI.isHotBlockNthPercentile(999900, BB2, &BFI));
  183   EXPECT_TRUE(PSI.isHotBlockNthPercentile(999900, BB3, &BFI));
  185   EXPECT_FALSE(PSI.isHotBlockNthPercentile(10000, &BB0, &BFI));
  186   EXPECT_FALSE(PSI.isHotBlockNthPercentile(10000, BB1, &BFI));
  187   EXPECT_FALSE(PSI.isHotBlockNthPercentile(10000, BB2, &BFI));
  188   EXPECT_FALSE(PSI.isHotBlockNthPercentile(10000, BB3, &BFI));
  222   EXPECT_TRUE(PSI.isHotBlockNthPercentile(990000, &BB0, &BFI));
  223   EXPECT_TRUE(PSI.isHotBlockNthPercentile(990000, BB1, &BFI));
  224   EXPECT_FALSE(PSI.isHotBlockNthPercentile(990000, BB2, &BFI));
  225   EXPECT_TRUE(PSI.isHotBlockNthPercentile(990000, BB3, &BFI));
  227   EXPECT_TRUE(PSI.isHotBlockNthPercentile(999900, &BB0, &BFI));
  228   EXPECT_TRUE(PSI.isHotBlockNthPercentile(999900, BB1, &BFI));
  229   EXPECT_TRUE(PSI.isHotBlockNthPercentile(999900, BB2, &BFI));
  230   EXPECT_TRUE(PSI.isHotBlockNthPercentile(999900, BB3, &BFI));
  232   EXPECT_FALSE(PSI.isHotBlockNthPercentile(10000, &BB0, &BFI));
  233   EXPECT_FALSE(PSI.isHotBlockNthPercentile(10000, BB1, &BFI));
  234   EXPECT_FALSE(PSI.isHotBlockNthPercentile(10000, BB2, &BFI));
  235   EXPECT_FALSE(PSI.isHotBlockNthPercentile(10000, BB3, &BFI));