Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Threshold

89   /// SumLinkWeights - Cached sum of the weights of all links + ThresHold.
102 // true when the RHS saturates. Note that SumLinkWeights includes Threshold.
108 void clear(const BlockFrequency &Threshold) {
110 SumLinkWeights = Threshold;
148 bool update(const Node nodes[], const BlockFrequency &Threshold) {
168 if (SumN >= SumP + Threshold)
170 else if (SumP >= SumN + Threshold)
209 nodes[n].clear(Threshold);
226 /// \brief Set the threshold for a given entry frequency.
228 /// Set the threshold relative to \c Entry. Since the threshold is used as a
229 /// bound on the open interval (-Threshold;Threshold), 1 is the minimum
230 /// threshold.
232 // Apparently 2 is a good threshold when Entry==2^14, but we need to scale
236 Threshold = std::max(UINT64_C(1), Scaled);
304 nodes[n].update(nodes, Threshold);
324 nodes[RecentPositive.pop_back_val()].update(nodes, Threshold);
343 if (nodes[n].update(nodes, Threshold)) {
357 if (nodes[n].update(nodes, Threshold)) {