Home
last modified time | relevance | path

Searched refs:signedMax (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Support/
DAPInt.cpp1475 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local
1481 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp1203 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local
1209 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()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp1546 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local
1552 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()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1449 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu() local
1455 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()