Lines Matching defs:UnrolledCost
323 unsigned UnrolledCost;
347 /// (UnrolledCost) and dynamic cost of the original loop (RolledDynamicCost). By
352 /// \returns Optional value, holding the RolledDynamicCost and UnrolledCost. If
383 InstructionCost UnrolledCost = 0;
463 UnrolledCost += TTI.getInstructionCost(I, Operands, CostKind);
588 if (UnrolledCost > MaxUnrolledLoopSize) {
590 << " UnrolledCost: " << UnrolledCost
648 if (UnrolledCost == RolledDynamicCost) {
650 << " UnrolledCost: " << UnrolledCost << "\n");
671 assert(UnrolledCost.isValid() && RolledDynamicCost.isValid() &&
676 << "UnrolledCost: " << UnrolledCost << ", "
678 return {{unsigned(*UnrolledCost.getValue()),
781 // use (RolledDynamicCost / UnrolledCost) to model the unroll benefits to adjust
787 else if (Cost.UnrolledCost != 0)
788 // The boosting factor is RolledDynamicCost / UnrolledCost
789 return std::min(100 * Cost.RolledDynamicCost / Cost.UnrolledCost,
860 if (Cost->UnrolledCost < UP.Threshold * Boost / 100)