Searched defs:Quotient (Results 1 - 6 of 6) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
H A DIntegerDivision.cpp48 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); local
49 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub);
78 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); local
79 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDGPUISelLowering.cpp223 // 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 DAMDGPUISelLowering.cpp223 // 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/lib/Target/R600/
H A DAMDGPUISelLowering.cpp382 // Quotient = mulhu(Tmp0, Num)
383 SDValue Quotient = DAG.getNode(ISD::MULHU, DL, VT, Tmp0, Num); local
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_On
[all...]
/external/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp38 PHINode *Quotient; member in struct:__anon21688::DivPhiNodes
42 : Quotient(InQuotient), Remainder(InRemainder) {}
206 J->replaceAllUsesWith(Value.Quotient);
H A DIntegerDivision.cpp69 // Remainder = Dividend - Quotient*Divisor
74 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor); local
75 Value *Product = Builder.CreateMul(Divisor, Quotient);
78 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient))
397 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), local
399 Div->replaceAllUsesWith(Quotient);
412 Value *Quotient = generateUnsignedDivisionCode(Div->getOperand(0), local
415 Div->replaceAllUsesWith(Quotient);

Completed in 160 milliseconds