Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp2252 int LoopCost = 0; in unswitchBestCondition() local
2268 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()
DLoopStrengthReduce.cpp1233 unsigned LoopCost = 1; in RateRegister() local
1243 LoopCost = 0; in RateRegister()
1247 C.AddRecCost += LoopCost; in RateRegister()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1632 unsigned LoopCost);
1639 unsigned LoopCost);
5376 unsigned LoopCost) { in selectInterleaveCount() argument
5453 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1211 unsigned LoopCost);
5139 unsigned LoopCost) { in selectInterleaveCount() argument
5214 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()