Home
last modified time | relevance | path

Searched refs:MaxTripCount (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp767 OptimizationRemarkEmitter *ORE, unsigned TripCount, unsigned MaxTripCount, in computeUnrollCount() argument
841 unsigned FullUnrollMaxTripCount = MaxTripCount; in computeUnrollCount()
970 if (MaxTripCount && !UP.Force && MaxTripCount < UnrollMaxUpperBound) { in computeUnrollCount()
1039 if (MaxTripCount && UP.Count > MaxTripCount) in computeUnrollCount()
1040 UP.Count = MaxTripCount; in computeUnrollCount()
1159 unsigned MaxTripCount = 0; in tryToUnrollLoop() local
1162 MaxTripCount = SE.getSmallConstantMaxTripCount(L); in tryToUnrollLoop()
1170 L, TTI, DT, LI, SE, EphValues, &ORE, TripCount, MaxTripCount, MaxOrZero, in tryToUnrollLoop()
H A DLoopUnrollAndJamPass.cpp171 unsigned MaxTripCount = 0; in computeUnrollAndJamCount() local
174 L, TTI, DT, LI, SE, EphValues, ORE, OuterTripCount, MaxTripCount, in computeUnrollAndJamCount()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp301 const unsigned MaxTripCount = SE->getSmallConstantMaxTripCount(L); in UnrollLoop() local
306 if (MaxTripCount && ULO.Count > MaxTripCount) in UnrollLoop()
307 ULO.Count = MaxTripCount; in UnrollLoop()
347 const bool CompletelyUnroll = ULO.Count == MaxTripCount; in UnrollLoop()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DUnrollLoop.h105 unsigned MaxTripCount, bool MaxOrZero,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp5974 unsigned MaxTripCount = PSE.getSE()->getSmallConstantMaxTripCount(TheLoop); in isMoreProfitable() local
5977 MaxTripCount) { in isMoreProfitable()
5985 auto RTCostA = CostA * divideCeil(MaxTripCount, A.Width.getFixedValue()); in isMoreProfitable()
5986 auto RTCostB = CostB * divideCeil(MaxTripCount, B.Width.getFixedValue()); in isMoreProfitable()