Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopUtils.cpp198 auto stepCstOp = forOp.step().getDefiningOp<ConstantIndexOp>(); in promoteIfSingleIteration() local
199 if (!lbCstOp || !ubCstOp || !stepCstOp || lbCstOp.getValue() < 0 || in promoteIfSingleIteration()
200 ubCstOp.getValue() < 0 || stepCstOp.getValue() < 0) in promoteIfSingleIteration()
203 stepCstOp.getValue()); in promoteIfSingleIteration()
1184 auto stepCstOp = forOp.step().getDefiningOp<ConstantIndexOp>(); in loopUnrollByFactor() local
1185 if (lbCstOp && ubCstOp && stepCstOp) { in loopUnrollByFactor()
1189 int64_t stepCst = stepCstOp.getValue(); in loopUnrollByFactor()