Searched refs:signedMax (Results 1 – 2 of 2) sorted by relevance
1434 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local1440 q2 = signedMax.udiv(d); // initialize q2 = (2p-1)/d in magicu()1441 r2 = signedMax - q2*d; // initialize r2 = rem((2p-1),d) in magicu()1453 if (q2.uge(signedMax)) magu.a = 1; in magicu()
1278 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local1284 q2 = signedMax.udiv(d); // initialize q2 = (2p-1)/d in magicu()1285 r2 = signedMax - q2*d; // initialize r2 = rem((2p-1),d) in magicu()1297 if (q2.uge(signedMax)) magu.a = 1; in magicu()