Searched refs:CurrentChecks (Results 1 – 1 of 1) sorted by relevance
876 SmallVector<GuardWideningImpl::RangeCheck, 3> CurrentChecks; in combineRangeChecks() local882 copy_if(Checks, std::back_inserter(CurrentChecks), IsCurrentCheck); in combineRangeChecks()885 assert(CurrentChecks.size() != 0 && "We know we have at least one!"); in combineRangeChecks()887 if (CurrentChecks.size() < 3) { in combineRangeChecks()888 llvm::append_range(RangeChecksOut, CurrentChecks); in combineRangeChecks()895 llvm::sort(CurrentChecks, [&](const GuardWideningImpl::RangeCheck &LHS, in combineRangeChecks()902 const ConstantInt *MinOffset = CurrentChecks.front().getOffset(); in combineRangeChecks()903 const ConstantInt *MaxOffset = CurrentChecks.back().getOffset(); in combineRangeChecks()916 if (MaxDiff.isMinValue() || !all_of(drop_begin(CurrentChecks), OffsetOK)) in combineRangeChecks()954 RangeChecksOut.emplace_back(CurrentChecks.front()); in combineRangeChecks()[all …]