Lines Matching refs:BitWidth
82 unsigned BitWidth = Ty.getScalarSizeInBits(); in signBitIsZero() local
83 return maskedValueIsZero(R, APInt::getSignMask(BitWidth)); in signBitIsZero()
125 static KnownBits extractBits(unsigned BitWidth, const KnownBits &SrcOpKnown, in extractBits() argument
128 KnownBits Mask(BitWidth); in extractBits()
130 BitWidth, WidthKnown.getMaxValue().getLimitedValue(BitWidth)); in extractBits()
132 BitWidth, WidthKnown.getMinValue().getLimitedValue(BitWidth)); in extractBits()
152 unsigned BitWidth = DstTy.getScalarSizeInBits(); in computeKnownBitsImpl() local
158 assert(Known.getBitWidth() == BitWidth && "Cache entry size doesn't match"); in computeKnownBitsImpl()
161 Known = KnownBits(BitWidth); // Don't know anything in computeKnownBitsImpl()
206 Known.One = APInt::getAllOnes(BitWidth); in computeKnownBitsImpl()
207 Known.Zero = APInt::getAllOnes(BitWidth); in computeKnownBitsImpl()
221 ComputeKnownBitsCache[R] = KnownBits(BitWidth); in computeKnownBitsImpl()
246 Known = KnownBits(BitWidth); in computeKnownBitsImpl()
378 BitWidth > 1) in computeKnownBitsImpl()
387 Known = Known.sext(BitWidth); in computeKnownBitsImpl()
400 Known = Known.anyext(BitWidth); in computeKnownBitsImpl()
469 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsImpl()
470 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()
515 Known = SrcOpKnown.extractBits(BitWidth, BitWidth * DstIdx); in computeKnownBitsImpl()
550 Known = extractBits(BitWidth, SrcOpKnown, OffsetKnown, WidthKnown); in computeKnownBitsImpl()
561 Known = extractBits(BitWidth, SrcOpKnown, OffsetKnown, WidthKnown); in computeKnownBitsImpl()
564 KnownBits ExtKnown = KnownBits::makeConstant(APInt(BitWidth, BitWidth)); in computeKnownBitsImpl()
585 BitWidth > 1) in computeKnownBitsImpl()