Lines Matching defs:Quotient
654 /// True if C1 is a multiple of C2. Quotient contains C1/C2.
655 static bool isMultiple(const APInt &C1, const APInt &C2, APInt &Quotient,
669 APInt::sdivrem(C1, C2, Quotient, Remainder);
671 APInt::udivrem(C1, C2, Quotient, Remainder);
712 APInt Quotient(C1->getBitWidth(), /*val=*/0ULL, IsSigned);
715 if (isMultiple(*C2, *C1, Quotient, IsSigned)) {
717 ConstantInt::get(Ty, Quotient));
723 if (isMultiple(*C1, *C2, Quotient, IsSigned)) {
725 ConstantInt::get(Ty, Quotient));
736 APInt Quotient(C1->getBitWidth(), /*val=*/0ULL, IsSigned);
741 if (isMultiple(*C2, C1Shifted, Quotient, IsSigned)) {
743 ConstantInt::get(Ty, Quotient));
749 if (isMultiple(C1Shifted, *C2, Quotient, IsSigned)) {
751 ConstantInt::get(Ty, Quotient));