/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 138 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/ |
D | LoopUnroll.cpp | 205 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-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 336 unsigned TripMultiple, unsigned PeelCount, bool UnrollRemainder, in UnrollLoop() argument 392 if (TripMultiple != 1) in UnrollLoop() 393 LLVM_DEBUG(dbgs() << " Trip Multiple = " << TripMultiple << "\n"); in UnrollLoop() 407 assert(TripMultiple > 0); in UnrollLoop() 408 assert(TripCount == 0 || TripCount % TripMultiple == 0); in UnrollLoop() 447 TripMultiple = SE->getSmallConstantTripMultiple(L, ExitingBlock); in UnrollLoop() 460 assert((!HasConvergent || TripMultiple % Count == 0) && in UnrollLoop() 469 if (RuntimeTripCount && TripMultiple % Count != 0 && in UnrollLoop() 486 TripMultiple = 0; in UnrollLoop() 489 BreakoutTrip = TripMultiple = in UnrollLoop() [all …]
|
D | LoopUnrollAndJam.cpp | 173 unsigned TripMultiple, bool UnrollRemainder, in UnrollAndJamLoop() argument 189 assert(TripMultiple > 0); in UnrollAndJamLoop() 190 assert(TripCount == 0 || TripCount % TripMultiple == 0); in UnrollAndJamLoop() 196 if (TripMultiple == 1 || TripMultiple % Count != 0) { in UnrollAndJamLoop() 233 if (TripMultiple != 1) { in UnrollAndJamLoop() 234 LLVM_DEBUG(dbgs() << " with " << TripMultiple << " trips per branch"); in UnrollAndJamLoop() 236 return DiagBuilder() << " with " << NV("TripMultiple", TripMultiple) in UnrollAndJamLoop()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 149 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | UnrollLoop.h | 60 bool PreserveOnlyFirst, unsigned TripMultiple, 84 unsigned TripMultiple, bool UnrollRemainder, 96 unsigned MaxTripCount, unsigned &TripMultiple,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 720 unsigned &TripMultiple, unsigned LoopSize, in computeUnrollCount() argument 740 if ((UP.AllowRemainder || (TripMultiple % PragmaCount == 0)) && in computeUnrollCount() 783 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount() 797 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount() 924 if (!UP.AllowRemainder && UP.Count != 0 && (TripMultiple % UP.Count) != 0) { in computeUnrollCount() 925 while (UP.Count != 0 && TripMultiple % UP.Count != 0) in computeUnrollCount() 932 << TripMultiple << ". Reducing unroll count from " << OrigCount in computeUnrollCount() 948 << NV("TripMultiple", TripMultiple) << ". Unrolling instead " in computeUnrollCount() 1011 unsigned TripMultiple = 1; in tryToUnrollLoop() local 1020 TripMultiple = SE.getSmallConstantTripMultiple(L, ExitingBlock); in tryToUnrollLoop() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 695 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/ |
D | UnrollLoop.h | 26 unsigned TripMultiple, LoopInfo* LI, LPPassManager* LPM);
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | UnrollLoop.h | 34 unsigned TripMultiple, LoopInfo *LI, ScalarEvolution *SE,
|