Lines Matching refs:intersectWith
226 EXPECT_EQ(Empty.intersectWith(Full), Empty); in TEST_F()
227 EXPECT_EQ(Empty.intersectWith(Empty), Empty); in TEST_F()
228 EXPECT_EQ(Empty.intersectWith(One), Empty); in TEST_F()
229 EXPECT_EQ(Empty.intersectWith(Some), Empty); in TEST_F()
230 EXPECT_EQ(Empty.intersectWith(Wrap), Empty); in TEST_F()
231 EXPECT_EQ(Full.intersectWith(Full), Full); in TEST_F()
232 EXPECT_EQ(Some.intersectWith(Some), Some); in TEST_F()
233 EXPECT_EQ(Some.intersectWith(One), One); in TEST_F()
234 EXPECT_EQ(Full.intersectWith(One), One); in TEST_F()
235 EXPECT_EQ(Full.intersectWith(Some), Some); in TEST_F()
236 EXPECT_EQ(Some.intersectWith(Wrap), Empty); in TEST_F()
237 EXPECT_EQ(One.intersectWith(Wrap), Empty); in TEST_F()
238 EXPECT_EQ(One.intersectWith(Wrap), Wrap.intersectWith(One)); in TEST_F()
245 EXPECT_TRUE(LHS.intersectWith(RHS) == LHS); in TEST_F()
250 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 2))); in TEST_F()
255 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 2), APInt(32, 0))); in TEST_F()
260 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 4), APInt(32, 0))); in TEST_F()
265 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 5), APInt(32, 1))); in TEST_F()
270 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 7), APInt(32, 4))); in TEST_F()
275 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 4), APInt(32, 2))); in TEST_F()
280 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 15), APInt(32, 0))); in TEST_F()
633 EXPECT_TRUE(NUWRegion.intersectWith(NSWRegion).contains(NoWrapRegion)); in TEST()