Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp434 bool llvm::expandDivision(BinaryOperator *Div) { in expandDivision() argument
435 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision()
436 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
439 IRBuilder<> Builder(Div); in expandDivision()
441 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision()
442 assert((Div->getType()->getIntegerBitWidth() == 32 || in expandDivision()
443 Div->getType()->getIntegerBitWidth() == 64) && in expandDivision()
447 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision()
449 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), in expandDivision()
450 Div->getOperand(1), Builder); in expandDivision()
[all …]
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp41 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/
DIntegerDivision.h42 bool expandDivision(BinaryOperator* Div);
63 bool expandDivisionUpTo32Bits(BinaryOperator *Div);
69 bool expandDivisionUpTo64Bits(BinaryOperator *Div);
/external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/expressions/
DDiv.java14 public class Div implements IExpression { class
20 public Div(final IExpression l, final IExpression r) { in Div() method in Div
/external/eigen/unsupported/test/
Dcxx11_tensor_complex_cwise_ops_cuda.cu54 Div in test_cuda_complex_cwise_ops() enumerator
58 for (int op = Add; op <= Div; op++) { in test_cuda_complex_cwise_ops()
73 case Div: in test_cuda_complex_cwise_ops()
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DDiv.java18 public class Div extends ArithmeticBinop { class
20 public Div(NumericType type, Value dest, Value left, Value right) { in Div() method in Div
30 public Div asDiv() { in asDiv()
/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/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/parser/
DExpressionParser.java23 import org.jacoco.examples.expressions.Div;
68 e = new Div(e, factor()); in product()
/external/vulkan-validation-layers/libs/glm/gtx/
Dquaternion.inl105 float Div = sin(NewAngle) / sin(Angle); local
108 x.x * Div,
109 x.y * Div,
110 x.z * Div);
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DDiv.java30 public class Div extends Operation class
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp657 SDNode *Div = CurDAG->getMachineNode(TargetOpcode::EXTRACT_SUBREG, in Select() local
663 ReplaceUses(SDValue(Node, 0), SDValue(Div, 0)); in Select()
742 SDNode *Div = CurDAG->getMachineNode(TargetOpcode::EXTRACT_SUBREG, in Select() local
747 ReplaceUses(SDValue(Node, 0), SDValue(Div, 0)); in Select()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp1313 SDValue Div = DAG.getNode(ISD::ADD, DL, VT, iq, jq); in LowerDIVREM24() local
1316 SDValue Rem = DAG.getNode(ISD::MUL, DL, VT, Div, RHS); in LowerDIVREM24()
1323 Div = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, Div, InRegSize); in LowerDIVREM24()
1327 Div = DAG.getNode(ISD::AND, DL, VT, Div, TruncMask); in LowerDIVREM24()
1331 return DAG.getMergeValues({ Div, Rem }, DL); in LowerDIVREM24()
1498 SDValue Div = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, DL, VT), in LowerUDIVREM() local
1502 Div = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, DL, VT), in LowerUDIVREM()
1503 Quotient_S_One, Div, ISD::SETEQ); in LowerUDIVREM()
1521 Div, in LowerUDIVREM()
1571 SDValue Div = DAG.getNode(ISD::UDIVREM, DL, DAG.getVTList(VT, VT), LHS, RHS); in LowerSDIVREM() local
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64SchedA53.td44 def A53UnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mult/Div/Sqrt
68 // Div
129 // FP Mul, Div, Sqrt
189 // Div
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCExpr.h287 Div, ///< Signed division. enumerator
332 return Create(Div, LHS, RHS, Ctx); in CreateDiv()
/external/valgrind/VEX/priv/
Dhost_amd64_defs.c665 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()
1092 i->Ain.Div.syned ? 's' : 'u', in ppAMD64Instr()
1093 showAMD64ScalarSz(i->Ain.Div.sz)); in ppAMD64Instr()
1094 ppAMD64RM(i->Ain.Div.src); in ppAMD64Instr()
1449 addRegUsage_AMD64RM(u, i->Ain.Div.src, HRmRead); in getRegUsage_AMD64Instr()
1756 mapRegs_AMD64RM(m, i->Ain.Div.src); in mapRegs_AMD64Instr()
2815 subopc = i->Ain.Div.syned ? 7 : 6; in emit_AMD64Instr()
2816 if (i->Ain.Div.sz == 4) { in emit_AMD64Instr()
[all …]
Dhost_mips_defs.c859 i->Min.Div.syned = syned; in MIPSInstr_Div()
860 i->Min.Div.sz32 = sz32; /* True = 32 bits */ in MIPSInstr_Div()
861 i->Min.Div.srcL = srcL; in MIPSInstr_Div()
862 i->Min.Div.srcR = srcR; in MIPSInstr_Div()
1279 if (!i->Min.Div.sz32) in ppMIPSInstr()
1282 vex_printf("%s ", i->Min.Div.syned ? "s" : "u"); in ppMIPSInstr()
1283 ppHRegMIPS(i->Min.Div.srcL, mode64); in ppMIPSInstr()
1285 ppHRegMIPS(i->Min.Div.srcR, mode64); in ppMIPSInstr()
1627 addHRegUse(u, HRmRead, i->Min.Div.srcL); in getRegUsage_MIPSInstr()
1628 addHRegUse(u, HRmRead, i->Min.Div.srcR); in getRegUsage_MIPSInstr()
[all …]
Dhost_ppc_defs.c845 i->Pin.Div.extended = extended; in PPCInstr_Div()
846 i->Pin.Div.syned = syned; in PPCInstr_Div()
847 i->Pin.Div.sz32 = sz32; in PPCInstr_Div()
848 i->Pin.Div.dst = dst; in PPCInstr_Div()
849 i->Pin.Div.srcL = srcL; in PPCInstr_Div()
850 i->Pin.Div.srcR = srcR; in PPCInstr_Div()
1639 i->Pin.Div.sz32 ? 'w' : 'd', in ppPPCInstr()
1640 i->Pin.Div.extended ? "e" : "", in ppPPCInstr()
1641 i->Pin.Div.syned ? "" : "u"); in ppPPCInstr()
1642 ppHRegPPC(i->Pin.Div.dst); in ppPPCInstr()
[all …]
/external/v8/src/wasm/
Dwasm-opcodes.cc69 CASE_ALL_SIGN_OP(Div, "div") in OpcodeName()
176 CASE_F32x4_OP(Div, "div") in OpcodeName()
/external/llvm/include/llvm/MC/
DMCExpr.h388 Div, ///< Signed division. enumerator
434 return create(Div, LHS, RHS, Ctx); in createDiv()
/external/clang/include/clang/AST/
DCommentHTMLTags.td20 def Div : Tag<"div">;
/external/python/cpython2/Tools/compiler/
Dast.txt77 Div: (left, right)
/external/llvm/lib/IR/
DConstantRange.cpp608 APInt Div(getBitWidth(), 0); in truncate() local
609 APInt::udivrem(LowerDiv, MaxBitValue, Div, LowerDiv); in truncate()
610 UpperDiv = UpperDiv - MaxBitValue * Div; in truncate()
DConstantFold.cpp2240 Constant *Div = ConstantExpr::getSDiv(CI, Factor); in ConstantFoldGetElementPtrImpl() local
2244 Div->getType()->getIntegerBitWidth()); in ConstantFoldGetElementPtrImpl()
2251 PrevIdx, Type::getIntNTy(Div->getContext(), CommonExtendedWidth)); in ConstantFoldGetElementPtrImpl()
2252 if (!Div->getType()->isIntegerTy(CommonExtendedWidth)) in ConstantFoldGetElementPtrImpl()
2253 Div = ConstantExpr::getSExt( in ConstantFoldGetElementPtrImpl()
2254 Div, Type::getIntNTy(Div->getContext(), CommonExtendedWidth)); in ConstantFoldGetElementPtrImpl()
2256 NewIdxs[i - 1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCExpr.cpp107 case MCBinaryExpr::Div: OS << '/'; break; in print()
537 case MCBinaryExpr::Div: Result = LHS / RHS; break; in EvaluateAsRelocatableImpl()
/external/v8/src/compiler/
Dmachine-operator.h648 V(Int, Div) \ in NON_EXPORTED_BASE()
652 V(Uint, Div) \ in NON_EXPORTED_BASE()

12345