Lines Matching full:empty

22   static ConstantRange Empty;  member in __anon10950d6f0111::ConstantRangeTest
29 ConstantRange ConstantRangeTest::Empty(16, false); member in __anon10950d6f0111::ConstantRangeTest
45 EXPECT_FALSE(Empty.isFullSet()); in TEST_F()
46 EXPECT_TRUE(Empty.isEmptySet()); in TEST_F()
47 EXPECT_TRUE(Empty.inverse().isFullSet()); in TEST_F()
48 EXPECT_FALSE(Empty.isWrappedSet()); in TEST_F()
49 EXPECT_FALSE(Empty.contains(APInt(16, 0x0))); in TEST_F()
50 EXPECT_FALSE(Empty.contains(APInt(16, 0x9))); in TEST_F()
51 EXPECT_FALSE(Empty.contains(APInt(16, 0xa))); in TEST_F()
52 EXPECT_FALSE(Empty.contains(APInt(16, 0xaa9))); in TEST_F()
53 EXPECT_FALSE(Empty.contains(APInt(16, 0xaaa))); in TEST_F()
86 EXPECT_EQ(Empty, Empty); in TEST_F()
90 EXPECT_NE(Full, Empty); in TEST_F()
94 EXPECT_NE(Empty, One); in TEST_F()
95 EXPECT_NE(Empty, Some); in TEST_F()
96 EXPECT_NE(Empty, Wrap); in TEST_F()
104 EXPECT_EQ(Empty.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
110 EXPECT_FALSE(Empty.isSingleElement()); in TEST_F()
118 EXPECT_EQ(Empty.getSetSize(), APInt(17, 0)); in TEST_F()
156 EXPECT_FALSE(Empty.isSignWrappedSet()); in TEST_F()
172 ConstantRange TEmpty = Empty.truncate(10); in TEST_F()
185 ConstantRange ZEmpty = Empty.zeroExtend(20); in TEST_F()
204 ConstantRange SEmpty = Empty.signExtend(20); in TEST_F()
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()
236 EXPECT_EQ(Some.intersectWith(Wrap), Empty); in TEST_F()
237 EXPECT_EQ(One.intersectWith(Wrap), Empty); in TEST_F()
287 EXPECT_EQ(Empty.unionWith(Empty), Empty); in TEST_F()
304 EXPECT_EQ(Full.difference(Empty), Full); in TEST_F()
305 EXPECT_EQ(Full.difference(Full), Empty); in TEST_F()
306 EXPECT_EQ(Empty.difference(Empty), Empty); in TEST_F()
307 EXPECT_EQ(Empty.difference(Full), Empty); in TEST_F()
322 EXPECT_EQ(Empty.subtract(APInt(16, 4)), Empty); in TEST_F()
334 EXPECT_EQ(Full.add(Empty), Empty); in TEST_F()
338 EXPECT_EQ(Empty.add(Empty), Empty); in TEST_F()
339 EXPECT_EQ(Empty.add(One), Empty); in TEST_F()
340 EXPECT_EQ(Empty.add(Some), Empty); in TEST_F()
341 EXPECT_EQ(Empty.add(Wrap), Empty); in TEST_F()
342 EXPECT_EQ(Empty.add(APInt(16, 4)), Empty); in TEST_F()
354 EXPECT_EQ(Full.sub(Empty), Empty); in TEST_F()
358 EXPECT_EQ(Empty.sub(Empty), Empty); in TEST_F()
359 EXPECT_EQ(Empty.sub(One), Empty); in TEST_F()
360 EXPECT_EQ(Empty.sub(Some), Empty); in TEST_F()
361 EXPECT_EQ(Empty.sub(Wrap), Empty); in TEST_F()
362 EXPECT_EQ(Empty.sub(APInt(16, 4)), Empty); in TEST_F()
375 EXPECT_EQ(Full.multiply(Empty), Empty); in TEST_F()
379 EXPECT_EQ(Empty.multiply(Empty), Empty); in TEST_F()
380 EXPECT_EQ(Empty.multiply(One), Empty); in TEST_F()
381 EXPECT_EQ(Empty.multiply(Some), Empty); in TEST_F()
382 EXPECT_EQ(Empty.multiply(Wrap), Empty); in TEST_F()
415 EXPECT_EQ(Full.umax(Empty), Empty); in TEST_F()
419 EXPECT_EQ(Empty.umax(Empty), Empty); in TEST_F()
420 EXPECT_EQ(Empty.umax(Some), Empty); in TEST_F()
421 EXPECT_EQ(Empty.umax(Wrap), Empty); in TEST_F()
422 EXPECT_EQ(Empty.umax(One), Empty); in TEST_F()
434 EXPECT_EQ(Full.smax(Empty), Empty); in TEST_F()
440 EXPECT_EQ(Empty.smax(Empty), Empty); in TEST_F()
441 EXPECT_EQ(Empty.smax(Some), Empty); in TEST_F()
442 EXPECT_EQ(Empty.smax(Wrap), Empty); in TEST_F()
443 EXPECT_EQ(Empty.smax(One), Empty); in TEST_F()
455 EXPECT_EQ(Full.udiv(Empty), Empty); in TEST_F()
461 EXPECT_EQ(Empty.udiv(Empty), Empty); in TEST_F()
462 EXPECT_EQ(Empty.udiv(One), Empty); in TEST_F()
463 EXPECT_EQ(Empty.udiv(Some), Empty); in TEST_F()
464 EXPECT_EQ(Empty.udiv(Wrap), Empty); in TEST_F()
475 EXPECT_EQ(Full.shl(Empty), Empty); in TEST_F()
479 EXPECT_EQ(Empty.shl(Empty), Empty); in TEST_F()
480 EXPECT_EQ(Empty.shl(One), Empty); in TEST_F()
481 EXPECT_EQ(Empty.shl(Some), Empty); in TEST_F()
482 EXPECT_EQ(Empty.shl(Wrap), Empty); in TEST_F()
494 EXPECT_EQ(Full.lshr(Empty), Empty); in TEST_F()
500 EXPECT_EQ(Empty.lshr(Empty), Empty); in TEST_F()
501 EXPECT_EQ(Empty.lshr(One), Empty); in TEST_F()
502 EXPECT_EQ(Empty.lshr(Some), Empty); in TEST_F()
503 EXPECT_EQ(Empty.lshr(Wrap), Empty); in TEST_F()