Home
last modified time | relevance | path

Searched refs:dstForOp (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopFusionUtils.cpp138 AffineForOp dstForOp) { in getFusedLoopNestInsertionPoint() argument
140 srcForOp->isBeforeInBlock(dstForOp.getOperation()); in getFusedLoopNestInsertionPoint()
141 auto forOpA = isSrcForOpBeforeDstForOp ? srcForOp : dstForOp; in getFusedLoopNestInsertionPoint()
142 auto forOpB = isSrcForOpBeforeDstForOp ? dstForOp : srcForOp; in getFusedLoopNestInsertionPoint()
263 FusionResult mlir::canFuseLoops(AffineForOp srcForOp, AffineForOp dstForOp, in canFuseLoops() argument
274 if (block != dstForOp->getBlock()) { in canFuseLoops()
281 if (!getFusedLoopNestInsertionPoint(srcForOp, dstForOp)) { in canFuseLoops()
288 srcForOp->isBeforeInBlock(dstForOp.getOperation()); in canFuseLoops()
290 auto forOpA = isSrcForOpBeforeDstForOp ? srcForOp : dstForOp; in canFuseLoops()
291 auto forOpB = isSrcForOpBeforeDstForOp ? dstForOp : srcForOp; in canFuseLoops()
[all …]
/external/llvm-project/mlir/include/mlir/Transforms/
DLoopFusionUtils.h89 FusionResult canFuseLoops(AffineForOp srcForOp, AffineForOp dstForOp,
97 void fuseLoops(AffineForOp srcForOp, AffineForOp dstForOp,
133 AffineForOp dstForOp, LoopNestStats &dstStats,
/external/llvm-project/mlir/test/lib/Transforms/
DTestLoopFusion.cpp54 static bool testDependenceCheck(AffineForOp srcForOp, AffineForOp dstForOp, in testDependenceCheck() argument
60 mlir::canFuseLoops(srcForOp, dstForOp, d, &sliceUnion); in testDependenceCheck()