Searched refs:boundsBuilder (Results 1 – 1 of 1) sorted by relevance
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 1175 OpBuilder boundsBuilder(forOp); in loopUnrollByFactor() local 1202 boundsBuilder.create<ConstantIndexOp>(loc, upperBoundUnrolledCst); in loopUnrollByFactor() 1210 : boundsBuilder.create<ConstantIndexOp>(loc, stepUnrolledCst); in loopUnrollByFactor() 1217 Value diff = boundsBuilder.create<SubIOp>(loc, upperBound, lowerBound); in loopUnrollByFactor() 1218 Value tripCount = ceilDivPositive(boundsBuilder, loc, diff, step); in loopUnrollByFactor() 1220 boundsBuilder.create<ConstantIndexOp>(loc, unrollFactor); in loopUnrollByFactor() 1222 boundsBuilder.create<SignedRemIOp>(loc, tripCount, unrollFactorCst); in loopUnrollByFactor() 1225 boundsBuilder.create<SubIOp>(loc, tripCount, tripCountRem); in loopUnrollByFactor() 1227 upperBoundUnrolled = boundsBuilder.create<AddIOp>( in loopUnrollByFactor() 1229 boundsBuilder.create<MulIOp>(loc, tripCountEvenMultiple, step)); in loopUnrollByFactor() [all …]
|