Searched refs:WordType (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APInt.h | 80 typedef uint64_t WordType; typedef 85 APINT_WORD_SIZE = sizeof(WordType), 96 static constexpr WordType WORDTYPE_MAX = ~WordType(0); 388 return U.VAL == ((WordType(1) << (BitWidth - 1)) - 1); in isMaxSignedValue() 406 return U.VAL == (WordType(1) << (BitWidth - 1)); in isMinSignedValue() 1312 WordType Mask = maskBit(BitPosition); in setBit() 1389 WordType Mask = ~maskBit(BitPosition); in clearBit() 1774 static void tcSet(WordType *, WordType, unsigned); 1777 static void tcAssign(WordType *, const WordType *, unsigned); 1780 static bool tcIsZero(const WordType *, unsigned); [all …]
|
H A D | APFloat.h | 144 typedef APInt::WordType integerPart;
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | APInt.cpp | 246 WordType *dst = U.pVal, *rhs = RHS.U.pVal; in andAssignSlowCase() 252 WordType *dst = U.pVal, *rhs = RHS.U.pVal; in orAssignSlowCase() 258 WordType *dst = U.pVal, *rhs = RHS.U.pVal; in xorAssignSlowCase() 338 static void tcComplement(APInt::WordType *dst, unsigned parts) { in tcComplement() 444 static_assert(8 * sizeof(WordType) <= 64, "This code assumes only two words affected"); in insertBits() 445 unsigned wordBits = 8 * sizeof(WordType); in insertBits() 505 static_assert(8 * sizeof(WordType) <= 64, "This code assumes only two words affected"); in extractBitsAsZExtValue() 506 unsigned wordBits = 8 * sizeof(WordType); in extractBitsAsZExtValue() 1420 void APInt::divide(const WordType *LHS, unsigned lhsWords, const WordType *RHS, in divide() 1421 unsigned rhsWords, WordType *Quotient, WordType *Remainder) { in divide() [all …]
|
H A D | APFloat.cpp | 1518 static void tcSetLeastSignificantBits(APInt::WordType *dst, unsigned parts, in tcSetLeastSignificantBits() 1522 dst[i++] = ~(APInt::WordType)0; in tcSetLeastSignificantBits() 1527 dst[i++] = ~(APInt::WordType)0 >> (APInt::APINT_BITS_PER_WORD - bits); in tcSetLeastSignificantBits()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LowerEmuTLS.cpp | 139 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar() local 141 Type *ElementTypes[4] = {WordType, WordType, VoidPtrType, InitPtrType}; in addEmuTlsVar() 169 ConstantInt::get(WordType, DL.getTypeStoreSize(GVType)), in addEmuTlsVar() 170 ConstantInt::get(WordType, GVAlignment.value()), NullPtr, in addEmuTlsVar() 174 std::max(DL.getABITypeAlign(WordType), DL.getABITypeAlign(VoidPtrType)); in addEmuTlsVar()
|
H A D | AtomicExpandPass.cpp | 681 Type *WordType = nullptr; member 703 PrintObj(PMV.WordType); in operator <<() 753 PMV.WordType = MinWordSize > ValueSize ? Type::getIntNTy(Ctx, MinWordSize * 8) in createMaskInstrs() 755 if (PMV.ValueType == PMV.WordType) { in createMaskInstrs() 794 PMV.ShiftAmt = Builder.CreateTrunc(PMV.ShiftAmt, PMV.WordType, "ShiftAmt"); in createMaskInstrs() 796 ConstantInt::get(PMV.WordType, (1 << (ValueSize * 8)) - 1), PMV.ShiftAmt, in createMaskInstrs() 806 assert(WideWord->getType() == PMV.WordType && "Widened type mismatch"); in extractMaskedValue() 807 if (PMV.WordType == PMV.ValueType) in extractMaskedValue() 817 assert(WideWord->getType() == PMV.WordType && "Widened type mismatch"); in insertMaskedValue() 819 if (PMV.WordType == PMV.ValueType) in insertMaskedValue() [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenDAGPatterns.h | 60 using WordType = uint64_t; member 61 static unsigned constexpr WordWidth = CHAR_BIT * sizeof(WordType); 72 for (WordType W : Words) in size() 77 void clear() { std::memset(Words.data(), 0, NumWords * sizeof(WordType)); } in clear() 80 for (WordType W : Words) in empty() 91 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert() 101 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase() 147 WordType W = Set->Words[SkipWords]; in find_from_pos() 148 W &= maskLeadingOnes<WordType>(WordWidth - SkipBits); in find_from_pos() 156 WordType W = Set->Words[i]; in find_from_pos() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 1078 static_assert(std::is_same<uint64_t, llvm::APInt::WordType>::value,
|