/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_tests.txt | 6047 # Remainder = A - B * Quotient. 6050 Remainder = 0 6055 Remainder = 1 6060 Remainder = -2 6065 Remainder = -3 6070 Remainder = 4 6075 Remainder = 5 6080 Remainder = -6 6085 Remainder = -7 6090 Remainder = 8 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 110 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST() 139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 140 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST() 230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 231 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST() 260 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 261 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST()
|
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 110 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST() 139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 140 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST() 230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 231 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST() 260 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 261 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 49 Value *Remainder; member 52 : Quotient(InQuotient), Remainder(InRemainder) {} in QuotRemPair() 61 Value *Remainder = nullptr; member 173 return isDivisionOp() ? Value.Quotient : Value.Remainder; in getReplacement() 274 DivRemPair.Remainder = Builder.CreateSRem(Dividend, Divisor); in createSlowBB() 277 DivRemPair.Remainder = Builder.CreateURem(Dividend, Divisor); in createSlowBB() 304 DivRemPair.Remainder = in createFastBB() 320 RemPhi->addIncoming(LHS.Remainder, LHS.BB); in createDivRemPhiNodes() 321 RemPhi->addIncoming(RHS.Remainder, RHS.BB); in createDivRemPhiNodes() 419 Long.Remainder = Dividend; in insertFastDivAndRem() [all …]
|
D | IntegerDivision.cpp | 91 Value *Remainder = Builder.CreateSub(Dividend, Product); in generatedUnsignedRemainderCode() local 96 return Remainder; in generatedUnsignedRemainderCode() 390 Value *Remainder = generateSignedRemainderCode(Rem->getOperand(0), in expandRemainder() local 395 Rem->replaceAllUsesWith(Remainder); in expandRemainder() 409 Value *Remainder = generatedUnsignedRemainderCode(Rem->getOperand(0), in expandRemainder() local 413 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/ |
D | Hash.cpp | 31 const uint8_t *Remainder = reinterpret_cast<const uint8_t *>(Longs.end()); in hashStringV1() local 37 uint16_t Value = *reinterpret_cast<const ulittle16_t *>(Remainder); in hashStringV1() 39 Remainder += 2; in hashStringV1() 45 Result ^= *(Remainder++); in hashStringV1()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | Hash.cpp | 30 const uint8_t *Remainder = reinterpret_cast<const uint8_t *>(Longs.end()); in hashStringV1() local 36 uint16_t Value = *reinterpret_cast<const ulittle16_t *>(Remainder); in hashStringV1() 38 Remainder += 2; in hashStringV1() 44 Result ^= *(Remainder++); in hashStringV1()
|
/external/grpc-grpc/src/csharp/Grpc.Examples/ |
D | Math.cs | 257 public long Remainder { property in Math.DivReply 278 if (Remainder != other.Remainder) return false; in Equals() 286 if (Remainder != 0L) hash ^= Remainder.GetHashCode(); in GetHashCode() 304 if (Remainder != 0L) { in WriteTo() 306 output.WriteInt64(Remainder); in WriteTo() 319 if (Remainder != 0L) { in CalculateSize() 320 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Remainder); in CalculateSize() 336 if (other.Remainder != 0L) { in MergeFrom() 337 Remainder = other.Remainder; in MergeFrom() 355 Remainder = input.ReadInt64(); in MergeFrom()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | APInt.cpp | 1408 unsigned rhsWords, WordType *Quotient, WordType *Remainder) { in divide() argument 1428 if ((Remainder?4:3)*n+2*m+1 <= 128) { in divide() 1432 if (Remainder) in divide() 1438 if (Remainder) in divide() 1461 if (Remainder) in divide() 1516 if (Remainder) { in divide() 1518 Remainder[i] = Make_64(R[i*2+1], R[i*2]); in divide() 1656 APInt Remainder(BitWidth, 0); in urem() local 1657 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, nullptr, Remainder.U.pVal); in urem() 1658 return Remainder; in urem() [all …]
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 1668 unsigned rhsWords, APInt *Quotient, APInt *Remainder) { in divide() argument 1689 if ((Remainder?4:3)*n+2*m+1 <= 128) { in divide() 1693 if (Remainder) in divide() 1699 if (Remainder) in divide() 1722 if (Remainder) in divide() 1804 if (Remainder) { in divide() 1806 if (Remainder->BitWidth != RHS.BitWidth) { in divide() 1807 if (Remainder->isSingleWord()) in divide() 1808 Remainder->VAL = 0; in divide() 1810 delete [] Remainder->pVal; in divide() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 1642 unsigned rhsWords, APInt *Quotient, APInt *Remainder) { in divide() argument 1663 if ((Remainder?4:3)*n+2*m+1 <= 128) { in divide() 1667 if (Remainder) in divide() 1673 if (Remainder) in divide() 1696 if (Remainder) in divide() 1778 if (Remainder) { in divide() 1780 if (Remainder->BitWidth != RHS.BitWidth) { in divide() 1781 if (Remainder->isSingleWord()) in divide() 1782 Remainder->VAL = 0; in divide() 1784 delete [] Remainder->pVal; in divide() [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | ListRecordBuilder.cpp | 38 uint32_t Remainder = in finishSubRecord() local 40 if (Remainder != 0) { in finishSubRecord() 41 for (int32_t PaddingBytesLeft = 4 - Remainder; PaddingBytesLeft > 0; in finishSubRecord()
|
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/ |
D | MathClientServerTests.cs | 66 Assert.AreEqual(1, response.Remainder); in Div1() 74 Assert.AreEqual(0, response.Remainder); in Div2() 89 Assert.AreEqual(1, response.Remainder); in DivAsync() 175 …ollectionAssert.AreEqual(new long[] { 1, 16, 1 }, result.Select((divReply) => divReply.Remainder)); in DivMany()
|
D | MathServiceImplTestabilityTest.cs | 44 Assert.AreEqual(0, response.Remainder); in ServerCallImplIsTestable()
|
/external/python/cpython3/Modules/_decimal/libmpdec/literature/ |
D | bignum.txt | 28 Extending the maximum transform length (Chinese Remainder Theorem): 33 recover the result using the Chinese Remainder Theorem. 43 result = crt3(c1, c2, c3) # Chinese Remainder Theorem 78 crt.c -> Chinese Remainder Theorem: use information from three
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | Mips16InstrInfo.cpp | 235 int64_t Remainder = FrameSize - Base; in makeFrame() local 237 if (isInt<16>(-Remainder)) in makeFrame() 238 BuildAddiuSpImm(MBB, I, -Remainder); in makeFrame() 240 adjustStackPtrBig(SP, -Remainder, MBB, I, Mips::V0, Mips::V1); in makeFrame() 259 int64_t Remainder = FrameSize - Base; in restoreFrame() local 263 if (isInt<16>(Remainder)) in restoreFrame() 264 BuildAddiuSpImm(MBB, I, Remainder); in restoreFrame() 266 adjustStackPtrBig(SP, Remainder, MBB, I, Mips::A0, Mips::A1); in restoreFrame()
|
/external/llvm/test/CodeGen/ARM/ |
D | div.ll | 46 ; EABI MODE = Remainder in R1, quotient in R0 61 ; EABI MODE = Remainder in R1, quotient in R0 76 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1 91 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1
|
/external/llvm/lib/Target/Mips/ |
D | Mips16InstrInfo.cpp | 214 int64_t Remainder = FrameSize - Base; in makeFrame() local 216 if (isInt<16>(-Remainder)) in makeFrame() 217 BuildAddiuSpImm(MBB, I, -Remainder); in makeFrame() 219 adjustStackPtrBig(SP, -Remainder, MBB, I, Mips::V0, Mips::V1); in makeFrame() 238 int64_t Remainder = FrameSize - Base; in restoreFrame() local 242 if (isInt<16>(Remainder)) in restoreFrame() 243 BuildAddiuSpImm(MBB, I, Remainder); in restoreFrame() 245 adjustStackPtrBig(SP, Remainder, MBB, I, Mips::A0, Mips::A1); in restoreFrame()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | APInt.cpp | 1767 APInt *Quotient, APInt *Remainder) in divide() argument 1789 if ((Remainder?4:3)*n+2*m+1 <= 128) { in divide() 1793 if (Remainder) in divide() 1799 if (Remainder) in divide() 1822 if (Remainder) in divide() 1902 if (Remainder) { in divide() 1904 if (Remainder->BitWidth != RHS.BitWidth) { in divide() 1905 if (Remainder->isSingleWord()) in divide() 1906 Remainder->VAL = 0; in divide() 1908 delete [] Remainder->pVal; in divide() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | div.ll | 54 ; EABI MODE = Remainder in R1, quotient in R0 70 ; EABI MODE = Remainder in R1, quotient in R0 85 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1 100 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1
|
D | thumb1-div.ll | 49 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1 61 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 175 APInt *Quotient, APInt *Remainder); 806 APInt &Quotient, APInt &Remainder); 809 APInt &Quotient, APInt &Remainder) { in sdivrem() argument 812 APInt::udivrem(-LHS, -RHS, Quotient, Remainder); in sdivrem() 814 APInt::udivrem(-LHS, RHS, Quotient, Remainder); in sdivrem() 816 Remainder = -Remainder; in sdivrem() 818 APInt::udivrem(LHS, -RHS, Quotient, Remainder); in sdivrem() 821 APInt::udivrem(LHS, RHS, Quotient, Remainder); in sdivrem()
|
/external/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 40 PHINode *Remainder; member 43 : Quotient(InQuotient), Remainder(InRemainder) {} in DivPhiNodes() 197 I->replaceAllUsesWith(Value.Remainder); in reuseOrInsertFastDiv()
|
D | IntegerDivision.cpp | 91 Value *Remainder = Builder.CreateSub(Dividend, Product); in generatedUnsignedRemainderCode() local 96 return Remainder; in generatedUnsignedRemainderCode() 390 Value *Remainder = generateSignedRemainderCode(Rem->getOperand(0), in expandRemainder() local 395 Rem->replaceAllUsesWith(Remainder); in expandRemainder() 409 Value *Remainder = generatedUnsignedRemainderCode(Rem->getOperand(0), in expandRemainder() local 413 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 186 const SCEV *&Remainder, in FactorOutConstant() argument 217 Remainder = in FactorOutConstant() 218 SE.getAddExpr(Remainder, in FactorOutConstant() 248 const SCEV *Remainder = SE.getConstant(SOp->getType(), 0); in FactorOutConstant() local 249 if (FactorOutConstant(SOp, Remainder, Factor, SE, TD) && in FactorOutConstant() 250 Remainder->isZero()) { in FactorOutConstant() 269 if (!FactorOutConstant(Start, Remainder, Factor, SE, TD)) in FactorOutConstant() 399 const SCEV *Remainder = SE.getConstant(Ty, 0); in expandAddToGEP() local 400 if (FactorOutConstant(Op, Remainder, ElSize, SE, SE.TD)) { in expandAddToGEP() 403 if (!Remainder->isZero()) in expandAddToGEP() [all …]
|