Home
last modified time | relevance | path

Searched refs:Div (Results 1 – 25 of 73) sorted by relevance

123

/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp384 bool llvm::expandDivision(BinaryOperator *Div) { in expandDivision() argument
385 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision()
386 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
389 IRBuilder<> Builder(Div); in expandDivision()
391 if (Div->getType()->isVectorTy()) in expandDivision()
395 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision()
397 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), in expandDivision()
398 Div->getOperand(1), Builder); in expandDivision()
399 Div->replaceAllUsesWith(Quotient); in expandDivision()
400 Div->dropAllReferences(); in expandDivision()
[all …]
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp40 Value *Div = Builder.CreateSDiv(A, B); in TEST() local
43 Value *Ret = Builder.CreateRet(Div); in TEST()
45 expandDivision(cast<BinaryOperator>(Div)); in TEST()
70 Value *Div = Builder.CreateUDiv(A, B); in TEST() local
73 Value *Ret = Builder.CreateRet(Div); in TEST()
75 expandDivision(cast<BinaryOperator>(Div)); in TEST()
/external/llvm/include/llvm/Transforms/Utils/
DIntegerDivision.h44 bool expandDivision(BinaryOperator* Div);
58 bool expandDivisionUpTo32Bits(BinaryOperator *Div);
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DHasPositionalPredChecker.java30 import org.apache.xpath.operations.Div;
103 (pred instanceof Div) || in visitPredicate()
/external/skia/src/core/
DSkFloat.h48 void div(const SkFloat& a) { fPacked = Div(fPacked, a.fPacked); } in div()
49 void setDiv(const SkFloat& a, const SkFloat& b) { fPacked = Div(a.fPacked, b.fPacked); } in setDiv()
101 static int32_t Div(int32_t, int32_t);
DSkFloat.cpp189 int32_t SkFloat::Div(int32_t packed_n, int32_t packed_d) in Div() function in SkFloat
207 return Div(packed, SetShift(n, 0)); in DivInt()
212 return Div(packed, SetShift(1, 0)); in Invert()
DSkFP.h62 #define SkFPDiv(a, b) SkFloat::Div(a, b)
/external/chromium_org/third_party/skia/src/core/
DSkFloat.h48 void div(const SkFloat& a) { fPacked = Div(fPacked, a.fPacked); } in div()
49 void setDiv(const SkFloat& a, const SkFloat& b) { fPacked = Div(a.fPacked, b.fPacked); } in setDiv()
101 static int32_t Div(int32_t, int32_t);
DSkFloat.cpp189 int32_t SkFloat::Div(int32_t packed_n, int32_t packed_d) in Div() function in SkFloat
207 return Div(packed, SetShift(n, 0)); in DivInt()
212 return Div(packed, SetShift(1, 0)); in Invert()
DSkFP.h62 #define SkFPDiv(a, b) SkFloat::Div(a, b)
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDGPUISelLowering.cpp258 SDValue Div = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), in LowerUDIVREM() local
262 Div = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), in LowerUDIVREM()
263 Quotient_S_One, Div, ISD::SETEQ); in LowerUDIVREM()
281 DAG.ReplaceAllUsesWith(Op.getValue(0).getNode(), &Div); in LowerUDIVREM()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUISelLowering.cpp258 SDValue Div = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), in LowerUDIVREM() local
262 Div = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), in LowerUDIVREM()
263 Quotient_S_One, Div, ISD::SETEQ); in LowerUDIVREM()
281 DAG.ReplaceAllUsesWith(Op.getValue(0).getNode(), &Div); in LowerUDIVREM()
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DDiv.java30 public class Div extends Operation class
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp417 SDValue Div = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), in LowerUDIVREM() local
421 Div = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), in LowerUDIVREM()
422 Quotient_S_One, Div, ISD::SETEQ); in LowerUDIVREM()
440 Ops[0] = Div; in LowerUDIVREM()
/external/libnfc-nxp/src/
DphFriNfc_OvrHalCmd.h75 void *Div; member
/external/clang/include/clang/AST/
DCommentHTMLTags.td20 def Div : Tag<"div">;
/external/valgrind/main/VEX/priv/
Dhost_amd64_defs.c684 i->Ain.Div.syned = syned; in AMD64Instr_Div()
685 i->Ain.Div.sz = sz; in AMD64Instr_Div()
686 i->Ain.Div.src = src; in AMD64Instr_Div()
1064 i->Ain.Div.syned ? 's' : 'u', in ppAMD64Instr()
1065 showAMD64ScalarSz(i->Ain.Div.sz)); in ppAMD64Instr()
1066 ppAMD64RM(i->Ain.Div.src); in ppAMD64Instr()
1381 addRegUsage_AMD64RM(u, i->Ain.Div.src, HRmRead); in getRegUsage_AMD64Instr()
1672 mapRegs_AMD64RM(m, i->Ain.Div.src); in mapRegs_AMD64Instr()
2602 subopc = i->Ain.Div.syned ? 7 : 6; in emit_AMD64Instr()
2603 if (i->Ain.Div.sz == 4) { in emit_AMD64Instr()
[all …]
Dhost_mips_defs.c1212 i->Min.Div.syned = syned; in MIPSInstr_Div()
1213 i->Min.Div.sz32 = sz32; /* True = 32 bits */ in MIPSInstr_Div()
1214 i->Min.Div.srcL = srcL; in MIPSInstr_Div()
1215 i->Min.Div.srcR = srcR; in MIPSInstr_Div()
1588 if (!i->Min.Div.sz32) in ppMIPSInstr()
1591 vex_printf("%s ", i->Min.Div.syned ? "s" : "u"); in ppMIPSInstr()
1592 ppHRegMIPS(i->Min.Div.srcL, mode64); in ppMIPSInstr()
1594 ppHRegMIPS(i->Min.Div.srcR, mode64); in ppMIPSInstr()
1865 addHRegUse(u, HRmRead, i->Min.Div.srcL); in getRegUsage_MIPSInstr()
1866 addHRegUse(u, HRmRead, i->Min.Div.srcR); in getRegUsage_MIPSInstr()
[all …]
Dhost_arm_defs.c1236 i->ARMin.Div.op = op; in ARMInstr_Div()
1237 i->ARMin.Div.dst = dst; in ARMInstr_Div()
1238 i->ARMin.Div.argL = argL; in ARMInstr_Div()
1239 i->ARMin.Div.argR = argR; in ARMInstr_Div()
1683 vex_printf("%-5s ", showARMDivOp(i->ARMin.Div.op)); in ppARMInstr()
1684 ppHRegARM(i->ARMin.Div.dst); in ppARMInstr()
1686 ppHRegARM(i->ARMin.Div.argL); in ppARMInstr()
1688 ppHRegARM(i->ARMin.Div.argR); in ppARMInstr()
2112 addHRegUse(u, HRmWrite, i->ARMin.Div.dst); in getRegUsage_ARMInstr()
2113 addHRegUse(u, HRmRead, i->ARMin.Div.argL); in getRegUsage_ARMInstr()
[all …]
Dhost_ppc_defs.c833 i->Pin.Div.extended = extended; in PPCInstr_Div()
834 i->Pin.Div.syned = syned; in PPCInstr_Div()
835 i->Pin.Div.sz32 = sz32; in PPCInstr_Div()
836 i->Pin.Div.dst = dst; in PPCInstr_Div()
837 i->Pin.Div.srcL = srcL; in PPCInstr_Div()
838 i->Pin.Div.srcR = srcR; in PPCInstr_Div()
1531 i->Pin.Div.sz32 ? 'w' : 'd', in ppPPCInstr()
1532 i->Pin.Div.extended ? "e" : "", in ppPPCInstr()
1533 i->Pin.Div.syned ? "" : "u"); in ppPPCInstr()
1534 ppHRegPPC(i->Pin.Div.dst); in ppPPCInstr()
[all …]
/external/llvm/lib/Support/
DConstantRange.cpp496 APInt Div(getBitWidth(), 0); in truncate() local
497 APInt::udivrem(LowerDiv, MaxBitValue, Div, LowerDiv); in truncate()
498 UpperDiv = UpperDiv - MaxBitValue * Div; in truncate()
/external/llvm/include/llvm/MC/
DMCExpr.h361 Div, ///< Signed division. enumerator
406 return Create(Div, LHS, RHS, Ctx); in CreateDiv()
/external/llvm/lib/IR/
DConstantFold.cpp2025 Constant *Div = ConstantExpr::getSDiv(CI, Factor); in ConstantFoldGetElementPtrImpl() local
2031 Type::getInt64Ty(Div->getContext())); in ConstantFoldGetElementPtrImpl()
2032 if (!Div->getType()->isIntegerTy(64)) in ConstantFoldGetElementPtrImpl()
2033 Div = ConstantExpr::getSExt(Div, in ConstantFoldGetElementPtrImpl()
2034 Type::getInt64Ty(Div->getContext())); in ConstantFoldGetElementPtrImpl()
2036 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DCompiler.java44 import org.apache.xpath.operations.Div;
407 return compileOperation(new Div(), opPos); in div()
/external/llvm/lib/MC/
DMCExpr.cpp102 case MCBinaryExpr::Div: OS << '/'; break; in print()
717 case MCBinaryExpr::Div: Result = LHS / RHS; break; in EvaluateAsRelocatableImpl()

123