Lines Matching refs:dstPartsCount
2039 unsigned int dstPartsCount, truncatedBits; in convertToSignExtendedInteger() local
2047 dstPartsCount = partCountForBits(width); in convertToSignExtendedInteger()
2048 assert(dstPartsCount <= parts.size() && "Integer too big"); in convertToSignExtendedInteger()
2051 APInt::tcSet(parts.data(), 0, dstPartsCount); in convertToSignExtendedInteger()
2063 APInt::tcSet(parts.data(), 0, dstPartsCount); in convertToSignExtendedInteger()
2079 APInt::tcExtract(parts.data(), dstPartsCount, src, bits, truncatedBits); in convertToSignExtendedInteger()
2082 APInt::tcExtract(parts.data(), dstPartsCount, src, semantics->precision, in convertToSignExtendedInteger()
2084 APInt::tcShiftLeft(parts.data(), dstPartsCount, in convertToSignExtendedInteger()
2097 if (APInt::tcIncrement(parts.data(), dstPartsCount)) in convertToSignExtendedInteger()
2105 unsigned int omsb = APInt::tcMSB(parts.data(), dstPartsCount) + 1; in convertToSignExtendedInteger()
2117 APInt::tcLSB(parts.data(), dstPartsCount) + 1 != omsb) in convertToSignExtendedInteger()
2125 APInt::tcNegate (parts.data(), dstPartsCount); in convertToSignExtendedInteger()
2157 unsigned int bits, dstPartsCount; in convertToInteger() local
2159 dstPartsCount = partCountForBits(width); in convertToInteger()
2160 assert(dstPartsCount <= parts.size() && "Integer too big"); in convertToInteger()
2169 APInt::tcSetLeastSignificantBits(parts.data(), dstPartsCount, bits); in convertToInteger()
2171 APInt::tcShiftLeft(parts.data(), dstPartsCount, width - 1); in convertToInteger()