Lines Matching refs:RangeCheck
194 class RangeCheck { class in __anona979f6520111::GuardWideningImpl
201 explicit RangeCheck(const Value *Base, const ConstantInt *Offset, in RangeCheck() function in __anona979f6520111::GuardWideningImpl::RangeCheck
232 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks) { in parseRangeChecks()
237 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks,
244 bool combineRangeChecks(SmallVectorImpl<RangeCheck> &Checks,
245 SmallVectorImpl<RangeCheck> &CombinedChecks) const;
544 SmallVector<GuardWideningImpl::RangeCheck, 4> Checks, CombinedChecks; in widenCondCommon()
581 Value *CheckCond, SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in parseRangeChecks()
607 GuardWideningImpl::RangeCheck Check( in parseRangeChecks()
653 SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in combineRangeChecks()
654 SmallVectorImpl<GuardWideningImpl::RangeCheck> &RangeChecksOut) const { in combineRangeChecks()
662 SmallVector<GuardWideningImpl::RangeCheck, 3> CurrentChecks; in combineRangeChecks()
664 auto IsCurrentCheck = [&](GuardWideningImpl::RangeCheck &RC) { in combineRangeChecks()
682 llvm::sort(CurrentChecks, [&](const GuardWideningImpl::RangeCheck &LHS, in combineRangeChecks()
683 const GuardWideningImpl::RangeCheck &RHS) { in combineRangeChecks()
699 auto OffsetOK = [&](const GuardWideningImpl::RangeCheck &RC) { in combineRangeChecks()