Lines Matching refs:getBitWidth
127 if (BitWidth == RHS.getBitWidth()) { in AssignSlowCase()
439 return APInt(val, getBitWidth()); in AndSlowCase()
447 return APInt(val, getBitWidth()); in OrSlowCase()
457 return APInt(val, getBitWidth()).clearUnusedBits(); in XorSlowCase()
1399 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magic()
1403 t = signedMin + (d.lshr(d.getBitWidth() - 1)); in magic()
1405 p = d.getBitWidth() - 1; // initialize p in magic()
1429 mag.s = p - d.getBitWidth(); // resulting shift in magic()
1445 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); in magicu()
1446 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magicu()
1447 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu()
1450 p = d.getBitWidth() - 1; // initialize p in magicu()
1476 } while (p < d.getBitWidth()*2 && in magicu()
1479 magu.s = p - d.getBitWidth(); // resulting shift in magicu()
1969 Quotient = APInt(LHS.getBitWidth(), lhsValue / rhsValue); in udivrem()
1970 Remainder = APInt(LHS.getBitWidth(), lhsValue % rhsValue); in udivrem()
2049 Overflow = ShAmt >= getBitWidth(); in sshl_ov()
2051 ShAmt = getBitWidth()-1; in sshl_ov()
2094 APInt apdigit(getBitWidth(), 0); in fromString()
2095 APInt apradix(getBitWidth(), radix); in fromString()
2229 APInt tmp2(Tmp.getBitWidth(), 0); in toString()