Lines Matching refs:ConstantRange

510     ConstantRange Range(Lower->getValue(), Upper->getValue());  in computeKnownBitsFromRangeMetadata()
628 ConstantRange TrueValues = ConstantRange::makeExactICmpRegion(Pred, *C); in cmpExcludesZero()
2391 ConstantRange Range(Lower->getValue(), Upper->getValue()); in rangeMetadataExcludesValue()
4816 static OverflowResult mapOverflowResult(ConstantRange::OverflowResult OR) { in mapOverflowResult()
4818 case ConstantRange::OverflowResult::MayOverflow: in mapOverflowResult()
4820 case ConstantRange::OverflowResult::AlwaysOverflowsLow: in mapOverflowResult()
4822 case ConstantRange::OverflowResult::AlwaysOverflowsHigh: in mapOverflowResult()
4824 case ConstantRange::OverflowResult::NeverOverflows: in mapOverflowResult()
4831 static ConstantRange computeConstantRangeIncludingKnownBits( in computeConstantRangeIncludingKnownBits()
4837 ConstantRange CR1 = ConstantRange::fromKnownBits(Known, ForSigned); in computeConstantRangeIncludingKnownBits()
4838 ConstantRange CR2 = computeConstantRange(V, UseInstrInfo); in computeConstantRangeIncludingKnownBits()
4839 ConstantRange::PreferredRangeType RangeType = in computeConstantRangeIncludingKnownBits()
4840 ForSigned ? ConstantRange::Signed : ConstantRange::Unsigned; in computeConstantRangeIncludingKnownBits()
4852 ConstantRange LHSRange = ConstantRange::fromKnownBits(LHSKnown, false); in computeOverflowForUnsignedMul()
4853 ConstantRange RHSRange = ConstantRange::fromKnownBits(RHSKnown, false); in computeOverflowForUnsignedMul()
4904 ConstantRange LHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForUnsignedAdd()
4907 ConstantRange RHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForUnsignedAdd()
4942 ConstantRange LHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForSignedAdd()
4944 ConstantRange RHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForSignedAdd()
5008 ConstantRange LHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForUnsignedSub()
5010 ConstantRange RHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForUnsignedSub()
5040 ConstantRange LHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForSignedSub()
5042 ConstantRange RHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForSignedSub()
6672 ConstantRange DomCR = ConstantRange::makeExactICmpRegion(APred, C1); in isImpliedCondMatchingImmOperands()
6673 ConstantRange CR = ConstantRange::makeExactICmpRegion(BPred, C2); in isImpliedCondMatchingImmOperands()
6674 ConstantRange Intersection = DomCR.intersectWith(CR); in isImpliedCondMatchingImmOperands()
6675 ConstantRange Difference = DomCR.difference(CR); in isImpliedCondMatchingImmOperands()
7220 ConstantRange llvm::computeConstantRange(const Value *V, bool ForSigned, in computeConstantRange()
7228 return ConstantRange::getFull(V->getType()->getScalarSizeInBits()); in computeConstantRange()
7232 return ConstantRange(*C); in computeConstantRange()
7247 ConstantRange CR = ConstantRange::getNonEmpty(Lower, Upper); in computeConstantRange()
7272 ConstantRange RHS = in computeConstantRange()
7276 ConstantRange::makeAllowedICmpRegion(Cmp->getPredicate(), RHS)); in computeConstantRange()