Home
last modified time | relevance | path

Searched refs:APINT_WORD_SIZE (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DAPInt.cpp86 memcpy(U.pVal, that.U.pVal, getNumWords() * APINT_WORD_SIZE); in initSlowCase()
99 memcpy(U.pVal, bigVal.data(), words * APINT_WORD_SIZE); in initFromArray()
150 memcpy(U.pVal, RHS.U.pVal, getNumWords() * APINT_WORD_SIZE); in assignSlowCase()
398 numWholeSubWords * APINT_WORD_SIZE); in insertBits()
1055 WordShift * APINT_WORD_SIZE); in ashrSlowCase()
1822 (getNumWords(BitWidth) - lhsWords) * APINT_WORD_SIZE); in udivrem()
1824 (getNumWords(BitWidth) - rhsWords) * APINT_WORD_SIZE); in udivrem()
1885 (getNumWords(BitWidth) - lhsWords) * APINT_WORD_SIZE); in udivrem()
2683 std::memset(Dst, 0, WordShift * APINT_WORD_SIZE); in tcShiftLeft()
2700 std::memmove(Dst, Dst + WordShift, WordsToMove * APINT_WORD_SIZE); in tcShiftRight()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPInt.h82 APINT_WORD_SIZE = sizeof(WordType), enumerator
84 APINT_BITS_PER_WORD = APINT_WORD_SIZE * CHAR_BIT
645 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
675 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
1274 memset(U.pVal, -1, getNumWords() * APINT_WORD_SIZE); in setAllBits()
1351 memset(U.pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinAttributes.cpp463 assert(value.getNumWords() * APInt::APINT_WORD_SIZE >= numBytes); in copyAPIntToArrayForBEmachine()
468 size_t numFilledWords = (value.getNumWords() - 1) * APInt::APINT_WORD_SIZE; in copyAPIntToArrayForBEmachine()
475 SmallVector<char, 8> valueLE(APInt::APINT_WORD_SIZE); in copyAPIntToArrayForBEmachine()
493 assert(result.getNumWords() * APInt::APINT_WORD_SIZE >= numBytes); in copyArrayToAPIntForBEmachine()
500 size_t numFilledWords = (result.getNumWords() - 1) * APInt::APINT_WORD_SIZE; in copyArrayToAPIntForBEmachine()
509 SmallVector<char, 8> inArrayLE(APInt::APINT_WORD_SIZE); in copyArrayToAPIntForBEmachine()