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

References

unittests/Analysis/BlockFrequencyInfoTest.cpp
   69   uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency();
   70   uint64_t BB1Freq = BFI.getBlockFreq(BB1).getFrequency();
   71   uint64_t BB2Freq = BFI.getBlockFreq(BB2).getFrequency();
   72   uint64_t BB3Freq = BFI.getBlockFreq(BB3).getFrequency();
   78   EXPECT_EQ(BFI.getBlockProfileCount(&BB0).getValue(), UINT64_C(100));
   79   EXPECT_EQ(BFI.getBlockProfileCount(BB3).getValue(), UINT64_C(100));
   80   EXPECT_EQ(BFI.getBlockProfileCount(BB1).getValue(),
   82   EXPECT_EQ(BFI.getBlockProfileCount(BB2).getValue(),
   87   BFI.setBlockFreqAndScale(&BB0, BB0Freq * 2, BlocksToScale);
   88   EXPECT_EQ(BFI.getBlockFreq(&BB0).getFrequency(), 2 * BB0Freq);
   89   EXPECT_EQ(BFI.getBlockFreq(BB1).getFrequency(), 2 * BB1Freq);
   90   EXPECT_EQ(BFI.getBlockFreq(BB2).getFrequency(), 2 * BB2Freq);
   91   EXPECT_EQ(BFI.getBlockFreq(BB3).getFrequency(), BB3Freq);