Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp353 if (ULO.TripMultiple != 1) in UnrollLoop()
354 LLVM_DEBUG(dbgs() << " Trip Multiple = " << ULO.TripMultiple << "\n"); in UnrollLoop()
368 assert(ULO.TripMultiple > 0); in UnrollLoop()
369 assert(ULO.TripCount == 0 || ULO.TripCount % ULO.TripMultiple == 0); in UnrollLoop()
413 ULO.TripMultiple = SE->getSmallConstantTripMultiple(L, ExitingBlock); in UnrollLoop()
426 assert((!HasConvergent || ULO.TripMultiple % ULO.Count == 0) && in UnrollLoop()
435 if (RuntimeTripCount && ULO.TripMultiple % ULO.Count != 0 && in UnrollLoop()
453 ULO.TripMultiple = 0; in UnrollLoop()
456 BreakoutTrip = ULO.TripMultiple = in UnrollLoop()
457 (unsigned)GreatestCommonDivisor64(ULO.Count, ULO.TripMultiple); in UnrollLoop()
[all …]
DLoopUnrollAndJam.cpp173 Loop *L, unsigned Count, unsigned TripCount, unsigned TripMultiple, in UnrollAndJamLoop() argument
190 assert(TripMultiple > 0); in UnrollAndJamLoop()
191 assert(TripCount == 0 || TripCount % TripMultiple == 0); in UnrollAndJamLoop()
197 if (TripMultiple == 1 || TripMultiple % Count != 0) { in UnrollAndJamLoop()
235 if (TripMultiple != 1) { in UnrollAndJamLoop()
236 LLVM_DEBUG(dbgs() << " with " << TripMultiple << " trips per branch"); in UnrollAndJamLoop()
238 return DiagBuilder() << " with " << NV("TripMultiple", TripMultiple) in UnrollAndJamLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h75 unsigned TripMultiple; member
104 unsigned TripMultiple, bool UnrollRemainder,
118 unsigned &TripMultiple, unsigned LoopSize,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp742 bool MaxOrZero, unsigned &TripMultiple, unsigned LoopSize, in computeUnrollCount() argument
763 if ((UP.AllowRemainder || (TripMultiple % PragmaCount == 0)) && in computeUnrollCount()
822 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
836 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
971 if (!UP.AllowRemainder && UP.Count != 0 && (TripMultiple % UP.Count) != 0) { in computeUnrollCount()
972 while (UP.Count != 0 && TripMultiple % UP.Count != 0) in computeUnrollCount()
979 << TripMultiple << ". Reducing unroll count from " << OrigCount in computeUnrollCount()
995 << NV("TripMultiple", TripMultiple) << ". Unrolling instead " in computeUnrollCount()
1082 unsigned TripMultiple = 1; in tryToUnrollLoop() local
1091 TripMultiple = SE.getSmallConstantTripMultiple(L, ExitingBlock); in tryToUnrollLoop()
[all …]