Lines Matching refs:RangeCheck
137 class RangeCheck { class in __anon212bcca40111::GuardWideningImpl
144 explicit RangeCheck(Value *Base, ConstantInt *Offset, Value *Length, in RangeCheck() function in __anon212bcca40111::GuardWideningImpl::RangeCheck
175 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks) { in parseRangeChecks()
180 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks,
187 bool combineRangeChecks(SmallVectorImpl<RangeCheck> &Checks,
188 SmallVectorImpl<RangeCheck> &CombinedChecks);
447 SmallVector<GuardWideningImpl::RangeCheck, 4> Checks, CombinedChecks; in widenCondCommon()
481 Value *CheckCond, SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in parseRangeChecks()
507 GuardWideningImpl::RangeCheck Check( in parseRangeChecks()
555 SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in combineRangeChecks()
556 SmallVectorImpl<GuardWideningImpl::RangeCheck> &RangeChecksOut) { in combineRangeChecks()
564 SmallVector<GuardWideningImpl::RangeCheck, 3> CurrentChecks; in combineRangeChecks()
566 auto IsCurrentCheck = [&](GuardWideningImpl::RangeCheck &RC) { in combineRangeChecks()
586 [&](const GuardWideningImpl::RangeCheck &LHS, in combineRangeChecks()
587 const GuardWideningImpl::RangeCheck &RHS) { in combineRangeChecks()
603 auto OffsetOK = [&](const GuardWideningImpl::RangeCheck &RC) { in combineRangeChecks()