Lines Matching defs:RolledDynamicCost
355 unsigned RolledDynamicCost;
365 /// (UnrolledCost) and dynamic cost of the original loop (RolledDynamicCost). By
370 /// \returns Optional value, holding the RolledDynamicCost and UnrolledCost. If
408 unsigned RolledDynamicCost = 0;
562 RolledDynamicCost += TTI.getUserCost(&I, TargetTransformInfo::TCK_CodeSize);
649 if (UnrolledCost == RolledDynamicCost) {
674 << "RolledDynamicCost: " << RolledDynamicCost << "\n");
675 return {{UnrolledCost, RolledDynamicCost}};
744 // If fully unrolling the loop would save a lot of RolledDynamicCost, it would
746 // use (RolledDynamicCost / UnrolledCost) to model the unroll benefits to adjust
750 if (Cost.RolledDynamicCost >= std::numeric_limits<unsigned>::max() / 100)
753 // The boosting factor is RolledDynamicCost / UnrolledCost
754 return std::min(100 * Cost.RolledDynamicCost / Cost.UnrolledCost,