reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  148   return static_cast<uint64_t>(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns;
  175     UP.Count = 0;
  182     UP.Count = UnrollAndJamCount;
  194     UP.Count = PragmaCount;
  217     UP.Count = 0;
  225     while (UP.Count != 0 && getUnrollAndJammedLoopSize(InnerLoopSize, UP) >=
  227       UP.Count--;
  240     UP.Count = 0;
  249     UP.Count = 0;
  269     UP.Count = 0;
  381   if (UP.Count <= 1)
  384   if (OuterTripCount && UP.Count > OuterTripCount)
  385     UP.Count = OuterTripCount;
  389       L, UP.Count, OuterTripCount, OuterTripMultiple, UP.UnrollRemainder, LI,
lib/Transforms/Scalar/LoopUnrollPass.cpp
  192   UP.Count = 0;
  254     UP.Count = *UserCount;
  725   return (uint64_t)(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns;
  747     UP.Count = UnrollCount;
  757     UP.Count = PragmaCount;
  767     UP.Count = TripCount;
  813   UP.Count = FullUnrollTripCount;
  845     UP.Count = 1;
  856       UP.Count = 0;
  859     if (UP.Count == 0)
  860       UP.Count = TripCount;
  864         UP.Count =
  867       if (UP.Count > UP.MaxCount)
  868         UP.Count = UP.MaxCount;
  869       while (UP.Count != 0 && TripCount % UP.Count != 0)
  869       while (UP.Count != 0 && TripCount % UP.Count != 0)
  870         UP.Count--;
  871       if (UP.AllowRemainder && UP.Count <= 1) {
  876         UP.Count = UP.DefaultUnrollRuntimeCount;
  877         while (UP.Count != 0 &&
  879           UP.Count >>= 1;
  881       if (UP.Count < 2) {
  891         UP.Count = 0;
  894       UP.Count = TripCount;
  896     if (UP.Count > UP.MaxCount)
  897       UP.Count = UP.MaxCount;
  899         UP.Count != TripCount)
  908     LLVM_DEBUG(dbgs() << "  partially unrolling with count: " << UP.Count
  927     UP.Count = 0;
  933     UP.Count = 0;
  953     UP.Count = 0;
  956   if (UP.Count == 0)
  957     UP.Count = UP.DefaultUnrollRuntimeCount;
  961   while (UP.Count != 0 &&
  963     UP.Count >>= 1;
  966   unsigned OrigCount = UP.Count;
  969   if (!UP.AllowRemainder && UP.Count != 0 && (TripMultiple % UP.Count) != 0) {
  969   if (!UP.AllowRemainder && UP.Count != 0 && (TripMultiple % UP.Count) != 0) {
  970     while (UP.Count != 0 && TripMultiple % UP.Count != 0)
  970     while (UP.Count != 0 && TripMultiple % UP.Count != 0)
  971       UP.Count >>= 1;
  978                << " to " << UP.Count << ".\n");
  994                << NV("UnrollCount", UP.Count) << " time(s).";
  998   if (UP.Count > UP.MaxCount)
  999     UP.Count = UP.MaxCount;
 1001   if (MaxTripCount && UP.Count > MaxTripCount)
 1002     UP.Count = MaxTripCount;
 1004   LLVM_DEBUG(dbgs() << "  runtime unrolling with count: " << UP.Count
 1006   if (UP.Count < 2)
 1007     UP.Count = 0;
 1122   if (!UP.Count)
 1125   if (TripCount && UP.Count > TripCount)
 1126     UP.Count = TripCount;
 1135       {UP.Count, TripCount, UP.Force, UP.Runtime, UP.AllowExpensiveTripCount,