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

References

include/llvm/ADT/APInt.h
 2183 APInt RoundingUDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
 2186 APInt RoundingSDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
lib/IR/ConstantRange.cpp
  191                              APInt::Rounding::UP),
  193                              APInt::Rounding::DOWN) + 1);
  212     Lower = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::UP);
  213     Upper = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::DOWN);
  215     Lower = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::UP);
  216     Upper = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::DOWN);
lib/Support/APInt.cpp
 2793                                    APInt::Rounding RM) {
 2796   case APInt::Rounding::DOWN:
 2797   case APInt::Rounding::TOWARD_ZERO:
 2799   case APInt::Rounding::UP: {
 2811                                    APInt::Rounding RM) {
 2813   case APInt::Rounding::DOWN:
 2814   case APInt::Rounding::UP: {
 2824     if (RM == APInt::Rounding::DOWN) {
 2834   case APInt::Rounding::TOWARD_ZERO:
unittests/ADT/APIntTest.cpp
 2529         APInt Quo = APIntOps::RoundingUDiv(A, B, APInt::Rounding::UP);
 2562         APInt Quo = APIntOps::RoundingSDiv(A, B, APInt::Rounding::UP);
 2570         APInt Quo = APIntOps::RoundingSDiv(A, B, APInt::Rounding::DOWN);