Home
last modified time | relevance | path

Searched refs:WordType (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h94 static constexpr WordType WORDTYPE_MAX = ~WordType(0);
1751 static void tcSet(WordType *, WordType, unsigned);
1784 static WordType tcAdd(WordType *, const WordType *, WordType carry, unsigned);
1786 static WordType tcAddPart(WordType *, WordType, unsigned);
1789 static WordType tcSubtract(WordType *, const WordType *, WordType carry,
1792 static WordType tcSubtractPart(WordType *, WordType, unsigned);
1812 static int tcMultiply(WordType *, const WordType *, const WordType *,
1817 static void tcFullMultiply(WordType *, const WordType *, const WordType *,
1829 static int tcDivide(WordType *lhs, const WordType *rhs, WordType *remainder,
1844 static WordType tcIncrement(WordType *dst, unsigned parts) { in tcIncrement()
[all …]
H A DAPFloat.h143 typedef APInt::WordType integerPart;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp2310 static inline APInt::WordType lowHalf(APInt::WordType part) { in lowHalf()
2315 static inline APInt::WordType highHalf(APInt::WordType part) { in highHalf()
2423 APInt::WordType APInt::tcAdd(WordType *dst, const WordType *rhs, in tcAdd()
2445 APInt::WordType APInt::tcAddPart(WordType *dst, WordType src, in tcAddPart()
2458 APInt::WordType APInt::tcSubtract(WordType *dst, const WordType *rhs, in tcSubtract()
2483 APInt::WordType APInt::tcSubtractPart(WordType *dst, WordType src, in tcSubtractPart()
2511 int APInt::tcMultiplyPart(WordType *dst, const WordType *src, in tcMultiplyPart()
2512 WordType multiplier, WordType carry, in tcMultiplyPart()
2594 int APInt::tcMultiply(WordType *dst, const WordType *lhs, in tcMultiply()
2634 int APInt::tcDivide(WordType *lhs, const WordType *rhs, in tcDivide()
[all …]
H A DAPFloat.cpp1489 static void tcSetLeastSignificantBits(APInt::WordType *dst, unsigned parts, in tcSetLeastSignificantBits()
1493 dst[i++] = ~(APInt::WordType)0; in tcSetLeastSignificantBits()
1498 dst[i++] = ~(APInt::WordType)0 >> (APInt::APINT_BITS_PER_WORD - bits); in tcSetLeastSignificantBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp139 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar() local
141 Type *ElementTypes[4] = {WordType, WordType, VoidPtrType, InitPtrType}; in addEmuTlsVar()
170 ConstantInt::get(WordType, DL.getTypeStoreSize(GVType)), in addEmuTlsVar()
171 ConstantInt::get(WordType, GVAlignment.value()), NullPtr, in addEmuTlsVar()
177 std::max(DL.getABITypeAlign(WordType), DL.getABITypeAlign(VoidPtrType)); in addEmuTlsVar()
H A DAtomicExpandPass.cpp635 Type *WordType = nullptr; member
657 PrintObj(PMV.WordType); in operator <<()
709 if (PMV.ValueType == PMV.WordType) { in createMaskInstrs()
760 assert(WideWord->getType() == PMV.WordType && "Widened type mismatch"); in extractMaskedValue()
761 if (PMV.WordType == PMV.ValueType) in extractMaskedValue()
771 assert(WideWord->getType() == PMV.WordType && "Widened type mismatch"); in insertMaskedValue()
773 if (PMV.WordType == PMV.ValueType) in insertMaskedValue()
778 Value *ZExt = Builder.CreateZExt(Updated, PMV.WordType, "extended"); in insertMaskedValue()
1000 PHINode *Loaded_MaskOut = Builder.CreatePHI(PMV.WordType, 2); in expandPartwordCmpXchg()
1078 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h60 using WordType = uint64_t; member
61 static unsigned constexpr WordWidth = CHAR_BIT*sizeof(WordType);
74 for (WordType W : Words) in size()
80 std::memset(Words.data(), 0, NumWords*sizeof(WordType)); in clear()
84 for (WordType W : Words) in empty()
95 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert()
105 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase()
153 WordType W = Set->Words[SkipWords]; in find_from_pos()
154 W &= maskLeadingOnes<WordType>(WordWidth-SkipBits); in find_from_pos()
162 WordType W = Set->Words[i]; in find_from_pos()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1061 static_assert(std::is_same<uint64_t, llvm::APInt::WordType>::value,