Searched refs:hasNItemsOrLess (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | STLExtrasTest.cpp | 703 TEST(STLExtras, hasNItemsOrLess) { in TEST() argument 707 EXPECT_TRUE(hasNItemsOrLess(V0, 0)); in TEST() 708 EXPECT_TRUE(hasNItemsOrLess(V0, 1)); in TEST() 709 EXPECT_TRUE(hasNItemsOrLess(V0, 2)); in TEST() 711 EXPECT_FALSE(hasNItemsOrLess(V1, 0)); in TEST() 712 EXPECT_TRUE(hasNItemsOrLess(V1, 1)); in TEST() 713 EXPECT_TRUE(hasNItemsOrLess(V1, 2)); in TEST() 717 EXPECT_TRUE(hasNItemsOrLess(V2, 2)); in TEST() 718 EXPECT_TRUE(hasNItemsOrLess(V2, 3)); in TEST() 723 EXPECT_TRUE(hasNItemsOrLess(V3, 3)); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | STLExtras.h | 2172 bool hasNItemsOrLess( 2194 bool hasNItemsOrLess(ContainerTy &&C, unsigned N) { 2195 return hasNItemsOrLess(std::begin(C), std::end(C), N);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 1303 hasNItemsOrLess(BB->phis(), PHICSENumPHISmallSize)) in EliminateDuplicatePHINodes()
|