Home
last modified time | relevance | path

Searched refs:LoopCost (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp2603 int LoopCost = 0; in unswitchBestCondition() local
2619 LoopCost += Cost; in unswitchBestCondition()
2620 assert(LoopCost >= 0 && "Must not have negative loop costs!"); in unswitchBestCondition()
2623 LLVM_DEBUG(dbgs() << " Total loop cost: " << LoopCost << "\n"); in unswitchBestCondition()
2646 int Cost = LoopCost; in unswitchBestCondition()
H A DLoopStrengthReduce.cpp1238 unsigned LoopCost = 1; in RateRegister() local
1248 LoopCost = 0; in RateRegister()
1252 C.AddRecCost += LoopCost; in RateRegister()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp864 unsigned LoopCost);
4909 unsigned LoopCost) { in selectInterleaveCount() argument
4987 if (LoopCost == 0) in selectInterleaveCount()
4988 LoopCost = expectedCost(VF).first; in selectInterleaveCount()
5011 LLVM_DEBUG(dbgs() << "LV: Loop cost is " << LoopCost << '\n'); in selectInterleaveCount()
5012 if (!InterleavingRequiresRuntimePointerCheck && LoopCost < SmallLoopCost) { in selectInterleaveCount()
5017 std::min(IC, (unsigned)PowerOf2Floor(SmallLoopCost / LoopCost)); in selectInterleaveCount()