• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/

Lines Matching refs:WordType

422   static_assert(8 * sizeof(WordType) <= 64, "This code assumes only two words affected");
423 unsigned wordBits = 8 * sizeof(WordType);
485 static_assert(8 * sizeof(WordType) <= 64, "This code assumes only two words affected");
486 unsigned wordBits = 8 * sizeof(WordType);
1476 void APInt::divide(const WordType *LHS, unsigned lhsWords, const WordType *RHS,
1477 unsigned rhsWords, WordType *Quotient, WordType *Remainder) {
2315 static inline APInt::WordType lowBitMask(unsigned bits) {
2318 return ~(APInt::WordType) 0 >> (APInt::APINT_BITS_PER_WORD - bits);
2322 static inline APInt::WordType lowHalf(APInt::WordType part) {
2327 static inline APInt::WordType highHalf(APInt::WordType part) {
2333 static unsigned partMSB(APInt::WordType value) {
2339 static unsigned partLSB(APInt::WordType value) {
2345 void APInt::tcSet(WordType *dst, WordType part, unsigned parts) {
2354 void APInt::tcAssign(WordType *dst, const WordType *src, unsigned parts) {
2360 bool APInt::tcIsZero(const WordType *src, unsigned parts) {
2369 int APInt::tcExtractBit(const WordType *parts, unsigned bit) {
2374 void APInt::tcSetBit(WordType *parts, unsigned bit) {
2379 void APInt::tcClearBit(WordType *parts, unsigned bit) {
2385 unsigned APInt::tcLSB(const WordType *parts, unsigned n) {
2399 unsigned APInt::tcMSB(const WordType *parts, unsigned n) {
2418 APInt::tcExtract(WordType *dst, unsigned dstCount, const WordType *src,
2434 WordType mask = lowBitMask (srcBits - n);
2448 APInt::WordType APInt::tcAdd(WordType *dst, const WordType *rhs,
2449 WordType c, unsigned parts) {
2453 WordType l = dst[i];
2470 APInt::WordType APInt::tcAddPart(WordType *dst, WordType src,
2483 APInt::WordType APInt::tcSubtract(WordType *dst, const WordType *rhs,
2484 WordType c, unsigned parts) {
2488 WordType l = dst[i];
2508 APInt::WordType APInt::tcSubtractPart(WordType *dst, WordType src,
2511 WordType Dst = dst[i];
2522 void APInt::tcNegate(WordType *dst, unsigned parts) {
2538 int APInt::tcMultiplyPart(WordType *dst, const WordType *src,
2539 WordType multiplier, WordType carry,
2550 WordType low, mid, high, srcPart;
2627 int APInt::tcMultiply(WordType *dst, const WordType *lhs,
2628 const WordType *rhs, unsigned parts) {
2643 void APInt::tcFullMultiply(WordType *dst, const WordType *lhs,
2644 const WordType *rhs, unsigned lhsParts,
2668 int APInt::tcDivide(WordType *lhs, const WordType *rhs,
2669 WordType *remainder, WordType *srhs,
2679 WordType mask = (WordType) 1 << (shiftCount % APINT_BITS_PER_WORD);
2700 mask = (WordType) 1 << (APINT_BITS_PER_WORD - 1);
2710 void APInt::tcShiftLeft(WordType *Dst, unsigned Words, unsigned Count) {
2737 void APInt::tcShiftRight(WordType *Dst, unsigned Words, unsigned Count) {
2763 void APInt::tcAnd(WordType *dst, const WordType *rhs, unsigned parts) {
2769 void APInt::tcOr(WordType *dst, const WordType *rhs, unsigned parts) {
2775 void APInt::tcXor(WordType *dst, const WordType *rhs, unsigned parts) {
2781 void APInt::tcComplement(WordType *dst, unsigned parts) {
2787 int APInt::tcCompare(const WordType *lhs, const WordType *rhs,
2800 void APInt::tcSetLeastSignificantBits(WordType *dst, unsigned parts,
2804 dst[i++] = ~(WordType) 0;
2809 dst[i++] = ~(WordType) 0 >> (APINT_BITS_PER_WORD - bits);