Lines Matching refs:UMax
402 TEST_F(ConstantRangeTest, UMax) {
403 EXPECT_EQ(Full.umax(Full), Full);
404 EXPECT_EQ(Full.umax(Empty), Empty);
405 EXPECT_EQ(Full.umax(Some), ConstantRange(APInt(16, 0xa), APInt(16, 0)));
406 EXPECT_EQ(Full.umax(Wrap), Full);
407 EXPECT_EQ(Full.umax(Some), ConstantRange(APInt(16, 0xa), APInt(16, 0)));
408 EXPECT_EQ(Empty.umax(Empty), Empty);
409 EXPECT_EQ(Empty.umax(Some), Empty);
410 EXPECT_EQ(Empty.umax(Wrap), Empty);
411 EXPECT_EQ(Empty.umax(One), Empty);
412 EXPECT_EQ(Some.umax(Some), Some);
413 EXPECT_EQ(Some.umax(Wrap), ConstantRange(APInt(16, 0xa), APInt(16, 0)));
414 EXPECT_EQ(Some.umax(One), Some);
416 umax(Wrap), Full);
417 EXPECT_EQ(Wrap.umax(One), ConstantRange(APInt(16, 0xa), APInt(16, 0)));
418 EXPECT_EQ(One.umax(One), One);