Lines Matching refs:Quo
2638 APInt Quo = APIntOps::RoundingUDiv(A, B, APInt::Rounding::UP); in TEST() local
2639 auto Prod = Quo.zext(16) * B.zext(16); in TEST()
2642 EXPECT_TRUE(((Quo - 1).zext(16) * B.zext(16)).ult(Ai)); in TEST()
2646 APInt Quo = A.udiv(B); in TEST() local
2647 EXPECT_EQ(Quo, APIntOps::RoundingUDiv(A, B, APInt::Rounding::TOWARD_ZERO)); in TEST()
2648 EXPECT_EQ(Quo, APIntOps::RoundingUDiv(A, B, APInt::Rounding::DOWN)); in TEST()
2672 APInt Quo = APIntOps::RoundingSDiv(A, B, APInt::Rounding::UP); in TEST() local
2674 EXPECT_EQ(QuoTowardZero, Quo); in TEST()
2677 EXPECT_EQ(QuoTowardZero, Quo); in TEST()
2679 EXPECT_EQ(QuoTowardZero + 1, Quo); in TEST()
2683 APInt Quo = APIntOps::RoundingSDiv(A, B, APInt::Rounding::DOWN); in TEST() local
2685 EXPECT_EQ(QuoTowardZero, Quo); in TEST()
2688 EXPECT_EQ(QuoTowardZero - 1, Quo); in TEST()
2690 EXPECT_EQ(QuoTowardZero, Quo); in TEST()