Lines Matching refs:lbMap

158     AffineMap lbMap = lbs[i];  in isSliceMaximalFastCheck()  local
162 if (!lbMap || !ubMap || lbMap.getNumResults() != 1 || in isSliceMaximalFastCheck()
164 lbMap.getResult(0) + 1 != ubMap.getResult(0) || in isSliceMaximalFastCheck()
169 lbMap.getResult(0).isa<AffineConstantExpr>()) in isSliceMaximalFastCheck()
174 AffineDimExpr result = lbMap.getResult(0).dyn_cast<AffineDimExpr>(); in isSliceMaximalFastCheck()
406 void MemRefRegion::getLowerAndUpperBound(unsigned pos, AffineMap &lbMap, in getLowerAndUpperBound() argument
417 lbMap = boundPairs.first; in getLowerAndUpperBound()
419 assert(lbMap && "lower bound for a region must exist"); in getLowerAndUpperBound()
421 assert(lbMap.getNumInputs() == cst.getNumDimAndSymbolVars() - rank); in getLowerAndUpperBound()
974 static Optional<uint64_t> getConstDifference(AffineMap lbMap, AffineMap ubMap) { in getConstDifference() argument
975 assert(lbMap.getNumResults() == 1 && "expected single result bound map"); in getConstDifference()
977 assert(lbMap.getNumDims() == ubMap.getNumDims()); in getConstDifference()
978 assert(lbMap.getNumSymbols() == ubMap.getNumSymbols()); in getConstDifference()
979 AffineExpr lbExpr(lbMap.getResult(0)); in getConstDifference()
981 auto loopSpanExpr = simplifyAffineExpr(ubExpr - lbExpr, lbMap.getNumDims(), in getConstDifference()
982 lbMap.getNumSymbols()); in getConstDifference()
1001 AffineMap lbMap = slice.lbs[i]; in buildSliceTripCountMap() local
1006 if (!lbMap || lbMap.getNumResults() == 0 || !ubMap || in buildSliceTripCountMap()
1021 Optional<uint64_t> tripCount = getConstDifference(lbMap, ubMap); in buildSliceTripCountMap()
1206 if (AffineMap lbMap = sliceState->lbs[i]) in insertBackwardComputationSlice() local
1207 forOp.setLowerBound(sliceState->lbOperands[i], lbMap); in insertBackwardComputationSlice()