Lines Matching refs:UnrolledCost
234 uint64_t UnrolledCost, uint64_t RolledDynamicCost);
500 int UnrolledCost; member
542 int UnrolledCost = 0; in analyzeLoopUnrollCost() local
610 UnrolledCost += InstCost; in analyzeLoopUnrollCost()
622 if (UnrolledCost > MaxUnrolledLoopSize) { in analyzeLoopUnrollCost()
624 << " UnrolledCost: " << UnrolledCost in analyzeLoopUnrollCost()
675 if (UnrolledCost == RolledDynamicCost) { in analyzeLoopUnrollCost()
677 << " UnrolledCost: " << UnrolledCost << "\n"); in analyzeLoopUnrollCost()
682 << "UnrolledCost: " << UnrolledCost << ", " in analyzeLoopUnrollCost()
684 return {{UnrolledCost, RolledDynamicCost}}; in analyzeLoopUnrollCost()
799 uint64_t UnrolledCost, in canUnrollCompletely() argument
807 if (UnrolledCost <= Threshold) { in canUnrollCompletely()
809 << UnrolledCost << "<" << Threshold << "\n"); in canUnrollCompletely()
813 assert(UnrolledCost && "UnrolledCost can't be 0 at this point."); in canUnrollCompletely()
814 assert(RolledDynamicCost >= UnrolledCost && in canUnrollCompletely()
822 (uint64_t)(RolledDynamicCost - UnrolledCost) * 100ull / RolledDynamicCost; in canUnrollCompletely()
825 (int64_t)UnrolledCost - (int64_t)DynamicCostSavingsDiscount <= in canUnrollCompletely()
831 << " and the unrolled cost (" << UnrolledCost in canUnrollCompletely()
842 DEBUG(dbgs() << " Unrolled cost: " << UnrolledCost << "\n"); in canUnrollCompletely()
991 DynamicCostSavingsDiscount, Cost->UnrolledCost, in runOnLoop()