Home
last modified time | relevance | path

Searched refs:CurrentChecks (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp564 SmallVector<GuardWideningImpl::RangeCheck, 3> CurrentChecks; in combineRangeChecks() local
571 std::back_inserter(CurrentChecks), IsCurrentCheck); in combineRangeChecks()
574 assert(CurrentChecks.size() != 0 && "We know we have at least one!"); in combineRangeChecks()
576 if (CurrentChecks.size() < 3) { in combineRangeChecks()
577 RangeChecksOut.insert(RangeChecksOut.end(), CurrentChecks.begin(), in combineRangeChecks()
578 CurrentChecks.end()); in combineRangeChecks()
585 std::sort(CurrentChecks.begin(), CurrentChecks.end(), in combineRangeChecks()
593 ConstantInt *MinOffset = CurrentChecks.front().getOffset(), in combineRangeChecks()
594 *MaxOffset = CurrentChecks.back().getOffset(); in combineRangeChecks()
608 !std::all_of(std::next(CurrentChecks.begin()), CurrentChecks.end(), in combineRangeChecks()
[all …]