Lines Matching defs:Cold
104 // Test Cold
108 AllocationType::Cold);
128 uint8_t Cold = (uint8_t)AllocationType::Cold;
131 EXPECT_TRUE(hasSingleAllocType(Cold));
133 EXPECT_FALSE(hasSingleAllocType(NotCold | Cold));
135 EXPECT_FALSE(hasSingleAllocType(Cold | Hot));
136 EXPECT_FALSE(hasSingleAllocType(NotCold | Cold | Hot));
180 Trie1.addCallStack(AllocationType::Cold, {1, 2});
181 Trie1.addCallStack(AllocationType::Cold, {1, 3, 4});
288 Trie.addCallStack(AllocationType::Cold, {1, 2});
307 EXPECT_EQ(getMIBAllocType(MIB), AllocationType::Cold);
337 Trie.addCallStack(AllocationType::Cold, {1, 2});
356 EXPECT_EQ(getMIBAllocType(MIB), AllocationType::Cold);
388 Trie.addCallStack(AllocationType::Cold, {1, 2});
410 EXPECT_EQ(getMIBAllocType(MIB), AllocationType::Cold);
442 Trie.addCallStack(AllocationType::Cold, {1, 2, 3});
443 Trie.addCallStack(AllocationType::Cold, {1, 2, 4});
469 EXPECT_EQ(getMIBAllocType(MIB), AllocationType::Cold);
476 // determining where Cold contexts need to be cloned to enable correct hinting.
496 Trie.addCallStack(AllocationType::Cold, {1, 2, 3, 4});
497 Trie.addCallStack(AllocationType::Cold, {1, 2, 3, 5, 6, 7});
498 // This NotCold context is needed to know where the above two Cold contexts
502 Trie.addCallStack(AllocationType::Cold, {1, 2, 3, 8, 9, 10});
503 // This NotCold context is needed to know where the above Cold context must be
510 // None of these NotCold contexts are needed as the Cold contexts they
517 {AllocationType::Cold, {1, 2, 3, 4}},
518 {AllocationType::Cold, {1, 2, 3, 5, 6, 7}},
520 {AllocationType::Cold, {1, 2, 3, 8, 9, 10}},
668 EXPECT_EQ(getMIBAllocType(MIB), AllocationType::Cold);