Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Threshold

60 /// Objects of this type also provide the adjusted threshold for inlining
63 /// threshold for this cost metric.
73 /// \brief The adjusted threshold against which this cost was computed.
74 const int Threshold;
77 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {}
80 static InlineCost get(int Cost, int Threshold) {
83 return InlineCost(Cost, Threshold);
94 return Cost < Threshold;
108 /// \brief Get the cost delta from the threshold for inlining.
111 int getCostDelta() const { return Threshold - getCost(); }
115 /// the condition to apply a threshold and applies it. Otherwise,
116 /// DefaultThreshold is used. If a threshold is Optional, it is applied only
124 /// The default threshold to start with for a callee.
127 /// Threshold to use for callees with inline hint.
130 /// Threshold to use for cold callees.
133 /// Threshold to use when the caller is optimized for size.
136 /// Threshold to use when the caller is optimized for minsize.
139 /// Threshold to use when the callsite is considered hot.
142 /// Threshold to use when the callsite is considered cold.
151 /// line options. If -inline-threshold option is not explicitly passed,
152 /// \p Threshold is used as the default threshold.
153 InlineParams getInlineParams(int Threshold);
156 /// line options. If -inline-threshold option is not explicitly passed,
157 /// the default threshold is computed from \p OptLevel and \p SizeOptLevel.
166 /// Note that a default threshold is passed into this function. This threshold
168 /// new threshold are computed with any accuracy. The new threshold can be