Home
last modified time | relevance | path

Searched refs:find_last_in (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/unittests/ADT/
DBitVectorTest.cpp377 EXPECT_EQ(-1, Vec.find_last_in(0, 0)); in TEST()
378 EXPECT_EQ(-1, Vec.find_last_in(24, 24)); in TEST()
379 EXPECT_EQ(-1, Vec.find_last_in(7, 24)); in TEST()
381 EXPECT_EQ(6, Vec.find_last_in(0, 10)); in TEST()
382 EXPECT_EQ(5, Vec.find_last_in(0, 6)); in TEST()
383 EXPECT_EQ(154, Vec.find_last_in(100, 155)); in TEST()
384 EXPECT_EQ(152, Vec.find_last_in(100, 154)); in TEST()
385 EXPECT_EQ(150, Vec.find_last_in(100, 152)); in TEST()
386 EXPECT_EQ(-1, Vec.find_last_in(100, 150)); in TEST()
388 EXPECT_EQ(199, Vec.find_last_in(199, 200)); in TEST()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DBitVector.h244 int find_last_in(unsigned Begin, unsigned End) const { in find_last_in() function
318 int find_last() const { return find_last_in(0, Size); } in find_last()
326 int find_prev(unsigned PriorTo) const { return find_last_in(0, PriorTo); } in find_prev()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DBitVector.h236 int find_last_in(unsigned Begin, unsigned End) const { in find_last_in() function
335 int find_last() const { return find_last_in(0, Size); } in find_last()
343 int find_prev(unsigned PriorTo) const { return find_last_in(0, PriorTo); } in find_prev()
/external/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp1244 int LastNeg = Results.find_last_in(0, Bias) - Bias; in TEST_F()