Searched refs:WordType (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
H A D | APInt.h | 72 typedef uint64_t WordType; typedef 77 APINT_WORD_SIZE = sizeof(WordType), 88 static constexpr WordType WORDTYPE_MAX = ~WordType(0); 192 static void divide(const WordType *LHS, unsigned lhsWords, 193 const WordType *RHS, unsigned rhsWords, WordType *Quotient, 194 WordType *Remainder); 434 return U.VAL == ((WordType(1) << (BitWidth - 1)) - 1); 450 return U.VAL == (WordType(1) << (BitWidth - 1)); 1444 WordType Mask = maskBit(BitPosition); 1527 WordType Mask = ~maskBit(BitPosition); [all …]
|
H A D | APFloat.h | 144 typedef APInt::WordType integerPart;
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | APInt.cpp | 417 static_assert(8 * sizeof(WordType) <= 64, "This code assumes only two words affected"); in insertBits() 418 unsigned wordBits = 8 * sizeof(WordType); in insertBits() 480 static_assert(8 * sizeof(WordType) <= 64, "This code assumes only two words affected"); in extractBitsAsZExtValue() 481 unsigned wordBits = 8 * sizeof(WordType); in extractBitsAsZExtValue() 1477 void APInt::divide(const WordType *LHS, unsigned lhsWords, const WordType *RHS, in divide() 1478 unsigned rhsWords, WordType *Quotient, WordType *Remainder) { in divide() 2316 static inline APInt::WordType lowBitMask(unsigned bits) { in lowBitMask() 2319 return ~(APInt::WordType) 0 >> (APInt::APINT_BITS_PER_WORD - bits); in lowBitMask() 2323 static inline APInt::WordType lowHalf(APInt::WordType part) { in lowHalf() 2328 static inline APInt::WordType highHalf(APInt::WordType part) { in highHalf() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | LowerEmuTLS.cpp | 117 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar() local 120 Type *ElementTypes[4] = {WordType, WordType, VoidPtrType, InitPtrType}; in addEmuTlsVar() 149 ConstantInt::get(WordType, DL.getTypeStoreSize(GVType)), in addEmuTlsVar() 150 ConstantInt::get(WordType, GVAlignment.value()), NullPtr, in addEmuTlsVar() 156 std::max(DL.getABITypeAlign(WordType), DL.getABITypeAlign(VoidPtrType)); in addEmuTlsVar()
|
H A D | AtomicExpandPass.cpp | 583 Type *WordType = nullptr; member 604 PrintObj(PMV.WordType); in operator <<() 650 PMV.WordType = MinWordSize > ValueSize ? Type::getIntNTy(Ctx, MinWordSize * 8) in createMaskInstrs() 652 if (PMV.ValueType == PMV.WordType) { in createMaskInstrs() 661 PMV.WordType->getPointerTo(Addr->getType()->getPointerAddressSpace()); in createMaskInstrs() 680 PMV.ShiftAmt = Builder.CreateTrunc(PMV.ShiftAmt, PMV.WordType, "ShiftAmt"); in createMaskInstrs() 682 ConstantInt::get(PMV.WordType, (1 << (ValueSize * 8)) - 1), PMV.ShiftAmt, in createMaskInstrs() 690 assert(WideWord->getType() == PMV.WordType && "Widened type mismatch"); in extractMaskedValue() 691 if (PMV.WordType == PMV.ValueType) in extractMaskedValue() 701 assert(WideWord->getType() == PMV.WordType && "Widened type mismatch"); in insertMaskedValue() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
H A D | CodeGenDAGPatterns.h | 58 using WordType = uint64_t; member 59 static unsigned constexpr WordWidth = CHAR_BIT*sizeof(WordType); 72 for (WordType W : Words) in size() 78 std::memset(Words.data(), 0, NumWords*sizeof(WordType)); in clear() 82 for (WordType W : Words) in empty() 93 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert() 103 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase() 149 WordType W = Set->Words[SkipWords]; in find_from_pos() 150 W &= maskLeadingOnes<WordType>(WordWidth-SkipBits); in find_from_pos() 158 WordType W = Set->Words[i]; in find_from_pos() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | Expr.h | 1025 static_assert(std::is_same<uint64_t, llvm::APInt::WordType>::value,
|