Home
last modified time | relevance | path

Searched refs:PeelCount (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp244 unsigned TargetPeelCount = UP.PeelCount; in computePeelCount()
245 UP.PeelCount = 0; in computePeelCount()
258 UP.PeelCount = UnrollForcePeelCount; in computePeelCount()
304 UP.PeelCount = DesiredPeelCount; in computePeelCount()
320 Optional<unsigned> PeelCount = getLoopEstimatedTripCount(L); in computePeelCount() local
321 if (!PeelCount) in computePeelCount()
324 LLVM_DEBUG(dbgs() << "Profile-based estimated trip count is " << *PeelCount in computePeelCount()
327 if (*PeelCount) { in computePeelCount()
328 if ((*PeelCount <= UnrollPeelMaxCount) && in computePeelCount()
329 (LoopSize * (*PeelCount + 1) <= UP.Threshold)) { in computePeelCount()
[all …]
DLoopUnroll.cpp336 unsigned TripMultiple, unsigned PeelCount, bool UnrollRemainder, in UnrollLoop() argument
401 if (TripCount == 0 && Count < 2 && PeelCount == 0) { in UnrollLoop()
432 assert((!RuntimeTripCount || !PeelCount) && in UnrollLoop()
437 if (PeelCount) { in UnrollLoop()
438 Peeled = peelLoop(L, PeelCount, LI, SE, DT, AC, PreserveLCSSA); in UnrollLoop()
505 } else if (PeelCount) { in UnrollLoop()
507 << " with iteration count " << PeelCount << "!\n"); in UnrollLoop()
512 << " peeled loop by " << NV("PeelCount", PeelCount) in UnrollLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h61 unsigned PeelCount, bool UnrollRemainder,
80 bool peelLoop(Loop *L, unsigned PeelCount, LoopInfo *LI, ScalarEvolution *SE,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp182 UP.PeelCount = 0; in gatherUnrollingPreferences()
219 UP.PeelCount = UnrollPeelCount; in gatherUnrollingPreferences()
806 if (UP.PeelCount) { in computeUnrollCount()
1072 UseUpperBound, MaxOrZero, TripMultiple, UP.PeelCount, UP.UnrollRemainder, in tryToUnrollLoop()
1082 (IsCountSetExplicitly || UP.PeelCount)) in tryToUnrollLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp85 UP.PeelCount = 2; in getUnrollingPreferences()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h387 unsigned PeelCount; member