Searched refs:Quotient (Results 1 – 9 of 9) sorted by relevance
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 48 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 49 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub); in TEST() 78 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() local 79 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI); in TEST()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 1668 APInt *Quotient, APInt *Remainder) in divide() argument 1772 if (Quotient) { in divide() 1774 if (Quotient->BitWidth != LHS.BitWidth) { in divide() 1775 if (Quotient->isSingleWord()) in divide() 1776 Quotient->VAL = 0; in divide() 1778 delete [] Quotient->pVal; in divide() 1779 Quotient->BitWidth = LHS.BitWidth; in divide() 1780 if (!Quotient->isSingleWord()) in divide() 1781 Quotient->pVal = getClearedMemory(Quotient->getNumWords()); in divide() 1783 Quotient->clearAllBits(); in divide() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 74 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor); in generatedUnsignedRemainderCode() local 75 Value *Product = Builder.CreateMul(Divisor, Quotient); in generatedUnsignedRemainderCode() 78 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient)) in generatedUnsignedRemainderCode() 397 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), in expandDivision() local 399 Div->replaceAllUsesWith(Quotient); in expandDivision() 412 Value *Quotient = generateUnsignedDivisionCode(Div->getOperand(0), in expandDivision() local 415 Div->replaceAllUsesWith(Quotient); in expandDivision()
|
D | BypassSlowDivision.cpp | 38 PHINode *Quotient; member 42 : Quotient(InQuotient), Remainder(InRemainder) {} in DivPhiNodes() 206 J->replaceAllUsesWith(Value.Quotient); in reuseOrInsertFastDiv()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelLowering.cpp | 284 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num); in LowerUDIVREM() local 287 SDValue Num_S_Remainder = DAG.getNode(ISD::UMULO, DL, VT, Quotient, Den); in LowerUDIVREM() 310 SDValue Quotient_A_One = DAG.getNode(ISD::ADD, DL, VT, Quotient, in LowerUDIVREM() 314 SDValue Quotient_S_One = DAG.getNode(ISD::SUB, DL, VT, Quotient, in LowerUDIVREM() 319 Quotient, Quotient_A_One, ISD::SETEQ); in LowerUDIVREM()
|
/external/dropbear/libtommath/ |
D | tommath.out | 90 \BOOKMARK [2][-]{subsection.6.2.3}{Trimming the Quotient}{section.6.2} 116 \BOOKMARK [2][-]{subsection.8.1.1}{Quotient Estimation}{section.8.1}
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 177 APInt *Quotient, APInt *Remainder); 835 APInt &Quotient, APInt &Remainder); 838 APInt &Quotient, 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() 889 Op = ConstantInt::get(CI->getType(), Quotient); in Descale()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 3388 if (const SCEV *Quotient = getExactSDiv(AR, FactorS, SE, true)) { in GenerateScales() local 3391 F.ScaledReg = Quotient; in GenerateScales()
|