Searched refs:Quotient (Results 1 - 13 of 13) sorted by relevance

/freebsd-11.0-release/sys/contrib/dev/acpica/components/utilities/
H A Dutmath.c103 UINT64_OVERLAY Quotient; local
125 Quotient.Part.Hi, Remainder32);
128 Quotient.Part.Lo, Remainder32);
134 *OutQuotient = Quotient.Full;
169 UINT64_OVERLAY Quotient; local
204 Quotient.Part.Hi, Partial1);
207 Quotient.Part.Lo, Remainder.Part.Lo);
216 Quotient.Part.Hi = 0;
235 NormalizedDivisor.Part.Lo, Quotient.Part.Lo, Partial1);
241 Partial1 = Quotient
[all...]
H A Dutnonansi.c283 UINT64 Quotient; local
426 (Dividend - (UINT64) ThisDigit), Base, &Quotient, NULL);
428 if (ReturnValue > Quotient)
/freebsd-11.0-release/sys/contrib/dev/acpica/components/hardware/
H A Dhwtimer.c171 UINT64 Quotient; local
225 ACPI_PM_TIMER_FREQUENCY, &Quotient, NULL);
227 *TimeElapsed = (UINT32) Quotient;
/freebsd-11.0-release/contrib/llvm/lib/Support/
H A DScaledNumber.cpp69 uint64_t Quotient = Dividend64 / Divisor; local
72 // If Quotient needs to be shifted, leave the rounding to getAdjusted().
73 if (Quotient > UINT32_MAX)
74 return getAdjusted<uint32_t>(Quotient, Shift);
77 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor));
103 uint64_t Quotient = Dividend / Divisor; local
107 while (!(Quotient >> 63) && Dividend) {
113 // Get the next bit of Quotient.
114 Quotient <<= 1;
116 Quotient |
[all...]
H A DAPInt.cpp1663 APInt *Quotient, APInt *Remainder)
1767 if (Quotient) {
1768 // Set up the Quotient value's memory.
1769 if (Quotient->BitWidth != LHS.BitWidth) {
1770 if (Quotient->isSingleWord())
1771 Quotient->VAL = 0;
1773 delete [] Quotient->pVal;
1774 Quotient->BitWidth = LHS.BitWidth;
1775 if (!Quotient->isSingleWord())
1776 Quotient
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp39 PHINode *Quotient; member in struct:__anon3271::DivPhiNodes
43 : Quotient(InQuotient), Remainder(InRemainder) {}
194 I->replaceAllUsesWith(Value.Quotient);
H A DIntegerDivision.cpp82 // Remainder = Dividend - Quotient*Divisor
89 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor); local
90 Value *Product = Builder.CreateMul(Divisor, Quotient);
93 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient))
447 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), local
449 Div->replaceAllUsesWith(Quotient);
464 Value *Quotient = generateUnsignedDivisionCode(Div->getOperand(0), local
467 Div->replaceAllUsesWith(Quotient);
/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp91 /// \brief True if C2 is a multiple of C1. Quotient contains C2/C1.
92 static bool IsMultiple(const APInt &C1, const APInt &C2, APInt &Quotient, argument
107 APInt::sdivrem(C1, C2, Quotient, Remainder);
109 APInt::udivrem(C1, C2, Quotient, Remainder);
821 APInt Quotient(C1->getBitWidth(), /*Val=*/0ULL, IsSigned);
824 if (IsMultiple(*C2, *C1, Quotient, IsSigned)) {
826 I.getOpcode(), X, ConstantInt::get(X->getType(), Quotient));
832 if (IsMultiple(*C1, *C2, Quotient, IsSigned)) {
834 Instruction::Mul, X, ConstantInt::get(X->getType(), Quotient));
847 APInt Quotient(C
[all...]
H A DInstructionCombining.cpp1054 APInt Quotient(Scale), Remainder(Scale); // Init ensures right bitwidth.
1055 APInt::sdivrem(CI->getValue(), Scale, Quotient, Remainder);
1060 Op = ConstantInt::get(CI->getType(), Quotient);
/freebsd-11.0-release/contrib/llvm/include/llvm/ADT/
H A DAPInt.h181 unsigned rhsWords, APInt *Quotient, APInt *Remainder);
942 static void udivrem(const APInt &LHS, const APInt &RHS, APInt &Quotient,
945 static void sdivrem(const APInt &LHS, const APInt &RHS, APInt &Quotient,
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp695 // Computes the Quotient and Remainder of the division of Numerator by
698 const SCEV *Denominator, const SCEV **Quotient,
707 *Quotient = D.One;
713 *Quotient = D.Zero;
720 *Quotient = Numerator;
728 *Quotient = Numerator;
730 divide(SE, *Quotient, Op, &Q, &R);
731 *Quotient = Q;
736 *Quotient = D.Zero;
746 *Quotient
697 divide(ScalarEvolution &SE, const SCEV *Numerator, const SCEV *Denominator, const SCEV **Quotient, const SCEV **Remainder) argument
916 const SCEV *Denominator, *Quotient, *Remainder, *Zero, *One; member in struct:__anon2412::SCEVDivision
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp940 // which is s0.f = Quotient, s1.f = Denominator, s2.f = Numerator. The
1792 // Quotient = mulhu(Tmp0, Num)
1793 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num); local
1795 // Num_S_Remainder = Quotient * Den
1796 SDValue Num_S_Remainder = DAG.getNode(ISD::MUL, DL, VT, Quotient, Den);
1818 // Quotient_A_One = Quotient + 1
1819 SDValue Quotient_A_One = DAG.getNode(ISD::ADD, DL, VT, Quotient,
1822 // Quotient_S_One = Quotient - 1
1823 SDValue Quotient_S_One = DAG.getNode(ISD::SUB, DL, VT, Quotient,
1826 // Div = (Tmp1 == 0 ? Quotient
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp3590 if (const SCEV *Quotient = getExactSDiv(AR, FactorS, SE, true)) {
3593 F.ScaledReg = Quotient;

Completed in 135 milliseconds