Searched refs:tripCount (Results 1 – 5 of 5) sorted by relevance
96 Optional<uint64_t> tripCount; in getConstantTripCount() local99 if (tripCount.hasValue()) in getConstantTripCount()100 tripCount = std::min(tripCount.getValue(), in getConstantTripCount()103 tripCount = constExpr.getValue(); in getConstantTripCount()107 return tripCount; in getConstantTripCount()128 uint64_t tripCount = constExpr.getValue(); in getLargestDivisorOfTripCount() local130 if (tripCount == 0) in getLargestDivisorOfTripCount()134 thisGcd = tripCount; in getLargestDivisorOfTripCount()
94 Optional<uint64_t> tripCount = getConstantTripCount(forOp); in runOnFunction() local95 if (tripCount.hasValue() && tripCount.getValue() <= unrollFullThreshold) in runOnFunction()
475 int64_t tripCount = stats.tripCountMap[forOp]; in getComputeCostHelper() local479 tripCount = it->second; in getComputeCostHelper()483 return tripCount * opCount; in getComputeCostHelper()541 Optional<uint64_t> tripCount = getConstDifference(lbMap, ubMap); in buildSliceTripCountMap() local543 if (!tripCount.hasValue()) in buildSliceTripCountMap()545 (*tripCountMap)[op] = tripCount.getValue(); in buildSliceTripCountMap()
154 Optional<uint64_t> tripCount = getConstantTripCount(forOp); in promoteIfSingleIteration() local155 if (!tripCount || tripCount.getValue() != 1) in promoteIfSingleIteration()202 int64_t tripCount = mlir::ceilDiv(ubCstOp.getValue() - lbCstOp.getValue(), in promoteIfSingleIteration() local204 if (tripCount != 1) in promoteIfSingleIteration()322 uint64_t tripCount = mayBeConstTripCount.getValue(); in affineForOpBodySkew() local375 if (lbShift + tripCount * step < d * step) { in affineForOpBodySkew()378 b.getShiftedAffineMap(origLbMap, lbShift + tripCount * step), in affineForOpBodySkew()382 lbShift += tripCount * step; in affineForOpBodySkew()413 uint64_t ubShift = (opGroupQueue[i].first + tripCount) * step; in affineForOpBodySkew()1034 uint64_t tripCount = mayBeConstantTripCount.getValue(); in loopUnrollFull() local[all …]
135 T tripCount = ub - lb + 1; // +1 because ub is inclusive in for_static_init() local136 T span = (tripCount + numberOfActiveOMPThreads - 1) / in for_static_init()215 T tripCount = ub - lb + 1; // +1 because ub is inclusive in dispatch_init() local230 if (tnum == 1 || tripCount <= 1 || OrderedSchedule(schedule)) { in dispatch_init()235 (long)tnum, (long long)tripCount, (int)schedule); in dispatch_init()237 chunk = tripCount; // one thread gets the whole loop in dispatch_init()311 T span = (tripCount + tnum - 1) / tnum; in dispatch_init()