Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Threshold

46 /// Objects of this type also provide the adjusted threshold for inlining
49 /// threshold for this cost metric.
59 /// \brief The adjusted threshold against which this cost was computed.
60 const int Threshold;
63 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {}
66 static InlineCost get(int Cost, int Threshold) {
69 return InlineCost(Cost, Threshold);
80 return Cost < Threshold;
94 /// \brief Get the cost delta from the threshold for inlining.
97 int getCostDelta() const { return Threshold - getCost(); }
117 /// Note that threshold is passed into this function. Only costs below the
118 /// threshold are computed with any accuracy. The threshold can be used to
124 InlineCost getInlineCost(CallSite CS, int Threshold);
133 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);