/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 436 bool llvm::expandDivision(BinaryOperator *Div) { in expandDivision() argument 437 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision() 438 Div->getOpcode() == Instruction::UDiv) && in expandDivision() 441 IRBuilder<> Builder(Div); in expandDivision() 443 Type *DivTy = Div->getType(); in expandDivision() 453 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision() 455 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), in expandDivision() 456 Div->getOperand(1), Builder); in expandDivision() 457 Div->replaceAllUsesWith(Quotient); in expandDivision() 458 Div->dropAllReferences(); in expandDivision() [all …]
|
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 41 Value *Div = Builder.CreateSDiv(A, B); in TEST() local 44 Value *Ret = Builder.CreateRet(Div); in TEST() 46 expandDivision(cast<BinaryOperator>(Div)); in TEST() 71 Value *Div = Builder.CreateUDiv(A, B); in TEST() local 74 Value *Ret = Builder.CreateRet(Div); in TEST() 76 expandDivision(cast<BinaryOperator>(Div)); in TEST() 162 Value *Div = Builder.CreateSDiv(A, B); in TEST() local 165 Value *Ret = Builder.CreateRet(Div); in TEST() 167 expandDivision(cast<BinaryOperator>(Div)); in TEST() 192 Value *Div = Builder.CreateUDiv(A, B); in TEST() local [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | IntegerDivision.h | 42 bool expandDivision(BinaryOperator* Div); 63 bool expandDivisionUpTo32Bits(BinaryOperator *Div); 69 bool expandDivisionUpTo64Bits(BinaryOperator *Div);
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | HasPositionalPredChecker.java | 30 import org.apache.xpath.operations.Div; 103 (pred instanceof Div) || in visitPredicate()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUISelLowering.cpp | 258 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/ |
D | Div.java | 30 public class Div extends Operation class
|
/external/valgrind/VEX/priv/ |
D | host_amd64_defs.c | 665 i->Ain.Div.syned = syned; in AMD64Instr_Div() 666 i->Ain.Div.sz = sz; in AMD64Instr_Div() 667 i->Ain.Div.src = src; in AMD64Instr_Div() 1070 i->Ain.Div.syned ? 's' : 'u', in ppAMD64Instr() 1071 showAMD64ScalarSz(i->Ain.Div.sz)); in ppAMD64Instr() 1072 ppAMD64RM(i->Ain.Div.src); in ppAMD64Instr() 1409 addRegUsage_AMD64RM(u, i->Ain.Div.src, HRmRead); in getRegUsage_AMD64Instr() 1708 mapRegs_AMD64RM(m, i->Ain.Div.src); in mapRegs_AMD64Instr() 2689 subopc = i->Ain.Div.syned ? 7 : 6; in emit_AMD64Instr() 2690 if (i->Ain.Div.sz == 4) { in emit_AMD64Instr() [all …]
|
D | host_mips_defs.c | 862 i->Min.Div.syned = syned; in MIPSInstr_Div() 863 i->Min.Div.sz32 = sz32; /* True = 32 bits */ in MIPSInstr_Div() 864 i->Min.Div.srcL = srcL; in MIPSInstr_Div() 865 i->Min.Div.srcR = srcR; in MIPSInstr_Div() 1282 if (!i->Min.Div.sz32) in ppMIPSInstr() 1285 vex_printf("%s ", i->Min.Div.syned ? "s" : "u"); in ppMIPSInstr() 1286 ppHRegMIPS(i->Min.Div.srcL, mode64); in ppMIPSInstr() 1288 ppHRegMIPS(i->Min.Div.srcR, mode64); in ppMIPSInstr() 1630 addHRegUse(u, HRmRead, i->Min.Div.srcL); in getRegUsage_MIPSInstr() 1631 addHRegUse(u, HRmRead, i->Min.Div.srcR); in getRegUsage_MIPSInstr() [all …]
|
D | host_ppc_defs.c | 783 i->Pin.Div.extended = extended; in PPCInstr_Div() 784 i->Pin.Div.syned = syned; in PPCInstr_Div() 785 i->Pin.Div.sz32 = sz32; in PPCInstr_Div() 786 i->Pin.Div.dst = dst; in PPCInstr_Div() 787 i->Pin.Div.srcL = srcL; in PPCInstr_Div() 788 i->Pin.Div.srcR = srcR; in PPCInstr_Div() 1542 i->Pin.Div.sz32 ? 'w' : 'd', in ppPPCInstr() 1543 i->Pin.Div.extended ? "e" : "", in ppPPCInstr() 1544 i->Pin.Div.syned ? "" : "u"); in ppPPCInstr() 1545 ppHRegPPC(i->Pin.Div.dst); in ppPPCInstr() [all …]
|
D | host_x86_defs.c | 620 i->Xin.Div.syned = syned; in X86Instr_Div() 621 i->Xin.Div.src = src; in X86Instr_Div() 968 vex_printf("%cdivl ", i->Xin.Div.syned ? 's' : 'u'); in ppX86Instr() 969 ppX86RM(i->Xin.Div.src); in ppX86Instr() 1265 addRegUsage_X86RM(u, i->Xin.Div.src, HRmRead); in getRegUsage_X86Instr() 1527 mapRegs_X86RM(m, i->Xin.Div.src); in mapRegs_X86Instr() 2366 subopc = i->Xin.Div.syned ? 7 : 6; in emit_X86Instr() 2368 switch (i->Xin.Div.src->tag) { in emit_X86Instr() 2370 p = doAMode_M_enc(p, subopc, i->Xin.Div.src->Xrm.Mem.am); in emit_X86Instr() 2373 p = doAMode_R_enc_reg(p, subopc, i->Xin.Div.src->Xrm.Reg.reg); in emit_X86Instr()
|
/external/libnfc-nxp/src/ |
D | phFriNfc_OvrHalCmd.h | 75 void *Div; member
|
/external/llvm/lib/Target/R600/AsmParser/ |
D | AMDGPUAsmParser.cpp | 1168 static bool ConvertOmodDiv(int64_t &Div) { in ConvertOmodDiv() argument 1169 if (Div == 1) { in ConvertOmodDiv() 1170 Div = 0; in ConvertOmodDiv() 1174 if (Div == 2) { in ConvertOmodDiv() 1175 Div = 3; in ConvertOmodDiv()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64SchedA53.td | 44 def A53UnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mult/Div/Sqrt 68 // Div 127 // FP Mul, Div, Sqrt 187 // Div
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelLowering.cpp | 1626 SDValue Div = DAG.getNode(ISD::ADD, DL, VT, iq, jq); in LowerDIVREM24() local 1629 SDValue Rem = DAG.getNode(ISD::MUL, DL, VT, Div, RHS); in LowerDIVREM24() 1633 Div, in LowerDIVREM24() 1805 SDValue Div = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), in LowerUDIVREM() local 1809 Div = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), in LowerUDIVREM() 1810 Quotient_S_One, Div, ISD::SETEQ); in LowerUDIVREM() 1828 Div, in LowerUDIVREM() 1878 SDValue Div = DAG.getNode(ISD::UDIVREM, DL, DAG.getVTList(VT, VT), LHS, RHS); in LowerSDIVREM() local 1879 SDValue Rem = Div.getValue(1); in LowerSDIVREM() 1881 Div = DAG.getNode(ISD::XOR, DL, VT, Div, DSign); in LowerSDIVREM() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 509 APInt Div(getBitWidth(), 0); in truncate() local 510 APInt::udivrem(LowerDiv, MaxBitValue, Div, LowerDiv); in truncate() 511 UpperDiv = UpperDiv - MaxBitValue * Div; in truncate()
|
D | ConstantFold.cpp | 2184 Constant *Div = ConstantExpr::getSDiv(CI, Factor); in ConstantFoldGetElementPtrImpl() local 2188 Div->getType()->getIntegerBitWidth()); in ConstantFoldGetElementPtrImpl() 2196 Type::getIntNTy(Div->getContext(), CommonExtendedWidth)); in ConstantFoldGetElementPtrImpl() 2197 if (!Div->getType()->isIntegerTy(CommonExtendedWidth)) in ConstantFoldGetElementPtrImpl() 2198 Div = ConstantExpr::getSExt( in ConstantFoldGetElementPtrImpl() 2199 Div, Type::getIntNTy(Div->getContext(), CommonExtendedWidth)); in ConstantFoldGetElementPtrImpl() 2201 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
|
/external/llvm/include/llvm/MC/ |
D | MCExpr.h | 399 Div, ///< Signed division. enumerator 444 return Create(Div, LHS, RHS, Ctx); in CreateDiv()
|
/external/clang/include/clang/AST/ |
D | CommentHTMLTags.td | 20 def Div : Tag<"div">;
|
D | StmtVisitor.h | 122 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) in BINOP_FALLBACK()
|
/external/v8/src/compiler/ |
D | machine-operator.h | 164 V(Int, Div) \
|
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
D | Compiler.java | 44 import org.apache.xpath.operations.Div; 407 return compileOperation(new Div(), opPos); in div()
|
/external/v8/src/base/ |
D | safe_math.h | 264 BASE_NUMERIC_ARITHMETIC_OPERATORS(Div, /, /= )
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math.h | 260 BASE_NUMERIC_ARITHMETIC_OPERATORS(Div, /, /= )
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 93 case MCBinaryExpr::Div: OS << '/'; break; in print() 719 case MCBinaryExpr::Div: Result = LHS / RHS; break; in EvaluateAsRelocatableImpl()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 2884 ExprResult Div; in CheckOpenMPLoop() local 2892 if (Div.isUsable()) { in CheckOpenMPLoop() 2894 SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Div, IV.get(), Div.get()); in CheckOpenMPLoop() 2929 if (Div.isUnset()) in CheckOpenMPLoop() 2930 Div = IS.NumIterations; in CheckOpenMPLoop() 2932 Div = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Div.get(), in CheckOpenMPLoop() 2936 if (Div.isUsable()) in CheckOpenMPLoop() 2937 Div = SemaRef.ActOnParenExpr(UpdLoc, UpdLoc, Div.get()); in CheckOpenMPLoop() 2938 if (!Div.isUsable()) { in CheckOpenMPLoop()
|