Lines Matching defs:UnrolledCost
325 unsigned UnrolledCost;
349 /// (UnrolledCost) and dynamic cost of the original loop (RolledDynamicCost). By
354 /// \returns Optional value, holding the RolledDynamicCost and UnrolledCost. If
385 InstructionCost UnrolledCost = 0;
465 UnrolledCost += TTI.getInstructionCost(I, Operands, CostKind);
590 if (UnrolledCost > MaxUnrolledLoopSize) {
592 << " UnrolledCost: " << UnrolledCost
650 if (UnrolledCost == RolledDynamicCost) {
652 << " UnrolledCost: " << UnrolledCost << "\n");
673 assert(UnrolledCost.isValid() && RolledDynamicCost.isValid() &&
678 << "UnrolledCost: " << UnrolledCost << ", "
680 return {{unsigned(*UnrolledCost.getValue()),
783 // use (RolledDynamicCost / UnrolledCost) to model the unroll benefits to adjust
789 else if (Cost.UnrolledCost != 0)
790 // The boosting factor is RolledDynamicCost / UnrolledCost
791 return std::min(100 * Cost.RolledDynamicCost / Cost.UnrolledCost,
862 if (Cost->UnrolledCost < UP.Threshold * Boost / 100)