Lines Matching refs:ForOp
195 LogicalResult mlir::promoteIfSingleIteration(scf::ForOp forOp) { in promoteIfSingleIteration()
238 else if (auto forOp = dyn_cast<scf::ForOp>(op)) in promoteSingleIterationLoops()
1011 void mlir::getPerfectlyNestedLoops(SmallVectorImpl<scf::ForOp> &nestedLoops, in getPerfectlyNestedLoops()
1012 scf::ForOp root) { in getPerfectlyNestedLoops()
1163 LogicalResult mlir::loopUnrollByFactor(scf::ForOp forOp, in loopUnrollByFactor()
1238 auto epilogueForOp = cast<scf::ForOp>(epilogueBuilder.clone(*forOp)); in loopUnrollByFactor()
1689 static Loops stripmineSink(scf::ForOp forOp, Value factor, in stripmineSink()
1690 ArrayRef<scf::ForOp> targets) { in stripmineSink()
1712 auto newForOp = b.create<scf::ForOp>(t.getLoc(), iv, ub, originalStep); in stripmineSink()
1758 SmallVector<Loops, 8> mlir::tile(ArrayRef<scf::ForOp> forOps, in tile()
1760 ArrayRef<scf::ForOp> targets) { in tile()
1781 Loops mlir::tile(ArrayRef<scf::ForOp> forOps, ArrayRef<Value> sizes, in tile()
1782 scf::ForOp target) { in tile()
1786 Loops mlir::tilePerfectlyNested(scf::ForOp rootForOp, ArrayRef<Value> sizes) { in tilePerfectlyNested()
1789 SmallVector<scf::ForOp, 4> forOps; in tilePerfectlyNested()
1803 static LogicalResult hoistOpsBetween(scf::ForOp outer, scf::ForOp inner) { in hoistOpsBetween()
1862 TileLoops mlir::extractFixedOuterLoops(scf::ForOp rootForOp, in extractFixedOuterLoops()
1866 SmallVector<scf::ForOp, 4> forOps; in extractFixedOuterLoops()
1963 static void normalizeLoop(scf::ForOp loop, scf::ForOp outer, scf::ForOp inner) { in normalizeLoop()
1975 void mlir::coalesceLoops(MutableArrayRef<scf::ForOp> loops) { in coalesceLoops()
1979 scf::ForOp innermost = loops.back(); in coalesceLoops()
1980 scf::ForOp outermost = loops.front(); in coalesceLoops()
2022 scf::ForOp second = loops[1]; in coalesceLoops()
2111 void mlir::mapLoopToProcessorIds(scf::ForOp forOp, ArrayRef<Value> processorId, in mapLoopToProcessorIds()