Lines Matching defs:omsb

1243   unsigned int omsb;        // One, not zero, based MSB.
1271 omsb = APInt::tcMSB(fullSignificand, newPartsCount) + 1;
1298 if (omsb != extendedPrecision - 1) {
1299 assert(extendedPrecision > omsb);
1301 (extendedPrecision - 1) - omsb);
1302 exponent -= (extendedPrecision - 1) - omsb;
1338 omsb = APInt::tcMSB(fullSignificand, newPartsCount) + 1;
1351 // Note that the result is not normalized when "omsb < precision". So, the
1354 if (omsb > precision) {
1358 bits = omsb - precision;
1359 significantParts = partCountForBits(omsb);
1607 unsigned int omsb; /* One, not zero, based MSB. */
1614 omsb = significandMSB() + 1;
1616 if (omsb) {
1620 exponentChange = omsb - semantics->precision;
1650 if (omsb > (unsigned) exponentChange)
1651 omsb -= exponentChange;
1653 omsb = 0;
1671 if (omsb == 0) {
1682 if (omsb == 0)
1686 omsb = significandMSB() + 1;
1689 if (omsb == (unsigned) semantics->precision + 1) {
1715 if (omsb == semantics->precision)
1719 assert(omsb < semantics->precision);
1722 if (omsb == 0) {
2503 int omsb = significandMSB() + 1;
2504 int exponentChange = omsb - fromSemantics.precision;
2512 } else if (omsb <= -shift) {
2513 exponentChange = omsb + shift - 1; // leave at least one bit set
2687 unsigned int omsb = APInt::tcMSB(parts.data(), dstPartsCount) + 1;
2692 if (omsb != 0)
2695 /* It takes omsb bits to represent the unsigned integer value.
2698 if (omsb == width &&
2699 APInt::tcLSB(parts.data(), dstPartsCount) + 1 != omsb)
2703 if (omsb > width)
2709 if (omsb >= width + !isSigned)
2764 unsigned int omsb, precision, dstCount;
2769 omsb = APInt::tcMSB(src, srcCount) + 1;
2776 if (precision <= omsb) {
2777 exponent = omsb - 1;
2779 omsb - precision);
2780 APInt::tcExtract(dst, dstCount, src, precision, omsb - precision);
2784 APInt::tcExtract(dst, dstCount, src, omsb, 0);