| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 93 static constexpr WordType WORDTYPE_MAX = ~WordType(0); 1707 static void tcSet(WordType *, WordType, unsigned); 1740 static WordType tcAdd(WordType *, const WordType *, WordType carry, unsigned); 1742 static WordType tcAddPart(WordType *, WordType, unsigned); 1745 static WordType tcSubtract(WordType *, const WordType *, WordType carry, 1748 static WordType tcSubtractPart(WordType *, WordType, unsigned); 1768 static int tcMultiply(WordType *, const WordType *, const WordType *, 1773 static void tcFullMultiply(WordType *, const WordType *, const WordType *, 1785 static int tcDivide(WordType *lhs, const WordType *rhs, WordType *remainder, 1800 static WordType tcIncrement(WordType *dst, unsigned parts) { in tcIncrement() [all …]
|
| H A D | APFloat.h | 143 typedef APInt::WordType integerPart;
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APInt.cpp | 2284 static inline APInt::WordType lowHalf(APInt::WordType part) { in lowHalf() 2289 static inline APInt::WordType highHalf(APInt::WordType part) { in highHalf() 2408 APInt::WordType APInt::tcAdd(WordType *dst, const WordType *rhs, in tcAdd() 2430 APInt::WordType APInt::tcAddPart(WordType *dst, WordType src, in tcAddPart() 2443 APInt::WordType APInt::tcSubtract(WordType *dst, const WordType *rhs, in tcSubtract() 2468 APInt::WordType APInt::tcSubtractPart(WordType *dst, WordType src, in tcSubtractPart() 2496 int APInt::tcMultiplyPart(WordType *dst, const WordType *src, in tcMultiplyPart() 2497 WordType multiplier, WordType carry, in tcMultiplyPart() 2579 int APInt::tcMultiply(WordType *dst, const WordType *lhs, in tcMultiply() 2619 int APInt::tcDivide(WordType *lhs, const WordType *rhs, in tcDivide() [all …]
|
| H A D | APFloat.cpp | 1293 static void tcSetLeastSignificantBits(APInt::WordType *dst, unsigned parts, in tcSetLeastSignificantBits() 1297 dst[i++] = ~(APInt::WordType)0; in tcSetLeastSignificantBits() 1302 dst[i++] = ~(APInt::WordType)0 >> (APInt::APINT_BITS_PER_WORD - bits); in tcSetLeastSignificantBits()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | LowerEmuTLS.cpp | 116 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar() local 119 Type *ElementTypes[4] = {WordType, WordType, VoidPtrType, InitPtrType}; in addEmuTlsVar() 148 ConstantInt::get(WordType, DL.getTypeStoreSize(GVType)), in addEmuTlsVar() 149 ConstantInt::get(WordType, GVAlignment.value()), NullPtr, in addEmuTlsVar() 155 std::max(DL.getABITypeAlign(WordType), DL.getABITypeAlign(VoidPtrType)); in addEmuTlsVar()
|
| H A D | AtomicExpandPass.cpp | 627 Type *WordType = nullptr; member 648 PrintObj(PMV.WordType); in operator <<() 696 if (PMV.ValueType == PMV.WordType) { in createMaskInstrs() 736 assert(WideWord->getType() == PMV.WordType && "Widened type mismatch"); in extractMaskedValue() 737 if (PMV.WordType == PMV.ValueType) in extractMaskedValue() 747 assert(WideWord->getType() == PMV.WordType && "Widened type mismatch"); in insertMaskedValue() 749 if (PMV.WordType == PMV.ValueType) in insertMaskedValue() 752 Value *ZExt = Builder.CreateZExt(Updated, PMV.WordType, "extended"); in insertMaskedValue() 961 PHINode *Loaded_MaskOut = Builder.CreatePHI(PMV.WordType, 2); in expandPartwordCmpXchg() 1039 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APIntTest.cpp | 568 APInt::WordType E2[4] = { in TEST() 1548 APInt::WordType singleWord = ~APInt::WordType(0) << (APInt::APINT_BITS_PER_WORD - 1); in TEST() 1550 EXPECT_EQ(carry, APInt::WordType(0)); in TEST() 1556 APInt::WordType singleWord = 0; in TEST() 1558 EXPECT_EQ(carry, APInt::WordType(1)); in TEST() 1575 APInt::WordType expected[4] = {~APInt::WordType(0), 0xE, 0x1, 0x1}; in TEST() 1577 EXPECT_EQ(carry, APInt::WordType(0)); in TEST() 1584 APInt::WordType expected[4] = {~APInt::WordType(0), ~APInt::WordType(0), 0xB, 0x1}; in TEST() 1593 …APInt::WordType expected[4] = {~APInt::WordType(0), ~APInt::WordType(0), ~APInt::WordType(0), 0x0}; in TEST() 1602 …APInt::WordType expected[4] = {~APInt::WordType(0), ~APInt::WordType(0), ~APInt::WordType(0), ~API… in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenDAGPatterns.h | 57 using WordType = uint64_t; member 58 static unsigned constexpr WordWidth = CHAR_BIT*sizeof(WordType); 71 for (WordType W : Words) in size() 77 std::memset(Words.data(), 0, NumWords*sizeof(WordType)); in clear() 81 for (WordType W : Words) in empty() 92 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert() 102 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase() 150 WordType W = Set->Words[SkipWords]; in find_from_pos() 151 W &= maskLeadingOnes<WordType>(WordWidth-SkipBits); in find_from_pos() 159 WordType W = Set->Words[i]; in find_from_pos() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Expr.h | 1035 static_assert(std::is_same<uint64_t, llvm::APInt::WordType>::value,
|