Lines Matching defs:RolledDynamicCost
329 unsigned RolledDynamicCost;
349 /// (UnrolledCost) and dynamic cost of the original loop (RolledDynamicCost). By
354 /// \returns Optional value, holding the RolledDynamicCost and UnrolledCost. If
392 InstructionCost RolledDynamicCost = 0;
559 RolledDynamicCost += TTI.getInstructionCost(&I, CostKind);
650 if (UnrolledCost == RolledDynamicCost) {
673 assert(UnrolledCost.isValid() && RolledDynamicCost.isValid() &&
679 << "RolledDynamicCost: " << RolledDynamicCost << "\n");
681 unsigned(*RolledDynamicCost.getValue())}};
781 // If fully unrolling the loop would save a lot of RolledDynamicCost, it would
783 // use (RolledDynamicCost / UnrolledCost) to model the unroll benefits to adjust
787 if (Cost.RolledDynamicCost >= std::numeric_limits<unsigned>::max() / 100)
790 // The boosting factor is RolledDynamicCost / UnrolledCost
791 return std::min(100 * Cost.RolledDynamicCost / Cost.UnrolledCost,