Lines Matching defs:RolledDynamicCost
327 unsigned RolledDynamicCost;
347 /// (UnrolledCost) and dynamic cost of the original loop (RolledDynamicCost). By
352 /// \returns Optional value, holding the RolledDynamicCost and UnrolledCost. If
390 InstructionCost RolledDynamicCost = 0;
557 RolledDynamicCost += TTI.getInstructionCost(&I, CostKind);
648 if (UnrolledCost == RolledDynamicCost) {
671 assert(UnrolledCost.isValid() && RolledDynamicCost.isValid() &&
677 << "RolledDynamicCost: " << RolledDynamicCost << "\n");
679 unsigned(*RolledDynamicCost.getValue())}};
779 // If fully unrolling the loop would save a lot of RolledDynamicCost, it would
781 // use (RolledDynamicCost / UnrolledCost) to model the unroll benefits to adjust
785 if (Cost.RolledDynamicCost >= std::numeric_limits<unsigned>::max() / 100)
788 // The boosting factor is RolledDynamicCost / UnrolledCost
789 return std::min(100 * Cost.RolledDynamicCost / Cost.UnrolledCost,