Lines Matching refs:ConstantRange
911 ConstantRange CR = getUnsignedRange(X); in getZeroExtendExpr()
1177 ConstantRange CR = getSignedRange(X); in getSignExtendExpr()
3257 ConstantRange
3260 DenseMap<const SCEV *, ConstantRange>::iterator I = UnsignedRanges.find(S); in getUnsignedRange()
3265 return setUnsignedRange(C, ConstantRange(C->getValue()->getValue())); in getUnsignedRange()
3268 ConstantRange ConservativeResult(BitWidth, /*isFullSet=*/true); in getUnsignedRange()
3275 ConstantRange(APInt::getMinValue(BitWidth), in getUnsignedRange()
3279 ConstantRange X = getUnsignedRange(Add->getOperand(0)); in getUnsignedRange()
3286 ConstantRange X = getUnsignedRange(Mul->getOperand(0)); in getUnsignedRange()
3293 ConstantRange X = getUnsignedRange(SMax->getOperand(0)); in getUnsignedRange()
3300 ConstantRange X = getUnsignedRange(UMax->getOperand(0)); in getUnsignedRange()
3307 ConstantRange X = getUnsignedRange(UDiv->getLHS()); in getUnsignedRange()
3308 ConstantRange Y = getUnsignedRange(UDiv->getRHS()); in getUnsignedRange()
3313 ConstantRange X = getUnsignedRange(ZExt->getOperand()); in getUnsignedRange()
3319 ConstantRange X = getUnsignedRange(SExt->getOperand()); in getUnsignedRange()
3325 ConstantRange X = getUnsignedRange(Trunc->getOperand()); in getUnsignedRange()
3338 ConstantRange(C->getValue()->getValue(), APInt(BitWidth, 0))); in getUnsignedRange()
3351 ConstantRange StartRange = getUnsignedRange(Start); in getUnsignedRange()
3352 ConstantRange StepRange = getSignedRange(Step); in getUnsignedRange()
3353 ConstantRange MaxBECountRange = getUnsignedRange(MaxBECount); in getUnsignedRange()
3354 ConstantRange EndRange = in getUnsignedRange()
3360 ConstantRange ExtStartRange = StartRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3361 ConstantRange ExtStepRange = StepRange.sextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3362 ConstantRange ExtMaxBECountRange = in getUnsignedRange()
3364 ConstantRange ExtEndRange = EndRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3376 ConservativeResult.intersectWith(ConstantRange(Min, Max+1))); in getUnsignedRange()
3391 ConservativeResult.intersectWith(ConstantRange(Ones, ~Zeros + 1))); in getUnsignedRange()
3399 ConstantRange
3402 DenseMap<const SCEV *, ConstantRange>::iterator I = SignedRanges.find(S); in getSignedRange()
3407 return setSignedRange(C, ConstantRange(C->getValue()->getValue())); in getSignedRange()
3410 ConstantRange ConservativeResult(BitWidth, /*isFullSet=*/true); in getSignedRange()
3417 ConstantRange(APInt::getSignedMinValue(BitWidth), in getSignedRange()
3421 ConstantRange X = getSignedRange(Add->getOperand(0)); in getSignedRange()
3428 ConstantRange X = getSignedRange(Mul->getOperand(0)); in getSignedRange()
3435 ConstantRange X = getSignedRange(SMax->getOperand(0)); in getSignedRange()
3442 ConstantRange X = getSignedRange(UMax->getOperand(0)); in getSignedRange()
3449 ConstantRange X = getSignedRange(UDiv->getLHS()); in getSignedRange()
3450 ConstantRange Y = getSignedRange(UDiv->getRHS()); in getSignedRange()
3455 ConstantRange X = getSignedRange(ZExt->getOperand()); in getSignedRange()
3461 ConstantRange X = getSignedRange(SExt->getOperand()); in getSignedRange()
3467 ConstantRange X = getSignedRange(Trunc->getOperand()); in getSignedRange()
3484 ConstantRange(APInt(BitWidth, 0), in getSignedRange()
3488 ConstantRange(APInt::getSignedMinValue(BitWidth), in getSignedRange()
3503 ConstantRange StartRange = getSignedRange(Start); in getSignedRange()
3504 ConstantRange StepRange = getSignedRange(Step); in getSignedRange()
3505 ConstantRange MaxBECountRange = getUnsignedRange(MaxBECount); in getSignedRange()
3506 ConstantRange EndRange = in getSignedRange()
3512 ConstantRange ExtStartRange = StartRange.sextOrTrunc(BitWidth*2+1); in getSignedRange()
3513 ConstantRange ExtStepRange = StepRange.sextOrTrunc(BitWidth*2+1); in getSignedRange()
3514 ConstantRange ExtMaxBECountRange = in getSignedRange()
3516 ConstantRange ExtEndRange = EndRange.sextOrTrunc(BitWidth*2+1); in getSignedRange()
3528 ConservativeResult.intersectWith(ConstantRange(Min, Max+1))); in getSignedRange()
3543 ConstantRange(APInt::getSignedMinValue(BitWidth).ashr(NS - 1), in getSignedRange()
4476 ConstantRange CompRange( in ComputeExitLimitFromICmp()
5330 ConstantRange CR = getUnsignedRange(Start); in HowFarToZero()
5752 ConstantRange LHSRange = getSignedRange(LHS); in isKnownPredicateWithRanges()
5753 ConstantRange RHSRange = getSignedRange(RHS); in isKnownPredicateWithRanges()
5764 ConstantRange LHSRange = getSignedRange(LHS); in isKnownPredicateWithRanges()
5765 ConstantRange RHSRange = getSignedRange(RHS); in isKnownPredicateWithRanges()
5776 ConstantRange LHSRange = getUnsignedRange(LHS); in isKnownPredicateWithRanges()
5777 ConstantRange RHSRange = getUnsignedRange(RHS); in isKnownPredicateWithRanges()
5788 ConstantRange LHSRange = getUnsignedRange(LHS); in isKnownPredicateWithRanges()
5789 ConstantRange RHSRange = getUnsignedRange(RHS); in isKnownPredicateWithRanges()
6199 const SCEV *SCEVAddRecExpr::getNumIterationsInRange(ConstantRange Range, in getNumIterationsInRange()