Lines Matching defs:Best
363 std::pair<size_t, int> Best =
368 llvm::dbgs() << "interpolate: chose " << OriginalPaths[Best.first]
373 << " score=" << Best.second << "\n");
374 return OriginalPaths[Best.first];
435 ScoredCandidate Best = {size_t(-1), false, 0, 0};
442 if (!S.Preferred && Best.Preferred)
444 if (S.Preferred == Best.Preferred) {
445 if (S.Points < Best.Points)
447 if (S.Points == Best.Points) {
449 if (S.PrefixLength < Best.PrefixLength)
452 if (S.PrefixLength == Best.PrefixLength)
453 if (S.Index > Best.Index)
460 Best = S;
464 if (Best.Index == size_t(-1))
466 return {Best.Index, Best.Points};