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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp262 /// Similarly, TripMultiple divides the number of times that the LatchBlock may
346 if (ULO.TripMultiple != 1)
347 LLVM_DEBUG(dbgs() << " Trip Multiple = " << ULO.TripMultiple << "\n");
361 assert(ULO.TripMultiple > 0);
362 assert(ULO.TripCount == 0 || ULO.TripCount % ULO.TripMultiple == 0);
406 ULO.TripMultiple = SE->getSmallConstantTripMultiple(L, ExitingBlock);
411 // their TripMultiple.
419 assert((!HasConvergent || ULO.TripMultiple % ULO.Count == 0) &&
428 if (RuntimeTripCount && ULO.TripMultiple % ULO.Count != 0 &&
446 ULO.TripMultiple
[all...]
H A DLoopUnrollAndJam.cpp224 unsigned TripMultiple, bool UnrollRemainder,
242 assert(TripMultiple > 0);
243 assert(TripCount == 0 || TripCount % TripMultiple == 0);
249 if (TripMultiple == 1 || TripMultiple % Count != 0) {
287 if (TripMultiple != 1) {
288 LLVM_DEBUG(dbgs() << " with " << TripMultiple << " trips per branch");
290 return DiagBuilder() << " with " << NV("TripMultiple", TripMultiple)
223 UnrollAndJamLoop(Loop *L, unsigned Count, unsigned TripCount, unsigned TripMultiple, bool UnrollRemainder, LoopInfo *LI, ScalarEvolution *SE, DominatorTree *DT, AssumptionCache *AC, const TargetTransformInfo *TTI, OptimizationRemarkEmitter *ORE, Loop **EpilogueLoop) argument
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DUnrollLoop.h75 unsigned TripMultiple; member in struct:llvm::UnrollLoopOptions
106 unsigned TripMultiple, bool UnrollRemainder,
121 unsigned &TripMultiple, unsigned LoopSize,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp780 bool MaxOrZero, unsigned &TripMultiple, unsigned LoopSize,
802 if ((UP.AllowRemainder || (TripMultiple % PragmaCount == 0)) &&
830 // If using the upper bound to unroll, TripMultiple should be set to 1 because
861 TripMultiple = UP.UpperBound ? 1 : TripMultiple;
876 TripMultiple = UP.UpperBound ? 1 : TripMultiple;
1011 if (!UP.AllowRemainder && UP.Count != 0 && (TripMultiple % UP.Count) != 0) {
1012 while (UP.Count != 0 && TripMultiple % UP.Count != 0)
1019 << TripMultiple << "
776 computeUnrollCount( Loop *L, const TargetTransformInfo &TTI, DominatorTree &DT, LoopInfo *LI, ScalarEvolution &SE, const SmallPtrSetImpl<const Value *> &EphValues, OptimizationRemarkEmitter *ORE, unsigned &TripCount, unsigned MaxTripCount, bool MaxOrZero, unsigned &TripMultiple, unsigned LoopSize, TargetTransformInfo::UnrollingPreferences &UP, TargetTransformInfo::PeelingPreferences &PP, bool &UseUpperBound) argument
1123 unsigned TripMultiple = 1; local
[all...]

Completed in 125 milliseconds