Home
last modified time | relevance | path

Searched refs:signedMin (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1386 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magic() local
1390 t = signedMin + (d.lshr(d.getBitWidth() - 1)); in magic()
1393 q1 = signedMin.udiv(anc); // initialize q1 = 2p/abs(nc) in magic()
1394 r1 = signedMin - q1*anc; // initialize r1 = rem(2p,abs(nc)) in magic()
1395 q2 = signedMin.udiv(ad); // initialize q2 = 2p/abs(d) in magic()
1396 r2 = signedMin - q2*ad; // initialize r2 = rem(2p,abs(d)) in magic()
1433 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magicu() local
1438 q1 = signedMin.udiv(nc); // initialize q1 = 2p/nc in magicu()
1439 r1 = signedMin - q1*nc; // initialize r1 = rem(2p,nc) in magicu()
1458 if (q2.uge(signedMin)) magu.a = 1; in magicu()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp1230 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magic() local
1234 t = signedMin + (d.lshr(d.getBitWidth() - 1)); in magic()
1237 q1 = signedMin.udiv(anc); // initialize q1 = 2p/abs(nc) in magic()
1238 r1 = signedMin - q1*anc; // initialize r1 = rem(2p,abs(nc)) in magic()
1239 q2 = signedMin.udiv(ad); // initialize q2 = 2p/abs(d) in magic()
1240 r2 = signedMin - q2*ad; // initialize r2 = rem(2p,abs(d)) in magic()
1277 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magicu() local
1282 q1 = signedMin.udiv(nc); // initialize q1 = 2p/nc in magicu()
1283 r1 = signedMin - q1*nc; // initialize r1 = rem(2p,nc) in magicu()
1302 if (q2.uge(signedMin)) magu.a = 1; in magicu()