Lines Matching refs:BitWidth

1159   unsigned BitWidth = SE->getTypeSizeInBits(Step->getType());
1162 return SE->getConstant(APInt::getSignedMinValue(BitWidth) -
1167 return SE->getConstant(APInt::getSignedMaxValue(BitWidth) -
1179 unsigned BitWidth = SE->getTypeSizeInBits(Step->getType());
1182 return SE->getConstant(APInt::getMinValue(BitWidth) -
1289 unsigned BitWidth = SE->getTypeSizeInBits(AR->getType());
1290 Type *WideTy = IntegerType::get(SE->getContext(), BitWidth * 2);
1456 unsigned BitWidth = getTypeSizeInBits(AR->getType());
1486 Type *WideTy = IntegerType::get(getContext(), BitWidth * 2);
1527 const SCEV *N = getConstant(APInt::getMinValue(BitWidth) -
1541 const SCEV *N = getConstant(APInt::getMaxValue(BitWidth) -
1647 unsigned BitWidth = getTypeSizeInBits(AR->getType());
1677 Type *WideTy = IntegerType::get(getContext(), BitWidth * 2);
2104 uint64_t BitWidth = getTypeSizeInBits(Ty);
2107 APInt AccumulatedConstant(BitWidth, 0);
2110 APInt(BitWidth, 1), *this)) {
3772 uint32_t BitWidth = getTypeSizeInBits(M->getType());
3774 SumOpRes != BitWidth && i != e; ++i)
3776 BitWidth);
3806 unsigned BitWidth = getTypeSizeInBits(U->getType());
3807 APInt Zeros(BitWidth, 0), Ones(BitWidth, 0);
3863 unsigned BitWidth = getTypeSizeInBits(S->getType());
3864 ConstantRange ConservativeResult(BitWidth, /*isFullSet=*/true);
3872 ConstantRange(APInt::getMinValue(BitWidth),
3873 APInt::getMaxValue(BitWidth).lshr(TZ).shl(TZ) + 1);
3876 APInt::getSignedMinValue(BitWidth),
3877 APInt::getSignedMaxValue(BitWidth).ashr(TZ).shl(TZ) + 1);
3918 ConservativeResult.intersectWith(X.zeroExtend(BitWidth)));
3924 ConservativeResult.intersectWith(X.signExtend(BitWidth)));
3930 ConservativeResult.intersectWith(X.truncate(BitWidth)));
3941 ConstantRange(C->getValue()->getValue(), APInt(BitWidth, 0)));
3954 ConstantRange(APInt(BitWidth, 0),
3955 APInt::getSignedMinValue(BitWidth)));
3958 ConstantRange(APInt::getSignedMinValue(BitWidth),
3959 APInt(BitWidth, 1)));
3967 getTypeSizeInBits(MaxBECount->getType()) <= BitWidth) {
3976 MaxBECountRange.zextOrTrunc(BitWidth * 2 + 1);
3981 ConstantRange SExtStepSRange = StepSRange.sextOrTrunc(BitWidth * 2 + 1);
3989 StartURange.zextOrTrunc(BitWidth * 2 + 1);
3990 ConstantRange ZExtEndURange = EndURange.zextOrTrunc(BitWidth * 2 + 1);
4011 StartSRange.sextOrTrunc(BitWidth * 2 + 1);
4012 ConstantRange SExtEndSRange = EndSRange.sextOrTrunc(BitWidth * 2 + 1);
4042 APInt Zeros(BitWidth, 0), Ones(BitWidth, 0);
4053 ConstantRange(APInt::getSignedMinValue(BitWidth).ashr(NS - 1),
4054 APInt::getSignedMaxValue(BitWidth).ashr(NS - 1) + 1));
4157 unsigned BitWidth = A.getBitWidth();
4158 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
4163 APInt::getLowBitsSet(BitWidth, BitWidth - LZ - TZ).shl(TZ);
4166 ConstantInt::get(getContext(), APInt::getOneBitSet(BitWidth, TZ)));
4171 IntegerType::get(getContext(), BitWidth - LZ - TZ)),
4251 uint32_t BitWidth = cast<IntegerType>(U->getType())->getBitWidth();
4257 if (SA->getValue().uge(BitWidth))
4261 APInt::getOneBitSet(BitWidth, SA->getZExtValue()));
4269 uint32_t BitWidth = cast<IntegerType>(U->getType())->getBitWidth();
4275 if (SA->getValue().uge(BitWidth))
4279 APInt::getOneBitSet(BitWidth, SA->getZExtValue()));
4290 uint64_t BitWidth = getTypeSizeInBits(U->getType());
4296 if (CI->getValue().uge(BitWidth))
4299 uint64_t Amt = BitWidth - CI->getZExtValue();
4300 if (Amt == BitWidth)
5995 uint32_t BitWidth = LC->getValue()->getValue().getBitWidth();
5999 APInt Two(BitWidth, 2);
6000 APInt Four(BitWidth, 4);
7190 unsigned BitWidth = getTypeSizeInBits(RHS->getType());
7195 APInt MaxValue = APInt::getSignedMaxValue(BitWidth);
7204 APInt MaxValue = APInt::getMaxValue(BitWidth);
7219 unsigned BitWidth = getTypeSizeInBits(RHS->getType());
7224 APInt MinValue = APInt::getSignedMinValue(BitWidth);
7233 APInt MinValue = APInt::getMinValue(BitWidth);
7314 unsigned BitWidth = getTypeSizeInBits(LHS->getType());
7315 APInt Limit = IsSigned ? APInt::getSignedMaxValue(BitWidth) - (MinStride - 1)
7316 : APInt::getMaxValue(BitWidth) - (MinStride - 1);
7395 unsigned BitWidth = getTypeSizeInBits(LHS->getType());
7396 APInt Limit = IsSigned ? APInt::getSignedMinValue(BitWidth) + (MinStride - 1)
7397 : APInt::getMinValue(BitWidth) + (MinStride - 1);
7457 unsigned BitWidth = SE.getTypeSizeInBits(getType());
7458 if (!Range.contains(APInt(BitWidth, 0)))
7469 APInt One(BitWidth,1);