Searched refs:Remainder (Results 1 - 20 of 20) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
H A DIntegerDivision.cpp109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); local
110 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); local
140 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); local
231 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
260 Instruction* Remainder local
[all...]
/external/openssl/crypto/rc4/asm/
H A Drc4-ia64.pl336 #define Remainder r22
580 sub Remainder = 0, OutPtr subroutine
587 and Remainder = 0x7, Remainder
589 cmp.eq pAligned, pUnaligned = Remainder, r0
595 (pUnaligned) add Remainder = -1, Remainder
596 (pAligned) sub Remainder = EndPtr, InPtr
603 mov.i ar.lc = Remainder
614 sub Remainder subroutine
708 sub Remainder = EndPtr, InPtr // Calculate subroutine
[all...]
/external/llvm/lib/Support/
H A DAPInt.cpp1669 APInt *Quotient, APInt *Remainder)
1691 if ((Remainder?4:3)*n+2*m+1 <= 128) {
1695 if (Remainder)
1701 if (Remainder)
1724 if (Remainder)
1804 if (Remainder) {
1805 // Set up the Remainder value's memory.
1806 if (Remainder->BitWidth != RHS.BitWidth) {
1807 if (Remainder->isSingleWord())
1808 Remainder
[all...]
H A DScaledNumber.cpp70 uint64_t Remainder = Dividend64 % Divisor; local
77 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDGPUISelLowering.cpp229 // Remainder = Num - Num_S_Remainder
230 SDValue Remainder = DAG.getNode(ISD::SUB, DL, VT, Num, Num_S_Remainder); local
232 // Remainder_GE_Den = (Remainder >= Den ? -1 : 0)
233 SDValue Remainder_GE_Den = DAG.getSelectCC(DL, Remainder, Den,
237 // Remainder_GE_Zero = (Remainder >= 0 ? -1 : 0)
238 SDValue Remainder_GE_Zero = DAG.getSelectCC(DL, Remainder,
267 // Remainder_S_Den = Remainder - Den
268 SDValue Remainder_S_Den = DAG.getNode(ISD::SUB, DL, VT, Remainder, Den);
270 // Remainder_A_Den = Remainder + Den
271 SDValue Remainder_A_Den = DAG.getNode(ISD::ADD, DL, VT, Remainder, De
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDGPUISelLowering.cpp229 // Remainder = Num - Num_S_Remainder
230 SDValue Remainder = DAG.getNode(ISD::SUB, DL, VT, Num, Num_S_Remainder); local
232 // Remainder_GE_Den = (Remainder >= Den ? -1 : 0)
233 SDValue Remainder_GE_Den = DAG.getSelectCC(DL, Remainder, Den,
237 // Remainder_GE_Zero = (Remainder >= 0 ? -1 : 0)
238 SDValue Remainder_GE_Zero = DAG.getSelectCC(DL, Remainder,
267 // Remainder_S_Den = Remainder - Den
268 SDValue Remainder_S_Den = DAG.getNode(ISD::SUB, DL, VT, Remainder, Den);
270 // Remainder_A_Den = Remainder + Den
271 SDValue Remainder_A_Den = DAG.getNode(ISD::ADD, DL, VT, Remainder, De
[all...]
/external/llvm/lib/Target/Mips/
H A DMips16InstrInfo.cpp217 int64_t Remainder = FrameSize - Base; local
219 if (isInt<16>(-Remainder))
220 BuildAddiuSpImm(MBB, I, -Remainder);
222 adjustStackPtrBig(SP, -Remainder, MBB, I, Mips::V0, Mips::V1);
241 int64_t Remainder = FrameSize - Base; local
245 if (isInt<16>(Remainder))
246 BuildAddiuSpImm(MBB, I, Remainder);
248 adjustStackPtrBig(SP, Remainder, MBB, I, Mips::A0, Mips::A1);
/external/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp40 PHINode *Remainder; member in struct:__anon26346::DivPhiNodes
43 : Quotient(InQuotient), Remainder(InRemainder) {}
210 J->replaceAllUsesWith(Value.Remainder);
H A DIntegerDivision.cpp82 // Remainder = Dividend - Quotient*Divisor
91 Value *Remainder = Builder.CreateSub(Dividend, Product); local
96 return Remainder;
394 Value *Remainder = generateSignedRemainderCode(Rem->getOperand(0), local
397 Rem->replaceAllUsesWith(Remainder);
409 Value *Remainder = generatedUnsignedRemainderCode(Rem->getOperand(0), local
413 Rem->replaceAllUsesWith(Remainder);
/external/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp208 const SCEV *&Remainder,
239 Remainder =
240 SE.getAddExpr(Remainder,
270 const SCEV *Remainder = SE.getConstant(SOp->getType(), 0); local
271 if (FactorOutConstant(SOp, Remainder, Factor, SE, DL) &&
272 Remainder->isZero()) {
291 if (!FactorOutConstant(Start, Remainder, Factor, SE, DL))
424 const SCEV *Remainder = SE.getConstant(Ty, 0); local
425 if (FactorOutConstant(Op, Remainder, ElSize, SE, SE.DL)) {
428 if (!Remainder
207 FactorOutConstant(const SCEV *&S, const SCEV *&Remainder, const SCEV *Factor, ScalarEvolution &SE, const DataLayout *DL) argument
[all...]
H A DDependenceAnalysis.cpp1052 APInt Remainder = ConstDelta; local
1053 APInt::sdivrem(ConstDelta, ConstCoeff, Distance, Remainder);
1055 DEBUG(dbgs() << "\t Remainder = " << Remainder << "\n");
1057 if (Remainder != 0) {
1246 APInt Remainder = APDelta; local
1247 APInt::sdivrem(APDelta, APCoeff, Distance, Remainder);
1248 DEBUG(dbgs() << "\t Remainder = " << Remainder << "\n");
1249 if (Remainder !
2303 APInt Remainder = ConstDelta.srem(RunningGCD); local
[all...]
H A DScalarEvolution.cpp7043 // Computes the Quotient and Remainder of the division of Numerator by
7047 const SCEV **Remainder) {
7056 *Remainder = D.Zero;
7062 *Remainder = D.Zero;
7078 *Remainder = Numerator;
7082 *Remainder = D.Zero;
7088 *Remainder = D.Remainder;
7099 Remainder = Numerator;
7116 Remainder
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp3218 const SCEV *Remainder = CollectSubexprs(*I, C, Ops, L, SE, Depth+1); local
3219 if (Remainder)
3220 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder);
3228 const SCEV *Remainder = CollectSubexprs(AR->getStart(), local
3232 if (Remainder && (AR->getLoop() == L || !isa<SCEVAddRecExpr>(Remainder))) {
3233 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder);
3234 Remainder
3252 const SCEV *Remainder = local
3269 const SCEV *Remainder = CollectSubexprs(BaseReg, nullptr, AddOps, L, SE); local
[all...]
/external/llvm/include/llvm/ADT/
H A DBitVector.h145 if (unsigned Remainder = Size % BITWORD_SIZE)
146 return Bits[Size / BITWORD_SIZE] == (1UL << Remainder) - 1;
H A DAPInt.h181 unsigned rhsWords, APInt *Quotient, APInt *Remainder);
926 APInt &Remainder);
929 APInt &Remainder);
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp1955 unsigned Remainder = 0; local
1967 Remainder = Imm;
1990 if ((Hi = (Remainder >> 16) & 0xFFFF)) {
1997 if ((Lo = Remainder & 0xFFFF)) {
H A DPPCISelDAGToDAG.cpp935 unsigned Remainder = 0; local
950 Remainder = Imm;
991 if ((Hi = (Remainder >> 16) & 0xFFFF)) {
995 if ((Lo = Remainder & 0xFFFF)) {
/external/llvm/lib/Target/R600/
H A DAMDGPUISelLowering.cpp1570 // Remainder = Num - Num_S_Remainder
1571 SDValue Remainder = DAG.getNode(ISD::SUB, DL, VT, Num, Num_S_Remainder); local
1573 // Remainder_GE_Den = (Remainder >= Den ? -1 : 0)
1574 SDValue Remainder_GE_Den = DAG.getSelectCC(DL, Remainder, Den,
1608 // Remainder_S_Den = Remainder - Den
1609 SDValue Remainder_S_Den = DAG.getNode(ISD::SUB, DL, VT, Remainder, Den);
1611 // Remainder_A_Den = Remainder + Den
1612 SDValue Remainder_A_Den = DAG.getNode(ISD::ADD, DL, VT, Remainder, Den);
1614 // Rem = (Tmp1 == 0 ? Remainder : Remainder_S_Den)
1616 Remainder, Remainder_S_De
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp992 APInt Quotient(Scale), Remainder(Scale); // Init ensures right bitwidth.
993 APInt::sdivrem(CI->getValue(), Scale, Quotient, Remainder);
994 if (!Remainder.isMinValue())
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDecimalTest.cpp913 TEST_F(DecimalTest, Remainder)

Completed in 326 milliseconds