Lines Matching refs:dstPartsCount
2107 unsigned int dstPartsCount, truncatedBits; in convertToSignExtendedInteger() local
2115 dstPartsCount = partCountForBits(width); in convertToSignExtendedInteger()
2118 APInt::tcSet(parts, 0, dstPartsCount); in convertToSignExtendedInteger()
2130 APInt::tcSet(parts, 0, dstPartsCount); in convertToSignExtendedInteger()
2146 APInt::tcExtract(parts, dstPartsCount, src, bits, truncatedBits); in convertToSignExtendedInteger()
2149 APInt::tcExtract(parts, dstPartsCount, src, semantics->precision, 0); in convertToSignExtendedInteger()
2150 APInt::tcShiftLeft(parts, dstPartsCount, bits - semantics->precision); in convertToSignExtendedInteger()
2162 if (APInt::tcIncrement(parts, dstPartsCount)) in convertToSignExtendedInteger()
2170 unsigned int omsb = APInt::tcMSB(parts, dstPartsCount) + 1; in convertToSignExtendedInteger()
2181 if (omsb == width && APInt::tcLSB(parts, dstPartsCount) + 1 != omsb) in convertToSignExtendedInteger()
2189 APInt::tcNegate (parts, dstPartsCount); in convertToSignExtendedInteger()
2222 unsigned int bits, dstPartsCount; in convertToInteger() local
2224 dstPartsCount = partCountForBits(width); in convertToInteger()
2233 APInt::tcSetLeastSignificantBits(parts, dstPartsCount, bits); in convertToInteger()
2235 APInt::tcShiftLeft(parts, dstPartsCount, width - 1); in convertToInteger()