| /llvm-project-15.0.7/mlir/lib/Conversion/ComplexToStandard/ |
| H A D | ComplexToStandard.cpp | 95 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 D | ExpandOps.cpp | 88 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 D | RewriteLoop.cpp | 280 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 D | SplitPadding.cpp | 73 ifCond = rewriter.create<arith::AndIOp>(loc, ifCond, cmp); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/ |
| H A D | AllReduceLowering.cpp | 85 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 D | Utils.cpp | 93 return b.create<arith::AndIOp>(loc, lhs, rhs); in _and()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/ |
| H A D | PolynomialApproximation.cpp | 230 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 D | ShapeToStandard.cpp | 309 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 D | ParallelLoopTiling.cpp | 154 inbound = b.create<arith::AndIOp>(op.getLoc(), inbound, dimInbound); in tileParallelLoop()
|
| H A D | LoopSpecialization.cpp | 62 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 D | OptimizeSharedMemory.cpp | 71 srcBits = b.create<arith::AndIOp>(loc, src, srcBits); in permuteVectorOffset()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToLLVM/ |
| H A D | ArithmeticToLLVM.cpp | 36 using AndIOpLowering = VectorConvertToLLVMPattern<arith::AndIOp, LLVM::AndOp>;
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | ArithmeticOps.cpp | 492 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 D | ArithmeticCanonicalization.td | 163 // AndIOp
|
| H A D | InferIntRangeInterfaceImpls.cpp | 369 void arith::AndIOp::inferResultRanges(ArrayRef<ConstantIntRanges> argRanges, in inferResultRanges()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | IntrinsicCall.cpp | 2380 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 D | TosaToLinalg.cpp | 194 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 D | AsyncParallelFor.cpp | 390 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 D | AffineAnalysis.cpp | 58 .Case([](arith::AndIOp) { return arith::AtomicRMWKind::andi; }) in getSupportedReduction() argument
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/ |
| H A D | SCFToOpenMP.cpp | 275 if (matchSimpleReduction<arith::AndIOp, LLVM::AndOp>(reduction)) { in declareReduction()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/AffineToStandard/ |
| H A D | AffineToStandard.cpp | 295 ? rewriter.create<arith::AndIOp>(loc, cond, cmpVal).getResult() in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Utils/ |
| H A D | Merger.cpp | 998 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 D | VectorTransferSplitRewritePatterns.cpp | 86 inBoundsCond = b.create<arith::AndIOp>(loc, inBoundsCond, cond); in createInBoundsCond()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | SplitReduction.cpp | 50 if (isa<arith::AndIOp>(op)) in getNeutralElement()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/ |
| H A D | LinalgInterfaces.cpp | 134 !isAddMul<arith::OrIOp, arith::AndIOp>(linalgOp->getRegion(0).front())) in isContractionInterfaceImpl()
|