Searched refs:unrollFactor (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/ |
D | LoopUnroll.cpp | 47 Optional<unsigned> unrollFactor = None, bool unrollUpToFactor = false, in LoopUnroll() 51 if (unrollFactor) in LoopUnroll() 52 this->unrollFactor = *unrollFactor; in LoopUnroll() 131 return loopUnrollUpToFactor(forOp, unrollFactor); in runOnAffineForOp() 132 return loopUnrollByFactor(forOp, unrollFactor); in runOnAffineForOp() 136 int unrollFactor, bool unrollUpToFactor, bool unrollFull, in createLoopUnrollPass() argument 139 unrollFactor == -1 ? None : Optional<unsigned>(unrollFactor), in createLoopUnrollPass()
|
/external/llvm-project/mlir/test/lib/Transforms/ |
D | TestLoopUnrolling.cpp | 40 unrollFactor = unrollFactorParam; in TestLoopUnrollingPass() 52 loopUnrollByFactor(loop, unrollFactor); in runOnFunction() 55 Option<uint64_t> unrollFactor{*this, "unroll-factor", member in __anon019d91810111::TestLoopUnrollingPass
|
/external/llvm-project/mlir/include/mlir/Transforms/ |
D | LoopUtils.h | 44 LogicalResult loopUnrollByFactor(AffineForOp forOp, uint64_t unrollFactor); 45 LogicalResult loopUnrollByFactor(scf::ForOp forOp, uint64_t unrollFactor); 49 LogicalResult loopUnrollUpToFactor(AffineForOp forOp, uint64_t unrollFactor);
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 58 static void getCleanupLoopLowerBound(AffineForOp forOp, unsigned unrollFactor, in getCleanupLoopLowerBound() argument 93 bumpExprs[i] = (tripCountExpr - tripCountExpr % unrollFactor) * step; in getCleanupLoopLowerBound() 1045 uint64_t unrollFactor) { in loopUnrollUpToFactor() argument 1048 mayBeConstantTripCount.getValue() < unrollFactor) in loopUnrollUpToFactor() 1050 return loopUnrollByFactor(forOp, unrollFactor); in loopUnrollUpToFactor() 1057 generateUnrolledLoop(Block *loopBodyBlock, Value forOpIV, uint64_t unrollFactor, in generateUnrolledLoop() argument 1071 for (unsigned i = 1; i < unrollFactor; i++) { in generateUnrolledLoop() 1100 uint64_t unrollFactor) { in loopUnrollByFactor() argument 1101 assert(unrollFactor > 0 && "unroll factor should be positive"); in loopUnrollByFactor() 1103 if (unrollFactor == 1) in loopUnrollByFactor() [all …]
|
/external/llvm-project/mlir/include/mlir/Dialect/Affine/ |
D | Passes.h | 64 int unrollFactor = -1, bool unrollUpToFactor = false,
|
D | Passes.td | 72 Option<"unrollFactor", "unroll-factor", "unsigned", /*default=*/"4",
|