Lines Matching refs:ForOp
66 scf::ForOp outermostEnclosingForOp;
77 SmallVector<scf::ForOp> packingLoops;
131 SmallVector<scf::ForOp> &reverseEnclosingLoops) { in getAtMostNEnclosingLoops()
134 scf::ForOp outermostEnclosingForOp = nullptr; in getAtMostNEnclosingLoops()
137 (outermostEnclosingForOp = dyn_cast<scf::ForOp>(nextEnclosingOp))) { in getAtMostNEnclosingLoops()
177 SmallVector<scf::ForOp> reverseEnclosingLoops; in HoistingAnalysis()
243 for (scf::ForOp forOp : llvm::reverse(reverseEnclosingLoops)) in HoistingAnalysis()
306 if (auto forOp = dyn_cast<scf::ForOp>(op)) { in dropNonIndexDependencies()
366 cast<scf::ForOp>(forOp).getStep()}); in getPackedTensorSizes()
373 static bool isDefinedOutsideOrConstant(scf::ForOp outer, Value v) { in isDefinedOutsideOrConstant()
381 static Value buildLoopIterationCount(OpBuilder &b, scf::ForOp outer, in buildLoopIterationCount()
382 scf::ForOp forOp) { in buildLoopIterationCount()
408 scf::ForOp outer = analysis.outermostEnclosingForOp; in hoistPaddingOnTensors()
459 auto forOp = dyn_cast<scf::ForOp>(op); in hoistPaddingOnTensors()
465 auto clonedForOp = b.create<scf::ForOp>( in hoistPaddingOnTensors()
529 return buildLoopIterationCount(b, outer, cast<scf::ForOp>(loop)); in hoistPaddingOnTensors()