Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopUnroll.cpp138 unsigned TripMultiple, LoopInfo *LI, LPPassManager *LPM) { in UnrollLoop() argument
176 if (TripMultiple != 1) in UnrollLoop()
177 DEBUG(dbgs() << " Trip Multiple = " << TripMultiple << "\n"); in UnrollLoop()
185 assert(TripMultiple > 0); in UnrollLoop()
186 assert(TripCount == 0 || TripCount % TripMultiple == 0); in UnrollLoop()
195 TripMultiple = 0; in UnrollLoop()
198 BreakoutTrip = TripMultiple = in UnrollLoop()
199 (unsigned)GreatestCommonDivisor64(Count, TripMultiple); in UnrollLoop()
208 if (TripMultiple == 0 || BreakoutTrip != TripMultiple) { in UnrollLoop()
210 } else if (TripMultiple != 1) { in UnrollLoop()
[all …]
/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp205 unsigned TripMultiple, LoopInfo *LI, ScalarEvolution *SE, in UnrollLoop() argument
245 if (TripMultiple != 1) in UnrollLoop()
246 DEBUG(dbgs() << " Trip Multiple = " << TripMultiple << "\n"); in UnrollLoop()
259 assert(TripMultiple > 0); in UnrollLoop()
260 assert(TripCount == 0 || TripCount % TripMultiple == 0); in UnrollLoop()
292 assert((!HasConvergent || TripMultiple % Count == 0) && in UnrollLoop()
299 if (RuntimeTripCount && TripMultiple % Count != 0 && in UnrollLoop()
318 TripMultiple = 0; in UnrollLoop()
321 BreakoutTrip = TripMultiple = in UnrollLoop()
322 (unsigned)GreatestCommonDivisor64(Count, TripMultiple); in UnrollLoop()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnrollPass.cpp149 unsigned TripMultiple = 1; in runOnLoop() local
157 TripMultiple = SE->getSmallConstantTripMultiple(L, LatchBlock); in runOnLoop()
163 TripMultiple = L->getSmallConstantTripMultiple(); in runOnLoop()
210 if (!UnrollLoop(L, Count, TripCount, TripMultiple, LI, &LPM)) in runOnLoop()
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp695 unsigned TripMultiple, unsigned LoopSize, in computeUnrollCount() argument
868 if (!UP.AllowRemainder && UP.Count != 0 && (TripMultiple % UP.Count) != 0) { in computeUnrollCount()
869 while (UP.Count != 0 && TripMultiple % UP.Count != 0) in computeUnrollCount()
875 << TripMultiple << ". Reducing unroll count from " in computeUnrollCount()
885 Twine(TripMultiple) + ". Unrolling instead " + Twine(UP.Count) + in computeUnrollCount()
933 unsigned TripMultiple = 1; in tryToUnrollLoop() local
942 TripMultiple = SE->getSmallConstantTripMultiple(L, ExitingBlock); in tryToUnrollLoop()
965 TripMultiple, LoopSize, UP); in tryToUnrollLoop()
974 UP.AllowExpensiveTripCount, TripMultiple, LI, SE, &DT, &AC, in tryToUnrollLoop()
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DUnrollLoop.h26 unsigned TripMultiple, LoopInfo* LI, LPPassManager* LPM);
/external/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h34 unsigned TripMultiple, LoopInfo *LI, ScalarEvolution *SE,