Home
last modified time | relevance | path

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

/external/llvm-project/mlir/include/mlir/Transforms/
DUtils.h26 class AffineApplyOp; variable
143 SmallVectorImpl<AffineApplyOp> *sliceOps);
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/
DSimplifyAffineStructures.cpp85 AffineApplyOp::getCanonicalizationPatterns(patterns, func.getContext()); in runOnFunction()
97 if (isa<AffineForOp, AffineIfOp, AffineApplyOp>(op)) in runOnFunction()
DAffineLoopNormalize.cpp68 auto apply = builder.create<AffineApplyOp>(op.getLoc(), map, applyOperands); in normalizeAffineParallel()
177 Operation *newIV = opBuilder.create<AffineApplyOp>(loc, ivMap, lbOperands); in normalizeAffineFor()
DSuperVectorize.cpp730 builder.create<AffineApplyOp>(op->getLoc(), singleResMap, mapOperands); in computeMemoryOpIndices()
/external/llvm-project/mlir/lib/Transforms/Utils/
DUtils.cpp116 auto afOp = builder.create<AffineApplyOp>(op->getLoc(), singleResMap, in replaceAllMemRefUsesWith()
144 auto afOp = builder.create<AffineApplyOp>(op->getLoc(), singleResMap, in replaceAllMemRefUsesWith()
329 Operation *opInst, SmallVectorImpl<AffineApplyOp> *sliceOps) { in createAffineComputationSlice()
334 if (isa_and_nonnull<AffineApplyOp>(operand.getDefiningOp())) in createAffineComputationSlice()
370 sliceOps->push_back(builder.create<AffineApplyOp>( in createAffineComputationSlice()
DLoopUtils.cpp80 auto lb = b.create<AffineApplyOp>(forOp.getLoc(), lbMap, in getCleanupLoopLowerBound()
97 b.create<AffineApplyOp>(forOp.getLoc(), bumpMap, tripCountOperands); in getCleanupLoopLowerBound()
179 builder.create<AffineApplyOp>(forOp.getLoc(), lbMap, lbOperands); in promoteIfSingleIteration()
277 auto ivRemap = bodyBuilder.create<AffineApplyOp>( in generateShiftedLoop()
1152 return b.create<AffineApplyOp>(forOp.getLoc(), bumpMap, in loopUnrollByFactor()
1388 builder.create<AffineApplyOp>(forOp.getLoc(), bumpMap, forOpIV); in loopUnrollJamByFactor()
2239 SmallVector<AffineApplyOp, 4> mayBeDeadApplys; in generatePointWiseCopy()
2250 auto offset = b.create<AffineApplyOp>(loc, fastBufOffsetMap, lbOperands); in generatePointWiseCopy()
2420 memIndices.push_back(b.create<AffineApplyOp>(loc, map, regionSymbols)); in generateCopy()
/external/llvm-project/mlir/test/lib/Dialect/Affine/
DTestVectorizationUtils.cpp226 static bool affineApplyOp(Operation &op) { return isa<AffineApplyOp>(op); } in affineApplyOp()
229 auto app = dyn_cast<AffineApplyOp>(op); in singleResultAffineApplyOpWithoutUses()
248 auto app = cast<AffineApplyOp>(m.getMatchedOperation()); in testNormalizeMaps()
/external/llvm-project/mlir/include/mlir/Dialect/Affine/EDSC/
DIntrinsics.h17 using affine_apply = ValueBuilder<AffineApplyOp>;
/external/llvm-project/mlir/include/mlir/Analysis/
DAffineAnalysis.h24 class AffineApplyOp; variable
/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineOps.cpp170 if (auto applyOp = dyn_cast<AffineApplyOp>(op)) in isValidDim()
278 if (auto applyOp = dyn_cast<AffineApplyOp>(defOp)) in isValidSymbol()
352 AffineValueMap AffineApplyOp::getAffineValueMap() { in getAffineValueMap()
379 static void print(OpAsmPrinter &p, AffineApplyOp op) { in print()
380 p << AffineApplyOp::getOperationName() << " " << op.mapAttr(); in print()
386 static LogicalResult verify(AffineApplyOp op) { in verify()
404 bool AffineApplyOp::isValidDim() { in isValidDim()
412 bool AffineApplyOp::isValidDim(Region *region) { in isValidDim()
419 bool AffineApplyOp::isValidSymbol() { in isValidSymbol()
426 bool AffineApplyOp::isValidSymbol(Region *region) { in isValidSymbol()
[all …]
/external/llvm-project/mlir/include/mlir/Dialect/Vector/
DVectorUtils.h19 class AffineApplyOp; variable
/external/llvm-project/mlir/lib/Transforms/
DPipelineDataTransfer.cpp103 auto ivModTwoOp = bInner.create<AffineApplyOp>(forOp.getLoc(), modTwoMap, in doubleBuffer()
322 SmallVector<AffineApplyOp, 4> sliceOps; in runOnAffineForOp()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DLoops.cpp577 AffineApplyOp::getCanonicalizationPatterns(patterns, context); in lowerLinalgToLoopsImpl()
596 : RewritePattern(AffineApplyOp::getOperationName(), 0, context) {} in FoldAffineOp()
600 AffineApplyOp affineApplyOp = cast<AffineApplyOp>(op); in matchAndRewrite()
DTransforms.cpp512 rewriter.replaceOpWithNewOp<AffineApplyOp>(minOp, resultMap, in matchAndRewrite()
DTiling.cpp563 AffineApplyOp::getCanonicalizationPatterns(patterns, ctx); in populateLinalgTilingCanonicalizationPatterns()
DFusionOnTensors.cpp136 auto newIndex = rewriter.create<mlir::AffineApplyOp>( in generateFusedTensorOpRegion()
/external/llvm-project/mlir/include/mlir/Dialect/Affine/IR/
DAffineOps.h28 class AffineApplyOp; variable
362 AffineApplyOp makeComposedAffineApply(OpBuilder &b, Location loc, AffineMap map,
DAffineOps.td46 def AffineApplyOp : Affine_Op<"apply", [NoSideEffect]> {
/external/llvm-project/mlir/lib/Conversion/AffineToStandard/
DAffineToStandard.cpp450 class AffineApplyLowering : public OpRewritePattern<AffineApplyOp> {
452 using OpRewritePattern<AffineApplyOp>::OpRewritePattern;
454 LogicalResult matchAndRewrite(AffineApplyOp op, in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/
DSCFToGPU.cpp430 newIndex = rewriter.create<AffineApplyOp>( in processParallelLoop()
474 Value launchBound = rewriter.create<AffineApplyOp>( in processParallelLoop()
/external/llvm-project/mlir/lib/Analysis/
DLoopAnalysis.cpp181 auto composeOp = cast<AffineApplyOp>(affineApplyOps[0]); in isAccessIndexInvariant()
DAffineAnalysis.cpp56 if (!isa_and_nonnull<AffineApplyOp>(opInst)) { in getReachableAffineApplyOps()
/external/llvm-project/mlir/lib/Conversion/VectorToSCF/
DVectorToSCF.cpp56 res.push_back(b.createOrFold<AffineApplyOp>(loc, map, operands)); in applyMapToValues()
193 if (auto affineApplyOp = v.getDefiningOp<AffineApplyOp>()) in extractConstantIndex()
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorTransforms.cpp560 sliceIndices[j] = builder.create<AffineApplyOp>( in generateTransferOpSlices()
2109 if (auto affineApplyOp = v.getDefiningOp<AffineApplyOp>()) in extractConstantIndex()
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/
DLinalgOps.cpp41 return b.createOrFold<AffineApplyOp>(loc, map, operands); in createFoldedComposedAffineApply()