Lines Matching refs:UnrolledCost
213 int UnrolledCost; member
261 int UnrolledCost = 0; in analyzeLoopUnrollCost() local
329 UnrolledCost += TTI.getUserCost(I); in analyzeLoopUnrollCost()
443 if (UnrolledCost > MaxUnrolledLoopSize) { in analyzeLoopUnrollCost()
445 << " UnrolledCost: " << UnrolledCost in analyzeLoopUnrollCost()
499 if (UnrolledCost == RolledDynamicCost) { in analyzeLoopUnrollCost()
501 << " UnrolledCost: " << UnrolledCost << "\n"); in analyzeLoopUnrollCost()
523 << "UnrolledCost: " << UnrolledCost << ", " in analyzeLoopUnrollCost()
525 return {{UnrolledCost, RolledDynamicCost}}; in analyzeLoopUnrollCost()
641 uint64_t UnrolledCost, in canUnrollCompletely() argument
648 if (UnrolledCost <= Threshold) { in canUnrollCompletely()
650 << UnrolledCost << "<" << Threshold << "\n"); in canUnrollCompletely()
654 assert(UnrolledCost && "UnrolledCost can't be 0 at this point."); in canUnrollCompletely()
655 assert(RolledDynamicCost >= UnrolledCost && in canUnrollCompletely()
663 (uint64_t)(RolledDynamicCost - UnrolledCost) * 100ull / RolledDynamicCost; in canUnrollCompletely()
666 (int64_t)UnrolledCost - (int64_t)DynamicCostSavingsDiscount <= in canUnrollCompletely()
672 << " and the unrolled cost (" << UnrolledCost in canUnrollCompletely()
683 DEBUG(dbgs() << " Unrolled cost: " << UnrolledCost << "\n"); in canUnrollCompletely()
771 Cost->UnrolledCost, Cost->RolledDynamicCost)) { in computeUnrollCount()