Home
last modified time | relevance | path

Searched refs:Quotient (Results 1 – 25 of 25) sorted by relevance

/third_party/openssl/test/recipes/10-test_bn_data/
Dbnmul.txt925 Quotient = 0
930 Quotient = 1
935 Quotient = -2
940 Quotient = -4
945 Quotient = 8
950 Quotient = 10
955 Quotient = -20
960 Quotient = -40
965 Quotient = 80
970 Quotient = 100
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DScaledNumber.cpp69 uint64_t Quotient = Dividend64 / Divisor; in divide32() local
73 if (Quotient > UINT32_MAX) in divide32()
74 return getAdjusted<uint32_t>(Quotient, Shift); in divide32()
77 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor)); in divide32()
103 uint64_t Quotient = Dividend / Divisor; in divide64() local
107 while (!(Quotient >> 63) && Dividend) { in divide64()
114 Quotient <<= 1; in divide64()
116 Quotient |= 1; in divide64()
121 return getRounded(Quotient, Shift, Dividend >= getHalf(Divisor)); in divide64()
DAPInt.cpp1479 unsigned rhsWords, WordType *Quotient, WordType *Remainder) { in divide() argument
1581 if (Quotient) { in divide()
1583 Quotient[i] = Make_64(Q[i*2+1], Q[i*2]); in divide()
1634 APInt Quotient(BitWidth, 0); // to hold result. in udiv() local
1635 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal, nullptr); in udiv()
1636 return Quotient; in udiv()
1667 APInt Quotient(BitWidth, 0); // to hold result. in udiv() local
1668 divide(U.pVal, lhsWords, &RHS, 1, Quotient.U.pVal, nullptr); in udiv()
1669 return Quotient; in udiv()
1787 APInt &Quotient, APInt &Remainder) { in udivrem() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp47 Value *Quotient; member
51 : Quotient(InQuotient), Remainder(InRemainder) {} in QuotRemPair()
59 Value *Quotient = nullptr; member
172 return isDivisionOp() ? Value.Quotient : Value.Remainder; in getReplacement()
272 DivRemPair.Quotient = Builder.CreateSDiv(Dividend, Divisor); in createSlowBB()
275 DivRemPair.Quotient = Builder.CreateUDiv(Dividend, Divisor); in createSlowBB()
301 DivRemPair.Quotient = in createFastBB()
316 QuoPhi->addIncoming(LHS.Quotient, LHS.BB); in createDivRemPhiNodes()
317 QuoPhi->addIncoming(RHS.Quotient, RHS.BB); in createDivRemPhiNodes()
417 Long.Quotient = ConstantInt::get(getSlowType(), 0); in insertFastDivAndRem()
[all …]
DIntegerDivision.cpp88 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor); in generatedUnsignedRemainderCode() local
89 Value *Product = Builder.CreateMul(Divisor, Quotient); in generatedUnsignedRemainderCode()
92 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient)) in generatedUnsignedRemainderCode()
448 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), in expandDivision() local
453 Div->replaceAllUsesWith(Quotient); in expandDivision()
468 Value *Quotient = generateUnsignedDivisionCode(Div->getOperand(0), in expandDivision() local
471 Div->replaceAllUsesWith(Quotient); in expandDivision()
/third_party/grpc/src/csharp/Grpc.Examples/
DMath.cs301 public long Quotient { property in Math.DivReply
332 if (Quotient != other.Quotient) return false; in Equals()
340 if (Quotient != 0L) hash ^= Quotient.GetHashCode(); in GetHashCode()
358 if (Quotient != 0L) { in WriteTo()
360 output.WriteInt64(Quotient); in WriteTo()
375 if (Quotient != 0L) { in IBufferMessage.InternalWriteTo()
377 output.WriteInt64(Quotient); in IBufferMessage.InternalWriteTo()
392 if (Quotient != 0L) { in CalculateSize()
393 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Quotient); in CalculateSize()
409 if (other.Quotient != 0L) { in MergeFrom()
[all …]
DMathServiceImpl.cs77 return new DivReply { Quotient = quotient, Remainder = remainder }; in DivInternal()
/third_party/grpc/src/csharp/Grpc.Examples.Tests/
DMathClientServerTests.cs65 Assert.AreEqual(3, response.Quotient); in Div1()
73 Assert.AreEqual(0, response.Quotient); in Div2()
88 Assert.AreEqual(3, response.Quotient); in DivAsync()
172 … CollectionAssert.AreEqual(new long[] { 3, 4, 3 }, result.Select((divReply) => divReply.Quotient)); in DivMany()
DMathServiceImplTestabilityTest.cs43 Assert.AreEqual(5, response.Quotient); in ServerCallImplIsTestable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1627 unsigned rhsWords, APInt *Quotient, APInt *Remainder) { in divide() argument
1730 if (Quotient) { in divide()
1732 if (Quotient->BitWidth != LHS.BitWidth) { in divide()
1733 if (Quotient->isSingleWord()) in divide()
1734 Quotient->VAL = 0; in divide()
1736 delete [] Quotient->pVal; in divide()
1737 Quotient->BitWidth = LHS.BitWidth; in divide()
1738 if (!Quotient->isSingleWord()) in divide()
1739 Quotient->pVal = getClearedMemory(Quotient->getNumWords()); in divide()
1741 Quotient->clearAllBits(); in divide()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp655 static bool isMultiple(const APInt &C1, const APInt &C2, APInt &Quotient, in isMultiple() argument
669 APInt::sdivrem(C1, C2, Quotient, Remainder); in isMultiple()
671 APInt::udivrem(C1, C2, Quotient, Remainder); in isMultiple()
712 APInt Quotient(C1->getBitWidth(), /*val=*/0ULL, IsSigned); in commonIDivTransforms() local
715 if (isMultiple(*C2, *C1, Quotient, IsSigned)) { in commonIDivTransforms()
717 ConstantInt::get(Ty, Quotient)); in commonIDivTransforms()
723 if (isMultiple(*C1, *C2, Quotient, IsSigned)) { in commonIDivTransforms()
725 ConstantInt::get(Ty, Quotient)); in commonIDivTransforms()
736 APInt Quotient(C1->getBitWidth(), /*val=*/0ULL, IsSigned); in commonIDivTransforms() local
741 if (isMultiple(*C2, C1Shifted, Quotient, IsSigned)) { in commonIDivTransforms()
[all …]
DInstructionCombining.cpp1245 APInt Quotient(Scale), Remainder(Scale); // Init ensures right bitwidth. in Descale() local
1246 APInt::sdivrem(CI->getValue(), Scale, Quotient, Remainder); in Descale()
1251 Op = ConstantInt::get(CI->getType(), Quotient); in Descale()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp828 Value *Quotient = getMulHu(Builder, Tmp0, Num); in expandDivRem32() local
831 Value *Num_S_Remainder = Builder.CreateMul(Quotient, Den); in expandDivRem32()
852 Value *Quotient_A_One = Builder.CreateAdd(Quotient, One); in expandDivRem32()
855 Value *Quotient_S_One = Builder.CreateSub(Quotient, One); in expandDivRem32()
858 Value *Div = Builder.CreateSelect(Tmp1_0_CC, Quotient, Quotient_A_One); in expandDivRem32()
DAMDGPUInstrInfo.td239 // Special case divide FMA with scale and flags (src0 = Quotient,
245 // Special case divide fixup and flags(src0 = Quotient, src1 =
DAMDGPUISelLowering.cpp1900 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num); in LowerUDIVREM() local
1903 SDValue Num_S_Remainder = DAG.getNode(ISD::MUL, DL, VT, Quotient, Den); in LowerUDIVREM()
1926 SDValue Quotient_A_One = DAG.getNode(ISD::ADD, DL, VT, Quotient, in LowerUDIVREM()
1930 SDValue Quotient_S_One = DAG.getNode(ISD::SUB, DL, VT, Quotient, in LowerUDIVREM()
1935 Quotient, Quotient_A_One, ISD::SETEQ); in LowerUDIVREM()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h192 const WordType *RHS, unsigned rhsWords, WordType *Quotient,
1103 static void udivrem(const APInt &LHS, const APInt &RHS, APInt &Quotient,
1105 static void udivrem(const APInt &LHS, uint64_t RHS, APInt &Quotient,
1108 static void sdivrem(const APInt &LHS, const APInt &RHS, APInt &Quotient,
1110 static void sdivrem(const APInt &LHS, int64_t RHS, APInt &Quotient,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h185 unsigned rhsWords, APInt *Quotient, APInt *Remainder);
923 static void udivrem(const APInt &LHS, const APInt &RHS, APInt &Quotient,
926 static void sdivrem(const APInt &LHS, const APInt &RHS, APInt &Quotient,
/third_party/boost/libs/math/doc/internals/
Dpolynomial.qbk181 [h5 Division, Quotient and Remainder]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp893 const SCEV *Denominator, const SCEV **Quotient, in divide()
902 *Quotient = D.One; in divide()
908 *Quotient = D.Zero; in divide()
915 *Quotient = Numerator; in divide()
923 *Quotient = Numerator; in divide()
925 divide(SE, *Quotient, Op, &Q, &R); in divide()
926 *Quotient = Q; in divide()
931 *Quotient = D.Zero; in divide()
941 *Quotient = D.Quotient; in divide()
973 Quotient = SE.getConstant(QuotientVal); in visitConstant()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp4001 if (const SCEV *Quotient = getExactSDiv(AR, FactorS, SE, true)) { in GenerateScales() local
4004 F.ScaledReg = Quotient; in GenerateScales()
/third_party/bounds_checking_function/src/
Doutput.inl310 *residue = (SecUnsignedInt32)(divisor - ((*quotient) * 10)); /* Quotient mul 10 */
/third_party/harfbuzz/perf/texts/
Den-words.txt8794 Quotient
/third_party/skia/third_party/externals/harfbuzz/perf/texts/
Den-words.txt8794 Quotient
/third_party/eudev/hwdb/
D20-usb-vendor-model.hwdb41835 ID_VENDOR_FROM_DATABASE=Power Quotient International Co., Ltd
58362 ID_VENDOR_FROM_DATABASE=Power Quotient International Co., Ltd
D20-OUI.hwdb74409 ID_OUI_FROM_DATABASE=Power Quotient International Co., Ltd.