| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestMatchers.cpp | 55 auto p1 = m_Op<arith::MulFOp>(); // using 0-arity matcher in test1() 67 auto p4 = m_Op<arith::MulFOp>(m_Op<arith::AddFOp>(), m_Any()); in test1() 71 auto p5 = m_Op<arith::MulFOp>(m_Any(), m_Op<arith::AddFOp>()); in test1() 75 auto p6 = m_Op<arith::MulFOp>(m_Op<arith::MulFOp>(), m_Any()); in test1() 79 auto p7 = m_Op<arith::MulFOp>(m_Op<arith::MulFOp>(), m_Op<arith::MulFOp>()); in test1() 84 m_Op<arith::MulFOp>(m_Op<arith::MulFOp>(), m_Op<arith::MulFOp>()); in test1() 85 auto p8 = m_Op<arith::MulFOp>(mulOfMulmul, mulOfMulmul); in test1() 91 auto mulOfMuladd = m_Op<arith::MulFOp>(m_Op<arith::MulFOp>(), m_Op<arith::AddFOp>()); in test1() 93 auto p9 = m_Op<arith::MulFOp>(m_Op<arith::MulFOp>( in test1() 94 mulOfMuladd, m_Op<arith::MulFOp>()), in test1() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ComplexToStandard/ |
| H A D | ComplexToStandard.cpp | 346 Value resultReal3 = rewriter.create<arith::MulFOp>( in matchAndRewrite() 354 Value resultImag3 = rewriter.create<arith::MulFOp>( in matchAndRewrite() 384 Value resultReal4 = rewriter.create<arith::MulFOp>( in matchAndRewrite() 392 Value resultImag4 = rewriter.create<arith::MulFOp>( in matchAndRewrite() 919 builder.create<arith::MulFOp>(a, a), builder.create<arith::MulFOp>(b, b)); in powOpConversionImpl() 922 Value halfC = builder.create<arith::MulFOp>(half, c); in powOpConversionImpl() 936 Value halfD = builder.create<arith::MulFOp>(half, d); in powOpConversionImpl() 938 builder.create<arith::MulFOp>(c, argX), in powOpConversionImpl() 939 builder.create<arith::MulFOp>(halfD, lnAaPbb)); in powOpConversionImpl() 958 type, builder.create<arith::MulFOp>(coeff, cosQ), in powOpConversionImpl() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/ |
| H A D | AlgebraicSimplification.cpp | 80 rewriter.replaceOpWithNewOp<arith::MulFOp>(op, ValueRange({x, x})); in matchAndRewrite() 87 rewriter.create<arith::MulFOp>(op.getLoc(), ValueRange({x, x})); in matchAndRewrite() 88 rewriter.replaceOpWithNewOp<arith::MulFOp>(op, ValueRange({x, square})); in matchAndRewrite()
|
| H A D | PolynomialApproximation.cpp | 394 p = builder.create<arith::MulFOp>(x, p); in matchAndRewrite() 529 Value x2 = builder.create<arith::MulFOp>(x, x); in matchAndRewrite() 538 p = builder.create<arith::MulFOp>(x, p); in matchAndRewrite() 639 Value x2 = builder.create<arith::MulFOp>(x, x); in logMatchAndRewrite() 640 Value x3 = builder.create<arith::MulFOp>(x2, x); in logMatchAndRewrite() 652 y0 = builder.create<arith::MulFOp>(y0, x3); in logMatchAndRewrite() 751 Value logLarge = builder.create<arith::MulFOp>( in matchAndRewrite() 918 return builder.create<arith::MulFOp>(a, b); in matchAndRewrite() 1058 Value expm1 = builder.create<arith::MulFOp>( in matchAndRewrite() 1108 return builder.create<arith::MulFOp>(a, b); in matchAndRewrite() [all …]
|
| H A D | ExpandPatterns.cpp | 32 Value doubledX = rewriter.create<arith::MulFOp>(loc, op.getOperand(), two); in convertTanhOp()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/ |
| H A D | SparseTensorRewriting.cpp | 56 if (isa<arith::MulFOp>(def) || isa<arith::MulIOp>(def)) { in isSampling() 72 if (isa<arith::MulFOp>(def) || isa<arith::MulIOp>(def)) in isMulChain()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Utils/ |
| H A D | Utils.cpp | 103 return b.create<arith::MulFOp>(loc, lhs, rhs); in mul()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/ |
| H A D | TosaToLinalg.cpp | 85 return rewriter.create<arith::MulFOp>(loc, resultTypes, args); in createLinalgBodyCalculationForElementwiseOp() 746 return rewriter.create<arith::MulFOp>(loc, args); in createLinalgBodyCalculationForReduceOp() 1432 y = rewriter.create<arith::MulFOp>(loc, y, yStride); in matchAndRewrite() 1433 x = rewriter.create<arith::MulFOp>(loc, x, xStride); in matchAndRewrite() 1562 y0x0 = rewriter.create<arith::MulFOp>(loc, y0x0, leftPart); in matchAndRewrite() 1563 y0x1 = rewriter.create<arith::MulFOp>(loc, y0x1, rightPart); in matchAndRewrite() 1566 y1x0 = rewriter.create<arith::MulFOp>(loc, y1x0, leftPart); in matchAndRewrite() 1567 y1x1 = rewriter.create<arith::MulFOp>(loc, y1x1, rightPart); in matchAndRewrite() 1572 topAcc = rewriter.create<arith::MulFOp>(loc, topAcc, topPart); in matchAndRewrite() 1573 bottomAcc = rewriter.create<arith::MulFOp>(loc, bottomAcc, bottomPart); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/ |
| H A D | LowerToAffineLoops.cpp | 131 using MulOpLowering = BinaryOpLowering<toy::MulOp, arith::MulFOp>;
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToLLVM/ |
| H A D | ArithmeticToLLVM.cpp | 47 using MulFOpLowering = VectorConvertToLLVMPattern<arith::MulFOp, LLVM::FMulOp>;
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/ |
| H A D | LowerToAffineLoops.cpp | 131 using MulOpLowering = BinaryOpLowering<toy::MulOp, arith::MulFOp>;
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/ |
| H A D | LowerToAffineLoops.cpp | 131 using MulOpLowering = BinaryOpLowering<toy::MulOp, arith::MulFOp>;
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | ArithmeticCanonicalization.td | 191 // MulFOp
|
| H A D | ArithmeticOps.cpp | 737 OpFoldResult arith::MulFOp::fold(ArrayRef<Attribute> operands) { in fold() 746 void arith::MulFOp::getCanonicalizationPatterns(RewritePatternSet &patterns, in getCanonicalizationPatterns() 2016 return builder.create<arith::MulFOp>(loc, lhs, rhs); in getReductionOp()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/ |
| H A D | AllReduceLowering.cpp | 223 return isFloatingPoint ? getFactory<arith::MulFOp>() in getFactory()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/ |
| H A D | AffineAnalysis.cpp | 56 .Case([](arith::MulFOp) { return arith::AtomicRMWKind::mulf; }) in getSupportedReduction() argument
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/ |
| H A D | SCFToOpenMP.cpp | 286 if (matchSimpleReduction<arith::MulFOp, LLVM::FMulOp>(reduction)) { in declareReduction()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Utils/ |
| H A D | Merger.cpp | 972 if (isa<arith::MulFOp>(def)) in buildTensorExp() 1153 return rewriter.create<arith::MulFOp>(loc, v0, v1); in buildExp()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | SplitReduction.cpp | 38 if (isa<arith::MulFOp>(op)) in getNeutralElement()
|
| H A D | Vectorization.cpp | 130 .Case<arith::MulIOp, arith::MulFOp>( in getCombinerOpKind() 1354 if (!mulOp || !isa<arith::MulIOp, arith::MulFOp>(mulOp)) in Conv1DNwcGenerator()
|
| /llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/lang/ |
| H A D | emitter.py | 436 return arith.MulFOp(lhs, rhs).result
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/ |
| H A D | LinalgInterfaces.cpp | 130 if (!isAddMul<arith::AddFOp, arith::MulFOp>(linalgOp->getRegion(0).front()) && in isContractionInterfaceImpl()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/ |
| H A D | VectorTransforms.cpp | 172 mul = rewriter.create<arith::MulFOp>(loc, x, y); in createContractArithOp() 984 if (!mulOp || !isa<arith::MulIOp, arith::MulFOp>(mulOp)) in matchAndRewrite() 1330 return rewriter.create<arith::MulFOp>(loc, x, y); in createMul() 2743 combinedResult = rewriter.create<arith::MulFOp>(loc, x, y); in genOperator()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/ |
| H A D | ArithmeticToSPIRV.cpp | 875 spirv::ElementwiseOpPattern<arith::MulFOp, spirv::FMulOp>, in populateArithmeticToSPIRVPatterns()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/ |
| H A D | AsyncParallelFor.cpp | 845 b.create<arith::MulFOp>(scalingFactor, numWorkersFloat); in matchAndRewrite()
|