Lines Matching refs:CurrentChecks
680 SmallVector<GuardWideningImpl::RangeCheck, 3> CurrentChecks; in combineRangeChecks() local
686 copy_if(Checks, std::back_inserter(CurrentChecks), IsCurrentCheck); in combineRangeChecks()
689 assert(CurrentChecks.size() != 0 && "We know we have at least one!"); in combineRangeChecks()
691 if (CurrentChecks.size() < 3) { in combineRangeChecks()
692 RangeChecksOut.insert(RangeChecksOut.end(), CurrentChecks.begin(), in combineRangeChecks()
693 CurrentChecks.end()); in combineRangeChecks()
700 llvm::sort(CurrentChecks, [&](const GuardWideningImpl::RangeCheck &LHS, in combineRangeChecks()
707 ConstantInt *MinOffset = CurrentChecks.front().getOffset(), in combineRangeChecks()
708 *MaxOffset = CurrentChecks.back().getOffset(); in combineRangeChecks()
722 !std::all_of(std::next(CurrentChecks.begin()), CurrentChecks.end(), in combineRangeChecks()
761 RangeChecksOut.emplace_back(CurrentChecks.front()); in combineRangeChecks()
762 RangeChecksOut.emplace_back(CurrentChecks.back()); in combineRangeChecks()