/third_party/skia/src/core/ |
H A 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()
|
H A D | SkMath.cpp | 50 size_t SkSafeMath::Mul(size_t x, size_t y) { in Mul() function in SkSafeMath
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMParallelDSP.cpp | 99 /// Create MulCandidates, each rooted at a Mul instruction, that is a part 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() 124 InsertMul(Mul); in InsertMuls() 125 if (auto *Mul = GetMulOperand(Add->getOperand(1))) in InsertMuls() 126 InsertMul(Mul); in InsertMuls() 188 for (auto &Mul : Muls) in dump() 189 LLVM_DEBUG(dbgs() << *Mul->Root << "\n" in dump() 190 << " " << *Mul in dump() 677 Instruction *Mul = cast<Instruction>(MulCand->Root); InsertParallelMACs() local [all...] |
/third_party/rust/crates/nom/tests/ |
H A D | arithmetic_ast.rs | 20 Mul(Box<Expr>, Box<Expr>), 29 Mul, 40 Mul(ref left, ref right) => write!(format, "{} * {}", left, right), 54 Mul(ref left, ref right) => write!(format, "({:?} * {:?})", left, right), 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/ |
H A 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()
|
H A D | decompose_memory_access.cc | 383 const Offset* Mul(LHS&& lhs_, RHS&& rhs_) { in Mul() function 497 b.Add(b.Expr("offset"), b.Mul(i, arr_ty->Stride())); in LoadFunc() 599 b.Add(b.Expr("offset"), b.Mul(i, arr_ty->Stride())); in StoreFunc() 831 state.Mul(vec_ty->type()->Size(), swizzle->Indices()[0]); 858 auto* offset = state.Mul(arr->Stride(), accessor->index); 867 auto* offset = state.Mul(vec_ty->type()->Size(), accessor->index); 876 auto* offset = state.Mul(mat_ty->ColumnStride(), accessor->index);
|
H A 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/src/gpu/ |
H A 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/angle2/src/compiler/translator/ |
H A 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/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 106 Mul, // (B + i) * S enumerator 192 // Allocate candidates and find bases for Mul instructions. 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()
|
H A 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, Instructio in RemoveFactorFromExpression() [all...] |
H A 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()
|
H A 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()
|
H A 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A 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 in commonIDivTransforms() 750 auto *Mul = BinaryOperator::Create(Instruction::Mul, X, commonIDivTransforms() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | TruncInstCombine.cpp | 52 case Instruction::Mul: in getRelevantOperands() 114 case Instruction::Mul: in buildTruncExpressionDag() 345 case Instruction::Mul: in ReduceExpressionDag()
|
/third_party/rust/crates/syn/src/ |
H A D | op.rs | 11 Mul(Token![*]), 128 input.parse().map(BinOp::Mul) in parse() 178 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/ |
H A 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 in CollectAddOperandsWithScales() 2471 const SCEV *Mul = getMulExpr(Scale, Ops[i], SCEV::FlagAnyWrap, Depth + 1); getAddExpr() variable 2620 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); getAddExpr() variable [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
H A D | Mips16ISelDAGToDAG.cpp | 48 SDNode *Mul = CurDAG->getMachineNode(Opc, DL, MVT::Glue, N->getOperand(0), in selectMULT() local 50 SDValue InFlag = SDValue(Mul, 0); in selectMULT() 194 /// Mul with two results in trySelect()
|
/third_party/vixl/examples/aarch64/ |
H A D | factorial.cc | 47 __ Mul(x0, x0, x1); in GenerateFactorial()
|
H A D | factorial-rec.cc | 50 __ Mul(x0, x0, x1); in GenerateFactorialRec()
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-opcodes-inl.h | 98 CASE_ALL_OP(Mul, "mul") in OpcodeName() 252 CASE_I16x8_OP(Mul, "mul") in OpcodeName() 253 CASE_I32x4_OP(Mul, "mul") in OpcodeName() 254 CASE_I64x2_OP(Mul, "mul") in OpcodeName() 255 CASE_SIMDF_OP(Mul, "mul") in OpcodeName()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 56 case Instruction::Mul: in getIntImmCostInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | Operator.h | 64 /// Mul, and Shl. It does not include SDiv, despite that operator having the 103 I->getOpcode() == Instruction::Mul || in classof() 109 CE->getOpcode() == Instruction::Mul || in classof() 433 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {
|
/third_party/node/deps/v8/tools/ |
H A D | bigint-tester.py | 205 class Mul(BinaryOp): class 278 "mul": Mul,
|