Home | History | Annotate | Download | only in IPO

Lines Matching refs:Threshold

51 InlineLimit("inline-threshold", cl::Hidden, cl::init(225), cl::ZeroOrMore,
55 HintThreshold("inlinehint-threshold", cl::Hidden, cl::init(325),
56 cl::desc("Threshold for inlining functions with inline hint"));
58 // We instroduce this threshold to help performance of instrumentation based
62 ColdThreshold("inlinecold-threshold", cl::Hidden, cl::init(225),
63 cl::desc("Threshold for inlining functions with cold attribute"));
65 // Threshold to use when optsize is specified (and there is no -inline-limit).
71 Inliner::Inliner(char &ID, int Threshold, bool InsertLifetime)
73 InlineLimit : Threshold),
278 int Threshold = InlineThreshold; // -inline-threshold or else selected by
281 // If -inline-threshold is not given, listen to the optsize attribute when it
282 // would decrease the threshold.
288 OptSizeThreshold < Threshold)
289 Threshold = OptSizeThreshold;
293 return Threshold;
295 // If profile information is available, use that to adjust threshold of hot
311 // when it would increase the threshold and the caller does not need to
317 if (InlineHint && HintThreshold > Threshold &&
319 Threshold = HintThreshold;
322 // when it would decrease the threshold.
328 // ColdThreshold. If we have -inline-threshold but no -inlinecold-threshold,
329 // do not use the default cold threshold even if it is smaller.
332 ColdThreshold < Threshold)
333 Threshold = ColdThreshold;
335 return Threshold;
372 Twine(IC.getCost()) + ", threshold=" +
455 " (threshold=" + Twine(IC.getCostDelta() + IC.getCost()) + ")");