Lines Matching refs:BitWidth
85 unsigned BitWidth = Ty.getScalarSizeInBits(); in signBitIsZero() local
86 return maskedValueIsZero(R, APInt::getSignMask(BitWidth)); in signBitIsZero()
128 static KnownBits extractBits(unsigned BitWidth, const KnownBits &SrcOpKnown, in extractBits() argument
131 KnownBits Mask(BitWidth); in extractBits()
133 BitWidth, WidthKnown.getMaxValue().getLimitedValue(BitWidth)); in extractBits()
135 BitWidth, WidthKnown.getMinValue().getLimitedValue(BitWidth)); in extractBits()
155 unsigned BitWidth = DstTy.getScalarSizeInBits(); in computeKnownBitsImpl() local
161 assert(Known.getBitWidth() == BitWidth && "Cache entry size doesn't match"); in computeKnownBitsImpl()
164 Known = KnownBits(BitWidth); // Don't know anything in computeKnownBitsImpl()
209 Known.One = APInt::getAllOnes(BitWidth); in computeKnownBitsImpl()
210 Known.Zero = APInt::getAllOnes(BitWidth); in computeKnownBitsImpl()
224 ComputeKnownBitsCache[R] = KnownBits(BitWidth); in computeKnownBitsImpl()
249 Known = KnownBits(BitWidth); in computeKnownBitsImpl()
381 BitWidth > 1) in computeKnownBitsImpl()
390 Known = Known.sext(BitWidth); in computeKnownBitsImpl()
403 Known = Known.anyext(BitWidth); in computeKnownBitsImpl()
472 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsImpl()
473 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()
516 Known = SrcOpKnown.extractBits(BitWidth, BitWidth * DstIdx); in computeKnownBitsImpl()
551 Known = extractBits(BitWidth, SrcOpKnown, OffsetKnown, WidthKnown); in computeKnownBitsImpl()
562 Known = extractBits(BitWidth, SrcOpKnown, OffsetKnown, WidthKnown); in computeKnownBitsImpl()
565 KnownBits ExtKnown = KnownBits::makeConstant(APInt(BitWidth, BitWidth)); in computeKnownBitsImpl()
586 BitWidth > 1) in computeKnownBitsImpl()