Lines Matching refs:What

473 RangeSet RangeSet::Factory::intersect(RangeSet What, llvm::APSInt Lower,  in intersect()  argument
475 if (What.isEmpty() || !What.pin(Lower, Upper)) in intersect()
491 if (What.getMaxValue() < Lower || Upper < What.getMinValue()) in intersect()
504 if (What.getMaxValue() < Lower && Upper < What.getMinValue()) in intersect()
513 return intersect(*What.Impl, DummyContainer); in intersect()
610 RangeSet RangeSet::Factory::negate(RangeSet What) { in negate() argument
611 if (What.isEmpty()) in negate()
614 const llvm::APSInt SampleValue = What.getMinValue(); in negate()
619 Result.reserve(What.size() + (SampleValue == MIN)); in negate()
622 const_iterator It = What.begin(); in negate()
623 const_iterator End = What.end(); in negate()
631 return What; in negate()
675 RangeSet RangeSet::Factory::castTo(RangeSet What, APSIntType Ty) { in castTo() argument
677 if (What.isEmpty() || What.getAPSIntType() == Ty) in castTo()
678 return What; in castTo()
680 const bool IsConversion = What.isUnsigned() != Ty.isUnsigned(); in castTo()
681 const bool IsTruncation = What.getBitWidth() > Ty.getBitWidth(); in castTo()
682 const bool IsPromotion = What.getBitWidth() < Ty.getBitWidth(); in castTo()
685 return makePersistent(truncateTo(What, Ty)); in castTo()
699 if (IsConversion && (!IsPromotion || !What.isUnsigned())) in castTo()
700 return makePersistent(convertTo(What, Ty)); in castTo()
703 return makePersistent(promoteTo(What, Ty)); in castTo()
706 RangeSet RangeSet::Factory::castTo(RangeSet What, QualType T) { in castTo() argument
708 return castTo(What, ValueFactory.getAPSIntType(T)); in castTo()
711 RangeSet::ContainerType RangeSet::Factory::truncateTo(RangeSet What, in truncateTo() argument
725 for (const Range &R : What) { in truncateTo()
777 RangeSet::ContainerType RangeSet::Factory::convertTo(RangeSet What, in convertTo() argument
795 const auto *It = What.begin(); in convertTo()
796 const auto *E = What.end(); in convertTo()
826 RangeSet::ContainerType RangeSet::Factory::promoteTo(RangeSet What, in promoteTo() argument
830 Result.reserve(What.size()); in promoteTo()
835 for (const Range &R : What) { in promoteTo()