Lines Matching defs:omsb
1276 unsigned int omsb; // One, not zero, based MSB.
1304 omsb = APInt::tcMSB(fullSignificand, newPartsCount) + 1;
1331 if (omsb != extendedPrecision - 1) {
1332 assert(extendedPrecision > omsb);
1334 (extendedPrecision - 1) - omsb);
1335 exponent -= (extendedPrecision - 1) - omsb;
1372 omsb = APInt::tcMSB(fullSignificand, newPartsCount) + 1;
1385 // Note that the result is not normalized when "omsb < precision". So, the
1388 if (omsb > precision) {
1392 bits = omsb - precision;
1393 significantParts = partCountForBits(omsb);
1646 unsigned int omsb; /* One, not zero, based MSB. */
1653 omsb = significandMSB() + 1;
1655 if (omsb) {
1659 exponentChange = omsb - semantics->precision;
1689 if (omsb > (unsigned) exponentChange)
1690 omsb -= exponentChange;
1692 omsb = 0;
1710 if (omsb == 0) {
1723 if (omsb == 0)
1727 omsb = significandMSB() + 1;
1730 if (omsb == (unsigned) semantics->precision + 1) {
1756 if (omsb == semantics->precision)
1760 assert(omsb < semantics->precision);
1763 if (omsb == 0) {
2564 int omsb = significandMSB() + 1;
2565 int exponentChange = omsb - fromSemantics.precision;
2573 } else if (omsb <= -shift) {
2574 exponentChange = omsb + shift - 1; // leave at least one bit set
2750 unsigned int omsb = APInt::tcMSB(parts.data(), dstPartsCount) + 1;
2755 if (omsb != 0)
2758 /* It takes omsb bits to represent the unsigned integer value.
2761 if (omsb == width &&
2762 APInt::tcLSB(parts.data(), dstPartsCount) + 1 != omsb)
2766 if (omsb > width)
2772 if (omsb >= width + !isSigned)
2827 unsigned int omsb, precision, dstCount;
2832 omsb = APInt::tcMSB(src, srcCount) + 1;
2839 if (precision <= omsb) {
2840 exponent = omsb - 1;
2842 omsb - precision);
2843 APInt::tcExtract(dst, dstCount, src, precision, omsb - precision);
2847 APInt::tcExtract(dst, dstCount, src, omsb, 0);