Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/ComplexToStandard/
H A DComplexToStandard.cpp95 arith::AndIOp, arith::OrIOp>;
302 rewriter.create<arith::OrIOp>(loc, lhsRealIsNotNaN, lhsImagIsNotNaN); in matchAndRewrite()
331 rewriter.create<arith::OrIOp>(loc, lhsRealInfinite, lhsImagInfinite); in matchAndRewrite()
371 rewriter.create<arith::OrIOp>(loc, rhsRealInfinite, rhsImagInfinite); in matchAndRewrite()
575 Value lhsIsInf = b.create<arith::OrIOp>(lhsRealIsInf, lhsImagIsInf); in matchAndRewrite()
610 Value rhsIsInf = b.create<arith::OrIOp>(rhsRealIsInf, rhsImagIsInf); in matchAndRewrite()
635 Value recalc = b.create<arith::OrIOp>(lhsIsInf, rhsIsInf); in matchAndRewrite()
643 Value isSpecialCase = b.create<arith::OrIOp>(lhsRealTimesRhsRealIsInf, in matchAndRewrite()
648 b.create<arith::OrIOp>(isSpecialCase, lhsRealTimesRhsImagIsInf); in matchAndRewrite()
652 b.create<arith::OrIOp>(isSpecialCase, lhsImagTimesRhsRealIsInf); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Transforms/
H A DExpandOps.cpp91 rewriter.create<arith::OrIOp>(loc, firstTerm, secondTerm); in matchAndRewrite()
141 rewriter.create<arith::OrIOp>(loc, firstTerm, secondTerm); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorTilingInterfaceImpl.cpp204 ? b.create<arith::OrIOp>(loc, check, dynHasZeroLenCond) in bubbleUpPadSlice()
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToLLVM/
H A DArithmeticToLLVM.cpp37 using OrIOpLowering = VectorConvertToLLVMPattern<arith::OrIOp, LLVM::OrOp>;
/llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/
H A DPolynomialApproximation.cpp231 Value tmp1 = builder.create<arith::OrIOp>(tmp0, bcast(i32Half)); in frexp()
755 builder.create<arith::OrIOp>(uSmall, uInf), x, logLarge); in matchAndRewrite()
1141 return builder.create<arith::OrIOp>(a, b); in matchAndRewrite()
1248 Value notNormalFiniteMask = builder.create<arith::OrIOp>(ltMinMask, infMask); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticCanonicalization.td177 // OrIOp
H A DArithmeticOps.cpp509 OpFoldResult arith::OrIOp::fold(ArrayRef<Attribute> operands) { in fold()
1029 void arith::OrIOp::getCanonicalizationPatterns(RewritePatternSet &patterns, in getCanonicalizationPatterns()
1766 rewriter.replaceOpWithNewOp<arith::OrIOp>(op, trueVal, falseVal); in matchAndRewrite()
2032 return builder.create<arith::OrIOp>(loc, lhs, rhs); in getReductionOp()
H A DInferIntRangeInterfaceImpls.cpp386 void arith::OrIOp::inferResultRanges(ArrayRef<ConstantIntRanges> argRanges, in inferResultRanges()
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DRewriteLoop.cpp282 auto cmp2 = rewriter.create<mlir::arith::OrIOp>(loc, cmp0, cmp1); in matchAndRewrite()
/llvm-project-15.0.7/flang/lib/Lower/
H A DIntrinsicCall.cpp2643 return builder.create<mlir::arith::OrIOp>(loc, lft, rgt); in genDshiftl()
2667 return builder.create<mlir::arith::OrIOp>(loc, lft, rgt); in genDshiftr()
2952 return builder.create<mlir::arith::OrIOp>(loc, args[0], mask); in genIbset()
3119 return builder.create<mlir::arith::OrIOp>(loc, args[0], args[1]); in genIor()
3184 builder.create<mlir::arith::OrIOp>(loc, shiftIsZero, shiftEqualsSize); in genIshftc()
3210 auto resTmp = builder.create<mlir::arith::OrIOp>(loc, unchanged, left); in genIshftc()
3211 auto res = builder.create<mlir::arith::OrIOp>(loc, resTmp, right); in genIshftc()
3355 return builder.create<mlir::arith::OrIOp>(loc, lft, rgt); in genMergeBits()
3458 auto resTmp = builder.create<mlir::arith::OrIOp>(loc, unchanged, frombits); in genMvbits()
3845 builder.create<mlir::arith::OrIOp>(loc, tooSmall, tooLarge); in genShift()
[all …]
H A DConvertExpr.cpp1421 return createBinaryOp<mlir::arith::OrIOp>(lhs, rhs); in genval()
6741 return createBinaryBoolOp<mlir::arith::OrIOp>(x); in genarr()
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/
H A DAllReduceLowering.cpp228 return getFactory<arith::OrIOp>(); in getFactory()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/
H A DAffineAnalysis.cpp59 .Case([](arith::OrIOp) { return arith::AtomicRMWKind::ori; }) in getSupportedReduction() argument
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/
H A DSCFToOpenMP.cpp265 if (matchSimpleReduction<arith::OrIOp, LLVM::OrOp>(reduction)) { in declareReduction()
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Utils/
H A DMerger.cpp1000 if (isa<arith::OrIOp>(def)) in buildTensorExp()
1181 return rewriter.create<arith::OrIOp>(loc, v0, v1); in buildExp()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DSplitReduction.cpp48 if (isa<arith::AddIOp, arith::OrIOp, arith::XOrIOp>(op)) in getNeutralElement()
H A DVectorization.cpp132 .Case<arith::OrIOp>([&](auto op) { return CombiningKind::OR; }) in getCombinerOpKind()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/
H A DLinalgInterfaces.cpp134 !isAddMul<arith::OrIOp, arith::AndIOp>(linalgOp->getRegion(0).front())) in isContractionInterfaceImpl()
H A DLinalgOps.cpp340 return builder.create<arith::OrIOp>(arg0.getLoc(), arg0, arg1); in buildBinaryFn()
/llvm-project-15.0.7/mlir/lib/Conversion/ShapeToStandard/
H A DShapeToStandard.cpp311 b.create<arith::OrIOp>(loc, equalOne, in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp198 return rewriter.create<arith::OrIOp>(loc, resultTypes, args); in createLinalgBodyCalculationForElementwiseOp()
276 return rewriter.create<arith::OrIOp>(loc, resultTypes, args); in createLinalgBodyCalculationForElementwiseOp()
781 return rewriter.create<arith::OrIOp>(loc, args); in createLinalgBodyCalculationForReduceOp()
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/
H A DArithmeticToSPIRV.cpp867 BitwiseOpPattern<arith::OrIOp, spirv::LogicalOrOp, spirv::BitwiseOrOp>, in populateArithmeticToSPIRVPatterns()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Arithmetic/IR/
H A DArithmeticOps.td439 // OrIOp
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransforms.cpp2761 combinedResult = rewriter.create<arith::OrIOp>(loc, x, y); in genOperator()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp5122 return b.createOrFold<arith::OrIOp>(loc, v1, v2); in makeArithReduction()