Lines Matching defs:factor
381 assert(unrollFactor > 0 && "expected positive unroll factor");
515 /// Unrolls and jams this loop by the specified factor.
518 assert(unrollJamFactor > 0 && "unroll jam factor should be positive");
536 // Currently, only constant trip count that divided by the unroll factor is
545 LDBG("unroll and jam factor is greater than trip count, set factor to trip "
550 "multiple of unroll jam factor");
621 // Scale the step of loop being unroll-jammed by the unroll-jam factor.
1235 static Loops stripmineSink(scf::ForOp forOp, Value factor,
1241 forOp.setStep(b.create<arith::MulIOp>(forOp.getLoc(), originalStep, factor));
1269 // Stripmines a `forOp` by `factor` and sinks it under a single `target`.
1272 static scf::ForOp stripmineSink(scf::ForOp forOp, SizeType factor,
1278 auto res = stripmineSink(forOp, factor, ArrayRef<scf::ForOp>(target));