Home
last modified time | relevance | path

Searched refs:ubCstOp (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopUtils.cpp197 auto ubCstOp = forOp.upperBound().getDefiningOp<ConstantIndexOp>(); in promoteIfSingleIteration() local
199 if (!lbCstOp || !ubCstOp || !stepCstOp || lbCstOp.getValue() < 0 || in promoteIfSingleIteration()
200 ubCstOp.getValue() < 0 || stepCstOp.getValue() < 0) in promoteIfSingleIteration()
202 int64_t tripCount = mlir::ceilDiv(ubCstOp.getValue() - lbCstOp.getValue(), in promoteIfSingleIteration()
1183 auto ubCstOp = forOp.upperBound().getDefiningOp<ConstantIndexOp>(); in loopUnrollByFactor() local
1185 if (lbCstOp && ubCstOp && stepCstOp) { in loopUnrollByFactor()
1188 int64_t ubCst = ubCstOp.getValue(); in loopUnrollByFactor()
1204 upperBoundUnrolled = ubCstOp; in loopUnrollByFactor()