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

References

lib/Analysis/InlineCost.cpp
  307   int getThreshold() { return Threshold; }
  863     Threshold = 0;
  905     Threshold = MinIfValid(Threshold, Params.OptMinSizeThreshold);
  905     Threshold = MinIfValid(Threshold, Params.OptMinSizeThreshold);
  913     Threshold = MinIfValid(Threshold, Params.OptSizeThreshold);
  913     Threshold = MinIfValid(Threshold, Params.OptSizeThreshold);
  919       Threshold = MaxIfValid(Threshold, Params.HintThreshold);
  919       Threshold = MaxIfValid(Threshold, Params.HintThreshold);
  936       Threshold = HotCallSiteThreshold.getValue();
  944       Threshold = MinIfValid(Threshold, Params.ColdCallSiteThreshold);
  944       Threshold = MinIfValid(Threshold, Params.ColdCallSiteThreshold);
  953         Threshold = MaxIfValid(Threshold, Params.HintThreshold);
  953         Threshold = MaxIfValid(Threshold, Params.HintThreshold);
  961         Threshold = MinIfValid(Threshold, Params.ColdThreshold);
  961         Threshold = MinIfValid(Threshold, Params.ColdThreshold);
  968   Threshold *= TTI.getInliningThresholdMultiplier();
  970   SingleBBBonus = Threshold * SingleBBBonusPercent / 100;
  971   VectorBonus = Threshold * VectorBonusPercent / 100;
 1637     if (Cost >= Threshold && !ComputeFullInlineCost)
 1750   assert(Threshold >= 0);
 1757   Threshold += (SingleBBBonus + VectorBonus);
 1769   if (Cost >= Threshold && !ComputeFullInlineCost)
 1832     if (Cost >= Threshold && !ComputeFullInlineCost)
 1898       Threshold -= SingleBBBonus;
 1933     Threshold -= VectorBonus;
 1935     Threshold -= VectorBonus/2;
 1937   return Cost < std::max(1, Threshold);
 1956   DEBUG_PRINT_STAT(Threshold);