/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 108 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 109 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST() 138 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 139 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 1668 APInt *Quotient, APInt *Remainder) in divide() argument 1690 if ((Remainder?4:3)*n+2*m+1 <= 128) { in divide() 1694 if (Remainder) in divide() 1700 if (Remainder) in divide() 1723 if (Remainder) in divide() 1803 if (Remainder) { in divide() 1805 if (Remainder->BitWidth != RHS.BitWidth) { in divide() 1806 if (Remainder->isSingleWord()) in divide() 1807 Remainder->VAL = 0; in divide() 1809 delete [] Remainder->pVal; in divide() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | Mips16InstrInfo.cpp | 184 int64_t Remainder = FrameSize - Base; in makeFrame() local 186 if (isInt<16>(-Remainder)) in makeFrame() 187 BuildAddiuSpImm(MBB, I, -Remainder); in makeFrame() 189 adjustStackPtrBig(SP, -Remainder, MBB, I, Mips::V0, Mips::V1); in makeFrame() 226 int64_t Remainder = FrameSize - Base; in restoreFrame() local 227 if (isInt<16>(Remainder)) in restoreFrame() 228 BuildAddiuSpImm(MBB, I, Remainder); in restoreFrame() 230 adjustStackPtrBig(SP, Remainder, MBB, I, Mips::A0, Mips::A1); in restoreFrame()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | AMDGPUISelLowering.cpp | 230 SDValue Remainder = DAG.getNode(ISD::SUB, DL, VT, Num, Num_S_Remainder); in LowerUDIVREM() local 233 SDValue Remainder_GE_Den = DAG.getSelectCC(DL, Remainder, Den, in LowerUDIVREM() 238 SDValue Remainder_GE_Zero = DAG.getSelectCC(DL, Remainder, in LowerUDIVREM() 268 SDValue Remainder_S_Den = DAG.getNode(ISD::SUB, DL, VT, Remainder, Den); in LowerUDIVREM() 271 SDValue Remainder_A_Den = DAG.getNode(ISD::ADD, DL, VT, Remainder, Den); in LowerUDIVREM() 275 Remainder, Remainder_S_Den, ISD::SETEQ); in LowerUDIVREM()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUISelLowering.cpp | 230 SDValue Remainder = DAG.getNode(ISD::SUB, DL, VT, Num, Num_S_Remainder); in LowerUDIVREM() local 233 SDValue Remainder_GE_Den = DAG.getSelectCC(DL, Remainder, Den, in LowerUDIVREM() 238 SDValue Remainder_GE_Zero = DAG.getSelectCC(DL, Remainder, in LowerUDIVREM() 268 SDValue Remainder_S_Den = DAG.getNode(ISD::SUB, DL, VT, Remainder, Den); in LowerUDIVREM() 271 SDValue Remainder_A_Den = DAG.getNode(ISD::ADD, DL, VT, Remainder, Den); in LowerUDIVREM() 275 Remainder, Remainder_S_Den, ISD::SETEQ); in LowerUDIVREM()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 190 unsigned Remainder = 0; in PPCMaterialize64BitInt() local 202 Remainder = Imm; in PPCMaterialize64BitInt() 225 if ((Hi = (Remainder >> 16) & 0xFFFF)) { in PPCMaterialize64BitInt() 232 if ((Lo = Remainder & 0xFFFF)) { in PPCMaterialize64BitInt()
|
D | PPCISelDAGToDAG.cpp | 890 unsigned Remainder = 0; in Select() local 905 Remainder = Imm; in Select() 946 if ((Hi = (Remainder >> 16) & 0xFFFF)) { in Select() 950 if ((Lo = Remainder & 0xFFFF)) { in Select()
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 76 Value *Remainder = Builder.CreateSub(Dividend, Product); in generatedUnsignedRemainderCode() local 81 return Remainder; in generatedUnsignedRemainderCode() 343 Value *Remainder = generateSignedRemainderCode(Rem->getOperand(0), in expandRemainder() local 346 Rem->replaceAllUsesWith(Remainder); in expandRemainder() 358 Value *Remainder = generatedUnsignedRemainderCode(Rem->getOperand(0), in expandRemainder() local 362 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
|
D | BypassSlowDivision.cpp | 39 PHINode *Remainder; member 42 : Quotient(InQuotient), Remainder(InRemainder) {} in DivPhiNodes() 209 J->replaceAllUsesWith(Value.Remainder); in reuseOrInsertFastDiv()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelLowering.cpp | 389 SDValue Remainder = DAG.getNode(ISD::SUB, DL, VT, Num, Num_S_Remainder); in LowerUDIVREM() local 392 SDValue Remainder_GE_Den = DAG.getSelectCC(DL, Remainder, Den, in LowerUDIVREM() 397 SDValue Remainder_GE_Zero = DAG.getSelectCC(DL, Remainder, in LowerUDIVREM() 427 SDValue Remainder_S_Den = DAG.getNode(ISD::SUB, DL, VT, Remainder, Den); in LowerUDIVREM() 430 SDValue Remainder_A_Den = DAG.getNode(ISD::ADD, DL, VT, Remainder, Den); in LowerUDIVREM() 434 Remainder, Remainder_S_Den, ISD::SETEQ); in LowerUDIVREM()
|
/external/llvm/test/CodeGen/R600/ |
D | sdiv.ll | 8 ; selectcc Remainder -1, 0, -1, SETGT
|
/external/dropbear/libtommath/ |
D | tommath.out | 68 \BOOKMARK [2][-]{subsection.4.5.3}{Remainder of Division by Power of Two}{section.4.5} 115 \BOOKMARK [1][-]{section.8.1}{Integer Division with Remainder}{chapter.8} 118 \BOOKMARK [2][-]{subsection.8.1.3}{Radix- Division with Remainder}{section.8.1}
|
D | bn.tex | 1137 \section{Integer Division and Remainder}
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 212 const SCEV *&Remainder, in FactorOutConstant() argument 243 Remainder = in FactorOutConstant() 244 SE.getAddExpr(Remainder, in FactorOutConstant() 274 const SCEV *Remainder = SE.getConstant(SOp->getType(), 0); in FactorOutConstant() local 275 if (FactorOutConstant(SOp, Remainder, Factor, SE, TD) && in FactorOutConstant() 276 Remainder->isZero()) { in FactorOutConstant() 295 if (!FactorOutConstant(Start, Remainder, Factor, SE, TD)) in FactorOutConstant() 424 const SCEV *Remainder = SE.getConstant(Ty, 0); in expandAddToGEP() local 425 if (FactorOutConstant(Op, Remainder, ElSize, SE, SE.TD)) { in expandAddToGEP() 428 if (!Remainder->isZero()) in expandAddToGEP() [all …]
|
D | DependenceAnalysis.cpp | 1047 APInt Remainder = ConstDelta; in strongSIVtest() local 1048 APInt::sdivrem(ConstDelta, ConstCoeff, Distance, Remainder); in strongSIVtest() 1050 DEBUG(dbgs() << "\t Remainder = " << Remainder << "\n"); in strongSIVtest() 1052 if (Remainder != 0) { in strongSIVtest() 1241 APInt Remainder = APDelta; in weakCrossingSIVtest() local 1242 APInt::sdivrem(APDelta, APCoeff, Distance, Remainder); in weakCrossingSIVtest() 1243 DEBUG(dbgs() << "\t Remainder = " << Remainder << "\n"); in weakCrossingSIVtest() 1244 if (Remainder != 0) { in weakCrossingSIVtest() 1254 Remainder = Distance.srem(Two); in weakCrossingSIVtest() 1255 DEBUG(dbgs() << "\t Remainder = " << Remainder << "\n"); in weakCrossingSIVtest() [all …]
|
/external/chromium_org/crypto/ |
D | openpgp_symmetric_encryption.cc | 62 base::StringPiece Remainder() { in Remainder() function in crypto::__anon81abcd580111::Reader 252 *out_contents = reader->Remainder(); in ParsePacket() 439 base::StringPiece encrypted_key = reader->Remainder(); in ParseSymmetricKeyEncrypted() 605 *out_data = reader->Remainder(); in ParseLiteralData()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 3132 const SCEV *Remainder = CollectSubexprs(*I, C, Ops, L, SE, Depth+1); in CollectSubexprs() local 3133 if (Remainder) in CollectSubexprs() 3134 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs() 3142 const SCEV *Remainder = CollectSubexprs(AR->getStart(), in CollectSubexprs() local 3146 if (Remainder && (AR->getLoop() == L || !isa<SCEVAddRecExpr>(Remainder))) { in CollectSubexprs() 3147 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs() 3148 Remainder = 0; in CollectSubexprs() 3150 if (Remainder != AR->getStart()) { in CollectSubexprs() 3151 if (!Remainder) in CollectSubexprs() 3152 Remainder = SE.getConstant(AR->getType(), 0); in CollectSubexprs() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | BitVector.h | 146 if (unsigned Remainder = Size % BITWORD_SIZE) in all() local 147 return Bits[Size / BITWORD_SIZE] == (1UL << Remainder) - 1; in all()
|
D | APInt.h | 181 unsigned rhsWords, APInt *Quotient, APInt *Remainder); 924 APInt &Remainder); 927 APInt &Remainder);
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 883 APInt Quotient(Scale), Remainder(Scale); // Init ensures right bitwidth. in Descale() local 884 APInt::sdivrem(CI->getValue(), Scale, Quotient, Remainder); in Descale() 885 if (!Remainder.isMinValue()) in Descale()
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | DecimalTest.cpp | 913 TEST_F(DecimalTest, Remainder) in TEST_F() argument
|