Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Analysis/
DLoopAnalysis.cpp96 Optional<uint64_t> tripCount; in getConstantTripCount() local
99 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() local
130 if (tripCount == 0) in getLargestDivisorOfTripCount()
134 thisGcd = tripCount; in getLargestDivisorOfTripCount()
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/
DLoopUnroll.cpp94 Optional<uint64_t> tripCount = getConstantTripCount(forOp); in runOnFunction() local
95 if (tripCount.hasValue() && tripCount.getValue() <= unrollFullThreshold) in runOnFunction()
/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopFusionUtils.cpp475 int64_t tripCount = stats.tripCountMap[forOp]; in getComputeCostHelper() local
479 tripCount = it->second; in getComputeCostHelper()
483 return tripCount * opCount; in getComputeCostHelper()
541 Optional<uint64_t> tripCount = getConstDifference(lbMap, ubMap); in buildSliceTripCountMap() local
543 if (!tripCount.hasValue()) in buildSliceTripCountMap()
545 (*tripCountMap)[op] = tripCount.getValue(); in buildSliceTripCountMap()
DLoopUtils.cpp154 Optional<uint64_t> tripCount = getConstantTripCount(forOp); in promoteIfSingleIteration() local
155 if (!tripCount || tripCount.getValue() != 1) in promoteIfSingleIteration()
202 int64_t tripCount = mlir::ceilDiv(ubCstOp.getValue() - lbCstOp.getValue(), in promoteIfSingleIteration() local
204 if (tripCount != 1) in promoteIfSingleIteration()
322 uint64_t tripCount = mayBeConstTripCount.getValue(); in affineForOpBodySkew() local
375 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 …]
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/
Dloop.cu135 T tripCount = ub - lb + 1; // +1 because ub is inclusive in for_static_init() local
136 T span = (tripCount + numberOfActiveOMPThreads - 1) / in for_static_init()
215 T tripCount = ub - lb + 1; // +1 because ub is inclusive in dispatch_init() local
230 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()