reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/APIntTest.cpp
 2529         APInt Quo = APIntOps::RoundingUDiv(A, B, APInt::Rounding::UP);
 2530         auto Prod = Quo.zext(16) * B.zext(16);
 2533           EXPECT_TRUE(((Quo - 1).zext(16) * B.zext(16)).ult(Ai));
 2537         APInt Quo = A.udiv(B);
 2538         EXPECT_EQ(Quo, APIntOps::RoundingUDiv(A, B, APInt::Rounding::TOWARD_ZERO));
 2539         EXPECT_EQ(Quo, APIntOps::RoundingUDiv(A, B, APInt::Rounding::DOWN));