Searched refs:signedMax (Results 1 – 4 of 4) sorted by relevance
1475 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local1481 q2 = signedMax.udiv(d); // initialize q2 = (2p-1)/d in magicu()1482 r2 = signedMax - q2*d; // initialize r2 = rem((2p-1),d) in magicu()1494 if (q2.uge(signedMax)) magu.a = 1; in magicu()
1203 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local1209 q2 = signedMax.udiv(d); // initialize q2 = (2p-1)/d in magicu()1210 r2 = signedMax - q2*d; // initialize r2 = rem((2p-1),d) in magicu()1222 if (q2.uge(signedMax)) magu.a = 1; in magicu()
1546 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local1552 q2 = signedMax.udiv(d); // initialize q2 = (2p-1)/d in magicu()1553 r2 = signedMax - q2*d; // initialize r2 = rem((2p-1),d) in magicu()1565 if (q2.uge(signedMax)) magu.a = 1; in magicu()
1449 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local1455 q2 = signedMax.udiv(d); // initialize q2 = (2p-1)/d in magicu()1456 r2 = signedMax - q2*d; // initialize r2 = rem((2p-1),d) in magicu()1468 if (q2.uge(signedMax)) magu.a = 1; in magicu()