Searched refs:LoopCost (Results 1 – 4 of 4) sorted by relevance
2252 int LoopCost = 0; in unswitchBestCondition() local2268 LoopCost += Cost; in unswitchBestCondition()2269 assert(LoopCost >= 0 && "Must not have negative loop costs!"); in unswitchBestCondition()2272 LLVM_DEBUG(dbgs() << " Total loop cost: " << LoopCost << "\n"); in unswitchBestCondition()2295 int Cost = LoopCost; in unswitchBestCondition()
1233 unsigned LoopCost = 1; in RateRegister() local1243 LoopCost = 0; in RateRegister()1247 C.AddRecCost += LoopCost; in RateRegister()
1632 unsigned LoopCost);1639 unsigned LoopCost);5376 unsigned LoopCost) { in selectInterleaveCount() argument5453 if (LoopCost == 0) in selectInterleaveCount()5454 LoopCost = expectedCost(VF).first; in selectInterleaveCount()5477 DEBUG(dbgs() << "LV: Loop cost is " << LoopCost << '\n'); in selectInterleaveCount()5478 if (!InterleavingRequiresRuntimePointerCheck && LoopCost < SmallLoopCost) { in selectInterleaveCount()5483 std::min(IC, (unsigned)PowerOf2Floor(SmallLoopCost / LoopCost)); in selectInterleaveCount()
1211 unsigned LoopCost);5139 unsigned LoopCost) { in selectInterleaveCount() argument5214 if (LoopCost == 0) in selectInterleaveCount()5215 LoopCost = expectedCost(VF).first; in selectInterleaveCount()5238 LLVM_DEBUG(dbgs() << "LV: Loop cost is " << LoopCost << '\n'); in selectInterleaveCount()5239 if (!InterleavingRequiresRuntimePointerCheck && LoopCost < SmallLoopCost) { in selectInterleaveCount()5244 std::min(IC, (unsigned)PowerOf2Floor(SmallLoopCost / LoopCost)); in selectInterleaveCount()