Home
last modified time | relevance | path

Searched refs:lhsWords (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp1407 void APInt::divide(const WordType *LHS, unsigned lhsWords, const WordType *RHS, in divide() argument
1409 assert(lhsWords >= rhsWords && "Fractional result"); in divide()
1419 unsigned m = (lhsWords * 2) - n; in divide()
1444 for (unsigned i = 0; i < lhsWords; ++i) { in divide()
1511 for (unsigned i = 0; i < lhsWords; ++i) in divide()
1540 unsigned lhsWords = getNumWords(getActiveBits()); in udiv() local
1546 if (!lhsWords) in udiv()
1552 if (lhsWords < rhsWords || this->ult(RHS)) in udiv()
1558 if (lhsWords == 1) // rhsWords is 1 if lhsWords is 1. in udiv()
1564 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal, nullptr); in udiv()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp364 unsigned lhsWords = !lhsBits ? 0 : whichWord(lhsBits - 1) + 1; in operator *=() local
365 if (!lhsWords) in operator *=()
379 unsigned destWords = rhsWords + lhsWords; in operator *=()
383 mul(dest, pVal, lhsWords, RHS.pVal, rhsWords); in operator *=()
1765 void APInt::divide(const APInt LHS, unsigned lhsWords, in divide() argument
1769 assert(lhsWords >= rhsWords && "Fractional result"); in divide()
1780 unsigned m = (lhsWords * 2) - n; in divide()
1805 for (unsigned i = 0; i < lhsWords; ++i) { in divide()
1886 if (lhsWords == 1) { in divide()
1895 for (unsigned i = 0; i < lhsWords; ++i) in divide()
[all …]
/external/llvm/lib/Support/
DAPInt.cpp367 unsigned lhsWords = !lhsBits ? 0 : whichWord(lhsBits - 1) + 1; in operator *=() local
368 if (!lhsWords) in operator *=()
382 unsigned destWords = rhsWords + lhsWords; in operator *=()
386 mul(dest, pVal, lhsWords, RHS.pVal, rhsWords); in operator *=()
1667 void APInt::divide(const APInt &LHS, unsigned lhsWords, const APInt &RHS, in divide() argument
1669 assert(lhsWords >= rhsWords && "Fractional result"); in divide()
1680 unsigned m = (lhsWords * 2) - n; in divide()
1705 for (unsigned i = 0; i < lhsWords; ++i) { in divide()
1788 if (lhsWords == 1) { in divide()
1797 for (unsigned i = 0; i < lhsWords; ++i) in divide()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp383 unsigned lhsWords = !lhsBits ? 0 : whichWord(lhsBits - 1) + 1; in operator *=() local
384 if (!lhsWords) in operator *=()
398 unsigned destWords = rhsWords + lhsWords; in operator *=()
402 mul(dest, pVal, lhsWords, RHS.pVal, rhsWords); in operator *=()
1641 void APInt::divide(const APInt &LHS, unsigned lhsWords, const APInt &RHS, in divide() argument
1643 assert(lhsWords >= rhsWords && "Fractional result"); in divide()
1654 unsigned m = (lhsWords * 2) - n; in divide()
1679 for (unsigned i = 0; i < lhsWords; ++i) { in divide()
1762 if (lhsWords == 1) { in divide()
1771 for (unsigned i = 0; i < lhsWords; ++i) in divide()
[all …]
/external/llvm/include/llvm/ADT/
DAPInt.h180 static void divide(const APInt &LHS, unsigned lhsWords, const APInt &RHS,
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h173 static void divide(const APInt LHS, unsigned lhsWords,
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h184 static void divide(const APInt &LHS, unsigned lhsWords, const APInt &RHS,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h191 static void divide(const WordType *LHS, unsigned lhsWords,