Searched refs:BB0Freq (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | BlockFrequencyInfoTest.cpp | 69 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency(); in TEST_F() local 74 EXPECT_EQ(BB0Freq, BB3Freq); in TEST_F() 75 EXPECT_EQ(BB0Freq, BB1Freq + BB2Freq); in TEST_F() 76 EXPECT_EQ(BB0Freq, BB3Freq); in TEST_F() 80 EXPECT_EQ(BFI.getBlockProfileCount(BB1).getValue(), 100 * BB1Freq / BB0Freq); in TEST_F() 81 EXPECT_EQ(BFI.getBlockProfileCount(BB2).getValue(), 100 * BB2Freq / BB0Freq); in TEST_F() 85 BFI.setBlockFreqAndScale(&BB0, BB0Freq * 2, BlocksToScale); in TEST_F() 86 EXPECT_EQ(BFI.getBlockFreq(&BB0).getFrequency(), 2 * BB0Freq); in TEST_F()
|
/external/llvm/unittests/Analysis/ |
D | BlockFrequencyInfoTest.cpp | 70 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency(); in TEST_F() local 75 EXPECT_EQ(BB0Freq, BB3Freq); in TEST_F() 76 EXPECT_EQ(BB0Freq, BB1Freq + BB2Freq); in TEST_F() 77 EXPECT_EQ(BB0Freq, BB3Freq); in TEST_F() 81 EXPECT_EQ(BFI.getBlockProfileCount(BB1).getValue(), 100 * BB1Freq / BB0Freq); in TEST_F() 82 EXPECT_EQ(BFI.getBlockProfileCount(BB2).getValue(), 100 * BB2Freq / BB0Freq); in TEST_F()
|