/external/llvm/lib/Support/ |
H A D | ScaledNumber.cpp | 69 uint64_t Quotient = Dividend64 / Divisor; local 72 // If Quotient needs to be shifted, leave the rounding to getAdjusted(). 73 if (Quotient > UINT32_MAX) 74 return getAdjusted<uint32_t>(Quotient, Shift); 77 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor)); 103 uint64_t Quotient = Dividend / Divisor; local 107 while (!(Quotient >> 63) && Dividend) { 113 // Get the next bit of Quotient. 114 Quotient <<= 1; 116 Quotient | [all...] |
H A D | APInt.cpp | 1669 APInt *Quotient, APInt *Remainder) 1773 if (Quotient) { 1774 // Set up the Quotient value's memory. 1775 if (Quotient->BitWidth != LHS.BitWidth) { 1776 if (Quotient->isSingleWord()) 1777 Quotient->VAL = 0; 1779 delete [] Quotient->pVal; 1780 Quotient->BitWidth = LHS.BitWidth; 1781 if (!Quotient->isSingleWord()) 1782 Quotient [all...] |
/external/llvm/unittests/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 49 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); local 50 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub); 79 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); local 80 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI); 170 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); local 171 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub); 200 Instruction* Quotient local [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | BypassSlowDivision.cpp | 39 PHINode *Quotient; member in struct:__anon26346::DivPhiNodes 43 : Quotient(InQuotient), Remainder(InRemainder) {} 207 J->replaceAllUsesWith(Value.Quotient);
|
H A D | IntegerDivision.cpp | 82 // Remainder = Dividend - Quotient*Divisor 89 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor); local 90 Value *Product = Builder.CreateMul(Divisor, Quotient); 93 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient)) 453 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), local 455 Div->replaceAllUsesWith(Quotient); 468 Value *Quotient = generateUnsignedDivisionCode(Div->getOperand(0), local 471 Div->replaceAllUsesWith(Quotient);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDGPUISelLowering.cpp | 223 // Quotient = mulhu(Tmp0, Num) 224 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num); local 226 // Num_S_Remainder = Quotient * Den 227 SDValue Num_S_Remainder = DAG.getNode(ISD::UMULO, DL, VT, Quotient, Den); 249 // Quotient_A_One = Quotient + 1 250 SDValue Quotient_A_One = DAG.getNode(ISD::ADD, DL, VT, Quotient, 253 // Quotient_S_One = Quotient - 1 254 SDValue Quotient_S_One = DAG.getNode(ISD::SUB, DL, VT, Quotient, 257 // Div = (Tmp1 == 0 ? Quotient : Quotient_A_One) 259 Quotient, Quotient_A_On [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDGPUISelLowering.cpp | 223 // Quotient = mulhu(Tmp0, Num) 224 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num); local 226 // Num_S_Remainder = Quotient * Den 227 SDValue Num_S_Remainder = DAG.getNode(ISD::UMULO, DL, VT, Quotient, Den); 249 // Quotient_A_One = Quotient + 1 250 SDValue Quotient_A_One = DAG.getNode(ISD::ADD, DL, VT, Quotient, 253 // Quotient_S_One = Quotient - 1 254 SDValue Quotient_S_One = DAG.getNode(ISD::SUB, DL, VT, Quotient, 257 // Div = (Tmp1 == 0 ? Quotient : Quotient_A_One) 259 Quotient, Quotient_A_On [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | APInt.h | 181 unsigned rhsWords, APInt *Quotient, APInt *Remainder); 925 static void udivrem(const APInt &LHS, const APInt &RHS, APInt &Quotient, 928 static void sdivrem(const APInt &LHS, const APInt &RHS, APInt &Quotient,
|
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 7043 // Computes the Quotient and Remainder of the division of Numerator by 7046 const SCEV *Denominator, const SCEV **Quotient, 7055 *Quotient = D.One; 7061 *Quotient = D.Zero; 7069 *Quotient = Numerator; 7071 divide(SE, *Quotient, Op, &Q, &R); 7072 *Quotient = Q; 7077 *Quotient = D.Zero; 7087 *Quotient = D.Quotient; [all...] |
/external/llvm/lib/Target/R600/ |
H A D | AMDGPUISelLowering.cpp | 1564 // Quotient = mulhu(Tmp0, Num) 1565 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num); local 1567 // Num_S_Remainder = Quotient * Den 1568 SDValue Num_S_Remainder = DAG.getNode(ISD::UMULO, DL, VT, Quotient, Den); 1590 // Quotient_A_One = Quotient + 1 1591 SDValue Quotient_A_One = DAG.getNode(ISD::ADD, DL, VT, Quotient, 1594 // Quotient_S_One = Quotient - 1 1595 SDValue Quotient_S_One = DAG.getNode(ISD::SUB, DL, VT, Quotient, 1598 // Div = (Tmp1 == 0 ? Quotient : Quotient_A_One) 1600 Quotient, Quotient_A_On [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 992 APInt Quotient(Scale), Remainder(Scale); // Init ensures right bitwidth. 993 APInt::sdivrem(CI->getValue(), Scale, Quotient, Remainder); 998 Op = ConstantInt::get(CI->getType(), Quotient);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 3629 if (const SCEV *Quotient = getExactSDiv(AR, FactorS, SE, true)) { 3632 F.ScaledReg = Quotient;
|
/external/chromium_org/third_party/usb_ids/ |
H A D | usb.ids | 11682 0dd2 Power Quotient International Co., Ltd 15315 3538 Power Quotient International Co., Ltd
|