HomeSort by relevance Sort by last modified time
    Searched defs:Quotient (Results 1 - 6 of 6) sorted by null

  /external/llvm/unittests/Transforms/Utils/
IntegerDivision.cpp 48 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
49 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub);
78 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
79 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
AMDGPUISelLowering.cpp 223 // Quotient = mulhu(Tmp0, Num)
224 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num);
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_One, ISD::SETEQ)
    [all...]
  /external/llvm/lib/Target/R600/
AMDGPUISelLowering.cpp 382 // Quotient = mulhu(Tmp0, Num)
383 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num);
385 // Num_S_Remainder = Quotient * Den
386 SDValue Num_S_Remainder = DAG.getNode(ISD::UMULO, DL, VT, Quotient, Den);
408 // Quotient_A_One = Quotient + 1
409 SDValue Quotient_A_One = DAG.getNode(ISD::ADD, DL, VT, Quotient,
412 // Quotient_S_One = Quotient - 1
413 SDValue Quotient_S_One = DAG.getNode(ISD::SUB, DL, VT, Quotient,
416 // Div = (Tmp1 == 0 ? Quotient : Quotient_A_One)
418 Quotient, Quotient_A_One, ISD::SETEQ)
    [all...]
  /external/llvm/lib/Transforms/Utils/
BypassSlowDivision.cpp 38 PHINode *Quotient;
42 : Quotient(InQuotient), Remainder(InRemainder) {}
205 // Replace all uses of div instruction with quotient phi node
206 J->replaceAllUsesWith(Value.Quotient);
IntegerDivision.cpp 69 // Remainder = Dividend - Quotient*Divisor
71 // ; %quotient = udiv i32 %dividend, %divisor
72 // ; %product = mul i32 %divisor, %quotient
74 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor);
75 Value *Product = Builder.CreateMul(Divisor, Quotient);
78 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient))
84 /// Generate code to divide two signed integers. Returns the quotient, rounded
123 /// quotient, rounded towards 0. Builder's insert point should be pointing where
397 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0),
399 Div->replaceAllUsesWith(Quotient);
    [all...]
  /external/mesa3d/src/gallium/drivers/radeon/
AMDGPUISelLowering.cpp 223 // Quotient = mulhu(Tmp0, Num)
224 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num);
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_One, ISD::SETEQ)
    [all...]

Completed in 575 milliseconds