Lines Matching defs:DestWidth
418 unsigned DestWidth = DestType->getPrimitiveSizeInBits();
421 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0))
426 unsigned NumVecElts = VecWidth / DestWidth;
432 unsigned Elt = ShiftAmount / DestWidth;
614 unsigned DestWidth = DestTy->getScalarSizeInBits();
664 unsigned MaxShiftAmt = SrcWidth - DestWidth;
749 unsigned DestWidth = DestTy->getScalarSizeInBits();
771 // DestWidth * 2, which won't allow removing the truncate, but reducing the
775 if (DestWidth * 2 < SrcWidth) {
794 if (DestWidth == 1) {
844 unsigned MaxShiftAmt = SrcWidth - std::max(DestWidth, AWidth);
863 Constant *ShAmt = GetNewShAmt(DestWidth);
896 APInt Threshold = APInt(C->getType()->getScalarSizeInBits(), DestWidth);
915 if (AWidth == DestWidth && AWidth > Log2_32(SrcWidth)) {
929 if (Log2_32(*MaxVScale) < DestWidth) {
937 if (DestWidth == 1 &&
944 ComputeMaxSignificantBits(Src, /*Depth=*/0, &Trunc) <= DestWidth) {
949 MaskedValueIsZero(Src, APInt::getBitsSetFrom(SrcWidth, DestWidth),