/third_party/skia/src/core/ |
D | SkMalloc.cpp | 9 return sk_calloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_calloc_throw() 13 return sk_malloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_malloc_throw() 17 return sk_realloc_throw(buffer, SkSafeMath::Mul(count, elemSize)); in sk_realloc_throw() 21 return sk_malloc_canfail(SkSafeMath::Mul(count, elemSize)); in sk_malloc_canfail()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMParallelDSP.cpp | 105 if (I->getOpcode() == Instruction::Mul) in InsertMuls() 108 if (I->getOpcode() == Instruction::Mul) in InsertMuls() 123 if (auto *Mul = GetMulOperand(Add->getOperand(0))) in InsertMuls() local 124 InsertMul(Mul); in InsertMuls() 125 if (auto *Mul = GetMulOperand(Add->getOperand(1))) in InsertMuls() local 126 InsertMul(Mul); in InsertMuls() 188 for (auto &Mul : Muls) in dump() 189 LLVM_DEBUG(dbgs() << *Mul->Root << "\n" in dump() 190 << " " << *Mul->LHS << "\n" in dump() 191 << " " << *Mul->RHS << "\n"); in dump() [all …]
|
/third_party/rust/crates/nom/tests/ |
D | arithmetic_ast.rs | 20 Mul(Box<Expr>, Box<Expr>), enumerator 29 Mul, enumerator 40 Mul(ref left, ref right) => write!(format, "{} * {}", left, right), in fmt() 54 Mul(ref left, ref right) => write!(format, "({:?} * {:?})", left, right), in fmt() 85 Oper::Mul => Expr::Mul(Box::new(acc), Box::new(expr)), in fold_exprs() 96 Ok((i, (Oper::Mul, mul))) in term()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | multiplanar_external_texture.cc | 296 b.Add(b.Mul(1.164f, "y"), in createTexFnExtStatementList() 297 b.Mul(b.MemberAccessor("params", "vr"), "v")))), in createTexFnExtStatementList() 301 b.Sub(b.Sub(b.Mul(1.164f, "y"), in createTexFnExtStatementList() 302 b.Mul(b.MemberAccessor("params", "ug"), "u")), in createTexFnExtStatementList() 303 b.Mul(b.MemberAccessor("params", "vg"), "v")))), in createTexFnExtStatementList() 306 b.Add(b.Mul(1.164f, "y"), in createTexFnExtStatementList() 307 b.Mul(b.MemberAccessor("params", "ub"), "u")))), in createTexFnExtStatementList()
|
D | zero_init_workgroup_memory.cc | 387 return size ? b.Mul(size(), e) : e; in CalculateWorkgroupSize() 397 ? b.Mul(expr_size(), static_cast<int32_t>(const_size)) in CalculateWorkgroupSize() 398 : b.Mul(expr_size(), const_size); in CalculateWorkgroupSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 341 assert((Opcode == Instruction::Mul || Opcode == Instruction::FMul) && in IncorporateWeight() 583 if ((Opcode == Instruction::Mul && match(Tmp, m_Neg(m_Value()))) || in LinearizeExprTree() 980 BinaryOperator *Mul = in ConvertShiftToMul() local 983 Mul->takeName(Shl); in ConvertShiftToMul() 986 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul() 987 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul() 995 Mul->setHasNoSignedWrap(true); in ConvertShiftToMul() 996 Mul->setHasNoUnsignedWrap(NUW); in ConvertShiftToMul() 997 return Mul; in ConvertShiftToMul() 1043 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul, Instruction::FMul); in RemoveFactorFromExpression() [all …]
|
D | DivRemPairs.cpp | 266 Instruction *Mul = BinaryOperator::CreateMul(DivInst, Y); in optimizeDivRem() local 267 Instruction *Sub = BinaryOperator::CreateSub(X, Mul); in optimizeDivRem() 301 Mul->insertAfter(RemInst); in optimizeDivRem() 302 Sub->insertAfter(Mul); in optimizeDivRem()
|
D | StraightLineStrengthReduce.cpp | 106 Mul, // (B + i) * S enumerator 317 if (C.CandidateKind == Candidate::Mul) { in isSimplestForm() 378 case Instruction::Mul: in allocateCandidatesAndFindBasis() 439 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I); in allocateCandidatesAndFindBasisForMul() 445 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I); in allocateCandidatesAndFindBasisForMul() 449 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(LHS), Zero, RHS, in allocateCandidatesAndFindBasisForMul() 643 case Candidate::Mul: { in rewriteCandidateWithBasis()
|
D | NaryReassociate.cpp | 221 case Instruction::Mul: in isPotentiallyNaryReassociable() 289 case Instruction::Mul: in tryReassociate() 487 case Instruction::Mul: in tryReassociatedBinaryOp() 502 case Instruction::Mul: in matchTernaryOp() 516 case Instruction::Mul: in getBinarySCEV()
|
D | LowerMatrixIntrinsics.cpp | 291 case Instruction::Mul: in isUniformShape() 673 Value *Mul = Builder.CreateFMul(A, B); in createMulAdd() local 674 return Builder.CreateFAdd(Sum, Mul); in createMulAdd() 677 Value *Mul = Builder.CreateMul(A, B); in createMulAdd() local 678 return Builder.CreateAdd(Sum, Mul); in createMulAdd() 824 case Instruction::Mul: in VisitBinaryOperator()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ShaderStorageBlockOutputHLSL.cpp | 292 TIntermTyped *Mul(TIntermTyped *left, TIntermTyped *right) in Mul() function 611 right = Mul(CreateUIntNode(arraySizes[i]), right); in writeEOpIndexDirectOrIndirectOutput() 613 right = Mul(CreateUIntNode(blockMemberInfo->arrayStride), right); in writeEOpIndexDirectOrIndirectOutput() 619 right = Mul(CreateUIntNode(BlockLayoutEncoder::kBytesPerComponent), right); in writeEOpIndexDirectOrIndirectOutput() 623 right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); in writeEOpIndexDirectOrIndirectOutput() 630 right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); in writeEOpIndexDirectOrIndirectOutput() 634 right = Mul(CreateUIntNode(BlockLayoutEncoder::kBytesPerComponent), right); in writeEOpIndexDirectOrIndirectOutput()
|
/third_party/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 436 void* ptr = INHERITED::makeSpace(SkSafeMath::Mul(vertexSize, vertexCount), in makeSpace() 458 void* ptr = INHERITED::makeSpaceAtLeast(SkSafeMath::Mul(vertexSize, minVertexCount), in makeSpaceAtLeast() 459 SkSafeMath::Mul(vertexSize, fallbackVertexCount), in makeSpaceAtLeast() 487 void* ptr = INHERITED::makeSpace(SkSafeMath::Mul(indexCount, sizeof(uint16_t)), in makeSpace() 508 void* ptr = INHERITED::makeSpaceAtLeast(SkSafeMath::Mul(minIndexCount, sizeof(uint16_t)), in makeSpaceAtLeast() 509 SkSafeMath::Mul(fallbackIndexCount, sizeof(uint16_t)), in makeSpaceAtLeast()
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 922.wgsl.expected.glsl | 46 vec4 Mul(Mat4x4_ m8, vec4 v) { 93 vec4 x_e34 = Mul(x_e30, vec4(a_Position1, 1.0f)); 98 vec4 x_e48 = Mul(x_e44, vec4(a_Position1, 1.0f)); 99 vec4 x_e49 = Mul(x_e35, x_e48);
|
D | 922.wgsl.expected.hlsl | 64 float4 Mul(Mat4x4_ m8, float4 v) { 189 const float4 x_e34 = Mul(x_e30, float4(a_Position1, 1.0f)); 194 const float4 x_e48 = Mul(x_e44, float4(a_Position1, 1.0f)); 195 const float4 x_e49 = Mul(x_e35, x_e48);
|
D | 922.wgsl.expected.wgsl | 102 fn Mul(m8 : Mat4x4_, v : vec4<f32>) -> vec4<f32> { 250 let x_e34 : vec4<f32> = Mul(x_e30, vec4<f32>(x_e31, 1.0)); 258 let x_e48 : vec4<f32> = Mul(x_e44, vec4<f32>(x_e45, 1.0)); 259 let x_e49 : vec4<f32> = Mul(x_e35, x_e48);
|
D | 922.wgsl | 96 fn Mul(m8: Mat4x4_, v: vec4<f32>) -> vec4<f32> { 254 let x_e34: vec4<f32> = Mul(x_e30, vec4<f32>(x_e31, 1.0)); 262 let x_e48: vec4<f32> = Mul(x_e44, vec4<f32>(x_e45, 1.0)); 263 let x_e49: vec4<f32> = Mul(x_e35, x_e48);
|
D | 922.wgsl.expected.spvasm | 60 OpName %Mul "Mul" 311 %Mul = OpFunction %v4float None %113 535 %310 = OpFunctionCall %v4float %Mul %308 %314 548 %324 = OpFunctionCall %v4float %Mul %322 %328 549 %329 = OpFunctionCall %v4float %Mul %317 %324
|
D | 922.wgsl.expected.msl | 89 float4 Mul(Mat4x4_ m8, float4 v) { 237 float4 const x_e34 = Mul(x_e30, float4(x_e31, 1.0f)); 245 float4 const x_e48 = Mul(x_e44, float4(x_e45, 1.0f)); 246 float4 const x_e49 = Mul(x_e35, x_e48);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 204 BinaryOperator *Mul = cast<BinaryOperator>(I.getOperand(0)); in visitMul() local 206 if (I.hasNoUnsignedWrap() && Mul->hasNoUnsignedWrap()) in visitMul() 208 if (I.hasNoSignedWrap() && Mul->hasNoSignedWrap() && in visitMul() 269 Value *Mul = Builder.CreateMul(C1, Op1); in visitMul() local 272 if (!match(Mul, m_Mul(m_Value(), m_Value()))) in visitMul() 273 return BinaryOperator::CreateAdd(Builder.CreateMul(X, Op1), Mul); in visitMul() 724 auto *Mul = BinaryOperator::Create(Instruction::Mul, X, in commonIDivTransforms() local 727 Mul->setHasNoUnsignedWrap(!IsSigned && OBO->hasNoUnsignedWrap()); in commonIDivTransforms() 728 Mul->setHasNoSignedWrap(OBO->hasNoSignedWrap()); in commonIDivTransforms() 729 return Mul; in commonIDivTransforms() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource3.types | 188 Mul, 189 >Mul : NodeType.Mul
|
/third_party/rust/crates/syn/src/ |
D | op.rs | 13 Mul(Token![*]), 110 input.parse().map(BinOp::Mul) in parse_binop() 194 BinOp::Mul(t) => t.to_tokens(tokens), in to_tokens()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 409 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative() local 410 if (!Mul) return false; in isNonConstantNegative() 413 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0)); in isNonConstantNegative() 2296 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales() local 2297 if (Mul && isa<SCEVConstant>(Mul->getOperand(0))) { in CollectAddOperandsWithScales() 2299 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getAPInt(); in CollectAddOperandsWithScales() 2300 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales() 2302 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales() 2310 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales() 2380 return Instruction::Mul; in StrengthenNoWrapFlags() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 52 case Instruction::Mul: in getRelevantOperands() 114 case Instruction::Mul: in buildTruncExpressionDag() 345 case Instruction::Mul: in ReduceExpressionDag()
|
/third_party/mindspore/ |
D | README_CN.md | 106 class Mul(nn.Cell): 108 super(Mul, self).__init__() 109 self.mul = P.Mul() 117 mul = Mul()
|
/third_party/glslang/Test/ |
D | spv.specConstantOperations.vert | 36 // Mul, Div and Rem 86 // Mul, Div and Rem
|