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

References

lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  169       /*MaxOrZero*/ false, OuterTripMultiple, OuterLoopSize, UP, UseUpperBound);
  175     UP.Count = 0;
  182     UP.Count = UnrollAndJamCount;
  183     UP.Force = true;
  184     if (UP.AllowRemainder &&
  185         getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold &&
  185         getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold &&
  186         getUnrollAndJammedLoopSize(InnerLoopSize, UP) <
  187             UP.UnrollAndJamInnerLoopThreshold)
  194     UP.Count = PragmaCount;
  195     UP.Runtime = true;
  196     UP.Force = true;
  197     if ((UP.AllowRemainder || (OuterTripMultiple % PragmaCount == 0)) &&
  198         getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold &&
  198         getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold &&
  199         getUnrollAndJammedLoopSize(InnerLoopSize, UP) <
  200             UP.UnrollAndJamInnerLoopThreshold)
  211     UP.UnrollAndJamInnerLoopThreshold = PragmaUnrollAndJamThreshold;
  213   if (!UP.AllowRemainder && getUnrollAndJammedLoopSize(InnerLoopSize, UP) >=
  213   if (!UP.AllowRemainder && getUnrollAndJammedLoopSize(InnerLoopSize, UP) >=
  214                                 UP.UnrollAndJamInnerLoopThreshold) {
  217     UP.Count = 0;
  224   if (!ExplicitUnrollAndJamCount && UP.AllowRemainder) {
  225     while (UP.Count != 0 && getUnrollAndJammedLoopSize(InnerLoopSize, UP) >=
  225     while (UP.Count != 0 && getUnrollAndJammedLoopSize(InnerLoopSize, UP) >=
  226                                 UP.UnrollAndJamInnerLoopThreshold)
  227       UP.Count--;
  237   if (InnerTripCount && InnerLoopSize * InnerTripCount < UP.Threshold) {
  240     UP.Count = 0;
  249     UP.Count = 0;
  269     UP.Count = 0;