Searched refs:hasNItemsOrMore (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | STLExtrasTest.cpp | 681 TEST(STLExtras, hasNItemsOrMore) { in TEST() argument 685 EXPECT_TRUE(hasNItemsOrMore(V1, 1)); in TEST() 686 EXPECT_FALSE(hasNItemsOrMore(V1, 2)); in TEST() 688 EXPECT_TRUE(hasNItemsOrMore(V2, 1)); in TEST() 689 EXPECT_TRUE(hasNItemsOrMore(V2, 2)); in TEST() 690 EXPECT_FALSE(hasNItemsOrMore(V2, 3)); in TEST() 692 EXPECT_TRUE(hasNItemsOrMore(V3, 3)); in TEST() 693 EXPECT_FALSE(hasNItemsOrMore(V3, 4)); in TEST() 696 hasNItemsOrMore(V3.begin(), V3.end(), 3, [](int x) { return x < 10; })); in TEST() 698 hasNItemsOrMore(V3.begin(), V3.end(), 3, [](int x) { return x > 10; })); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Value.cpp | 150 return hasNItemsOrMore(use_begin(), use_end(), N); in hasNUsesOrMore() 192 return hasNItemsOrMore(user_begin(), user_end(), N, isUnDroppableUser); in hasNUndroppableUsesOrMore()
|
| H A D | BasicBlock.cpp | 288 return hasNItemsOrMore(pred_begin(this), pred_end(this), N); in hasNPredecessorsOrMore()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | STLExtras.h | 2151 bool hasNItemsOrMore( 2178 return !hasNItemsOrMore(Begin, End, N + 1, ShouldBeCounted); 2188 bool hasNItemsOrMore(ContainerTy &&C, unsigned N) { 2189 return hasNItemsOrMore(std::begin(C), std::end(C), N);
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | OpBase.td | 1653 CPred<"::llvm::hasNItemsOrMore($_self, " # numBlocks # ")">,
|