Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/mlir/lib/Conversion/ComplexToStandard/
H A DComplexToStandard.cpp95 arith::AndIOp, arith::OrIOp>;
303 Value resultIsInfinity = rewriter.create<arith::AndIOp>( in matchAndRewrite()
595 b.create<arith::AndIOp>(lhsIsInf, rhsRealIsNan); in matchAndRewrite()
600 b.create<arith::AndIOp>(lhsIsInf, rhsImagIsNan); in matchAndRewrite()
626 b.create<arith::AndIOp>(rhsIsInf, lhsRealIsNan); in matchAndRewrite()
631 b.create<arith::AndIOp>(rhsIsInf, lhsImagIsNan); in matchAndRewrite()
659 b.create<arith::AndIOp>(isSpecialCase, lhsRealIsNan); in matchAndRewrite()
664 b.create<arith::AndIOp>(isSpecialCase, lhsImagIsNan); in matchAndRewrite()
679 recalc = b.create<arith::AndIOp>(isNan, recalc); in matchAndRewrite()
950 Value yGeZero = builder.create<arith::AndIOp>( in powOpConversionImpl()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Transforms/
H A DExpandOps.cpp88 Value firstTerm = rewriter.create<arith::AndIOp>(loc, aNeg, bNeg); in matchAndRewrite()
89 Value secondTerm = rewriter.create<arith::AndIOp>(loc, aPos, bPos); in matchAndRewrite()
138 Value firstTerm = rewriter.create<arith::AndIOp>(loc, aNeg, bPos); in matchAndRewrite()
139 Value secondTerm = rewriter.create<arith::AndIOp>(loc, aPos, bNeg); in matchAndRewrite()
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DRewriteLoop.cpp280 auto cmp0 = rewriter.create<mlir::arith::AndIOp>(loc, compl0, compl1); in matchAndRewrite()
281 auto cmp1 = rewriter.create<mlir::arith::AndIOp>(loc, compl2, compl3); in matchAndRewrite()
285 rewriter.create<mlir::arith::AndIOp>(loc, iterateVar, cmp2); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/Transforms/
H A DSplitPadding.cpp73 ifCond = rewriter.create<arith::AndIOp>(loc, ifCond, cmp); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/
H A DAllReduceLowering.cpp85 Value laneId = create<arith::AndIOp>(invocationIdx, subgroupMask); in rewrite()
226 return getFactory<arith::AndIOp>(); in getFactory()
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Utils/
H A DUtils.cpp93 return b.create<arith::AndIOp>(loc, lhs, rhs); in _and()
/llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/
H A DPolynomialApproximation.cpp230 Value tmp0 = builder.create<arith::AndIOp>(i32Arg, bcast(i32InvMantMask)); in frexp()
452 Value isHalfPi = builder.create<arith::AndIOp>(xZero, yGt); in matchAndRewrite()
458 Value isNegativeHalfPiPi = builder.create<arith::AndIOp>(xZero, yLt); in matchAndRewrite()
467 Value isNan = builder.create<arith::AndIOp>(xZero, yZero); in matchAndRewrite()
992 Value isComputable = builder.create<arith::AndIOp>(rightBound, leftBound); in matchAndRewrite()
1121 return builder.create<arith::AndIOp>(a, bcast(i32Cst(builder, 3))); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/ShapeToStandard/
H A DShapeToStandard.cpp309 Value result = b.create<arith::AndIOp>( in matchAndRewrite()
512 Value conjNext = b.create<arith::AndIOp>(loc, conj, eqExtent); in matchAndRewrite()
523 : rewriter.create<arith::AndIOp>(loc, result, in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DParallelLoopTiling.cpp154 inbound = b.create<arith::AndIOp>(op.getLoc(), inbound, dimInbound); in tileParallelLoop()
H A DLoopSpecialization.cpp62 cond = cond ? b.create<arith::AndIOp>(op.getLoc(), cond, cmp) : cmp; in specializeParallelLoopForUnrolling()
/llvm-project-15.0.7/mlir/lib/Dialect/NVGPU/Transforms/
H A DOptimizeSharedMemory.cpp71 srcBits = b.create<arith::AndIOp>(loc, src, srcBits); in permuteVectorOffset()
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToLLVM/
H A DArithmeticToLLVM.cpp36 using AndIOpLowering = VectorConvertToLLVMPattern<arith::AndIOp, LLVM::AndOp>;
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticOps.cpp492 OpFoldResult arith::AndIOp::fold(ArrayRef<Attribute> operands) { in fold()
1020 void arith::AndIOp::getCanonicalizationPatterns(RewritePatternSet &patterns, in getCanonicalizationPatterns()
1762 Value trueVal = rewriter.create<arith::AndIOp>( in matchAndRewrite()
1764 Value falseVal = rewriter.create<arith::AndIOp>(op.getLoc(), notCondition, in matchAndRewrite()
2034 return builder.create<arith::AndIOp>(loc, lhs, rhs); in getReductionOp()
H A DArithmeticCanonicalization.td163 // AndIOp
H A DInferIntRangeInterfaceImpls.cpp369 void arith::AndIOp::inferResultRanges(ArrayRef<ConstantIntRanges> argRanges, in inferResultRanges()
/llvm-project-15.0.7/flang/lib/Lower/
H A DIntrinsicCall.cpp2380 auto res = builder.create<mlir::arith::AndIOp>(loc, shift, one); in genBtest()
2895 return builder.create<mlir::arith::AndIOp>(loc, arg0, arg1); in genIand()
2911 return builder.create<mlir::arith::AndIOp>(loc, args[0], res); in genIbclr()
2935 auto res2 = builder.create<mlir::arith::AndIOp>(loc, res1, mask); in genIbits()
3203 auto left = builder.create<mlir::arith::AndIOp>(loc, leftTmp, leftMask); in genIshftc()
3208 auto rightTmp = builder.create<mlir::arith::AndIOp>(loc, I, rightMask); in genIshftc()
3352 mlir::Value lft = builder.create<mlir::arith::AndIOp>(loc, i, mask); in genMergeBits()
3353 mlir::Value rgt = builder.create<mlir::arith::AndIOp>(loc, j, notMask); in genMergeBits()
3411 auto mustAddP = builder.create<mlir::arith::AndIOp>(loc, remainderIsNotZero, in genModulo()
3456 builder.create<mlir::arith::AndIOp>(loc, frombitsTmp1, mask); in genMvbits()
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp194 return rewriter.create<arith::AndIOp>(loc, resultTypes, args); in createLinalgBodyCalculationForElementwiseOp()
249 rewriter.create<arith::AndIOp>(loc, i1Ty, truncated, i1one); in createLinalgBodyCalculationForElementwiseOp()
251 auto shouldRound = rewriter.create<arith::AndIOp>( in createLinalgBodyCalculationForElementwiseOp()
265 return rewriter.create<arith::AndIOp>(loc, resultTypes, args); in createLinalgBodyCalculationForElementwiseOp()
778 return rewriter.create<arith::AndIOp>(loc, args); in createLinalgBodyCalculationForReduceOp()
2179 rewriter.create<arith::AndIOp>(loc, extendAdd, b1111111); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncParallelFor.cpp390 isBlockFirstCoord[loopIdx] = b.create<arith::AndIOp>( in createParallelComputeFunction()
392 isBlockLastCoord[loopIdx] = b.create<arith::AndIOp>( in createParallelComputeFunction()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/
H A DAffineAnalysis.cpp58 .Case([](arith::AndIOp) { return arith::AtomicRMWKind::andi; }) in getSupportedReduction() argument
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/
H A DSCFToOpenMP.cpp275 if (matchSimpleReduction<arith::AndIOp, LLVM::AndOp>(reduction)) { in declareReduction()
/llvm-project-15.0.7/mlir/lib/Conversion/AffineToStandard/
H A DAffineToStandard.cpp295 ? rewriter.create<arith::AndIOp>(loc, cond, cmpVal).getResult() in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Utils/
H A DMerger.cpp998 if (isa<arith::AndIOp>(def)) in buildTensorExp()
1179 return rewriter.create<arith::AndIOp>(loc, v0, v1); in buildExp()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferSplitRewritePatterns.cpp86 inBoundsCond = b.create<arith::AndIOp>(loc, inBoundsCond, cond); in createInBoundsCond()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DSplitReduction.cpp50 if (isa<arith::AndIOp>(op)) in getNeutralElement()
/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()

12