Lines Matching refs:Empty
21 static ConstantRange Empty; member in __anon10950d6f0111::ConstantRangeTest
28 ConstantRange ConstantRangeTest::Empty(16, false); member in __anon10950d6f0111::ConstantRangeTest
44 EXPECT_FALSE(Empty.isFullSet()); in TEST_F()
45 EXPECT_TRUE(Empty.isEmptySet()); in TEST_F()
46 EXPECT_TRUE(Empty.inverse().isFullSet()); in TEST_F()
47 EXPECT_FALSE(Empty.isWrappedSet()); in TEST_F()
48 EXPECT_FALSE(Empty.contains(APInt(16, 0x0))); in TEST_F()
49 EXPECT_FALSE(Empty.contains(APInt(16, 0x9))); in TEST_F()
50 EXPECT_FALSE(Empty.contains(APInt(16, 0xa))); in TEST_F()
51 EXPECT_FALSE(Empty.contains(APInt(16, 0xaa9))); in TEST_F()
52 EXPECT_FALSE(Empty.contains(APInt(16, 0xaaa))); in TEST_F()
85 EXPECT_EQ(Empty, Empty); in TEST_F()
89 EXPECT_NE(Full, Empty); in TEST_F()
93 EXPECT_NE(Empty, One); in TEST_F()
94 EXPECT_NE(Empty, Some); in TEST_F()
95 EXPECT_NE(Empty, Wrap); in TEST_F()
103 EXPECT_EQ(Empty.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
109 EXPECT_FALSE(Empty.isSingleElement()); in TEST_F()
117 EXPECT_EQ(Empty.getSetSize(), APInt(17, 0)); in TEST_F()
155 EXPECT_FALSE(Empty.isSignWrappedSet()); in TEST_F()
171 ConstantRange TEmpty = Empty.truncate(10); in TEST_F()
184 ConstantRange ZEmpty = Empty.zeroExtend(20); in TEST_F()
203 ConstantRange SEmpty = Empty.signExtend(20); in TEST_F()
225 EXPECT_EQ(Empty.intersectWith(Full), Empty); in TEST_F()
226 EXPECT_EQ(Empty.intersectWith(Empty), Empty); in TEST_F()
227 EXPECT_EQ(Empty.intersectWith(One), Empty); in TEST_F()
228 EXPECT_EQ(Empty.intersectWith(Some), Empty); in TEST_F()
229 EXPECT_EQ(Empty.intersectWith(Wrap), Empty); in TEST_F()
235 EXPECT_EQ(Some.intersectWith(Wrap), Empty); in TEST_F()
236 EXPECT_EQ(One.intersectWith(Wrap), Empty); in TEST_F()
286 EXPECT_EQ(Empty.unionWith(Empty), Empty); in TEST_F()
303 EXPECT_EQ(Full.difference(Empty), Full); in TEST_F()
304 EXPECT_EQ(Full.difference(Full), Empty); in TEST_F()
305 EXPECT_EQ(Empty.difference(Empty), Empty); in TEST_F()
306 EXPECT_EQ(Empty.difference(Full), Empty); in TEST_F()
321 EXPECT_EQ(Empty.subtract(APInt(16, 4)), Empty); in TEST_F()
333 EXPECT_EQ(Full.add(Empty), Empty); in TEST_F()
337 EXPECT_EQ(Empty.add(Empty), Empty); in TEST_F()
338 EXPECT_EQ(Empty.add(One), Empty); in TEST_F()
339 EXPECT_EQ(Empty.add(Some), Empty); in TEST_F()
340 EXPECT_EQ(Empty.add(Wrap), Empty); in TEST_F()
341 EXPECT_EQ(Empty.add(APInt(16, 4)), Empty); in TEST_F()
353 EXPECT_EQ(Full.sub(Empty), Empty); in TEST_F()
357 EXPECT_EQ(Empty.sub(Empty), Empty); in TEST_F()
358 EXPECT_EQ(Empty.sub(One), Empty); in TEST_F()
359 EXPECT_EQ(Empty.sub(Some), Empty); in TEST_F()
360 EXPECT_EQ(Empty.sub(Wrap), Empty); in TEST_F()
361 EXPECT_EQ(Empty.sub(APInt(16, 4)), Empty); in TEST_F()
374 EXPECT_EQ(Full.multiply(Empty), Empty); in TEST_F()
378 EXPECT_EQ(Empty.multiply(Empty), Empty); in TEST_F()
379 EXPECT_EQ(Empty.multiply(One), Empty); in TEST_F()
380 EXPECT_EQ(Empty.multiply(Some), Empty); in TEST_F()
381 EXPECT_EQ(Empty.multiply(Wrap), Empty); in TEST_F()
414 EXPECT_EQ(Full.umax(Empty), Empty); in TEST_F()
418 EXPECT_EQ(Empty.umax(Empty), Empty); in TEST_F()
419 EXPECT_EQ(Empty.umax(Some), Empty); in TEST_F()
420 EXPECT_EQ(Empty.umax(Wrap), Empty); in TEST_F()
421 EXPECT_EQ(Empty.umax(One), Empty); in TEST_F()
433 EXPECT_EQ(Full.smax(Empty), Empty); in TEST_F()
439 EXPECT_EQ(Empty.smax(Empty), Empty); in TEST_F()
440 EXPECT_EQ(Empty.smax(Some), Empty); in TEST_F()
441 EXPECT_EQ(Empty.smax(Wrap), Empty); in TEST_F()
442 EXPECT_EQ(Empty.smax(One), Empty); in TEST_F()
454 EXPECT_EQ(Full.udiv(Empty), Empty); in TEST_F()
460 EXPECT_EQ(Empty.udiv(Empty), Empty); in TEST_F()
461 EXPECT_EQ(Empty.udiv(One), Empty); in TEST_F()
462 EXPECT_EQ(Empty.udiv(Some), Empty); in TEST_F()
463 EXPECT_EQ(Empty.udiv(Wrap), Empty); in TEST_F()
474 EXPECT_EQ(Full.shl(Empty), Empty); in TEST_F()
478 EXPECT_EQ(Empty.shl(Empty), Empty); in TEST_F()
479 EXPECT_EQ(Empty.shl(One), Empty); in TEST_F()
480 EXPECT_EQ(Empty.shl(Some), Empty); in TEST_F()
481 EXPECT_EQ(Empty.shl(Wrap), Empty); in TEST_F()
493 EXPECT_EQ(Full.lshr(Empty), Empty); in TEST_F()
499 EXPECT_EQ(Empty.lshr(Empty), Empty); in TEST_F()
500 EXPECT_EQ(Empty.lshr(One), Empty); in TEST_F()
501 EXPECT_EQ(Empty.lshr(Some), Empty); in TEST_F()
502 EXPECT_EQ(Empty.lshr(Wrap), Empty); in TEST_F()