Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPInt.h88 static const WordType WORDTYPE_MAX = ~WordType(0);
1833 static void tcSet(WordType *, WordType, unsigned);
1867 static WordType tcAdd(WordType *, const WordType *,
1870 static WordType tcAddPart(WordType *, WordType, unsigned);
1873 static WordType tcSubtract(WordType *, const WordType *,
1876 static WordType tcSubtractPart(WordType *, WordType, unsigned);
1897 static int tcMultiply(WordType *, const WordType *, const WordType *,
1902 static void tcFullMultiply(WordType *, const WordType *,
1914 static int tcDivide(WordType *lhs, const WordType *rhs,
1927 static void tcAnd(WordType *, const WordType *, unsigned);
[all …]
H A DAPFloat.h143 typedef APInt::WordType integerPart;
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAPInt.cpp2196 static inline APInt::WordType lowHalf(APInt::WordType part) { in lowHalf()
2201 static inline APInt::WordType highHalf(APInt::WordType part) { in highHalf()
2322 APInt::WordType APInt::tcAdd(WordType *dst, const WordType *rhs, in tcAdd()
2344 APInt::WordType APInt::tcAddPart(WordType *dst, WordType src, in tcAddPart()
2357 APInt::WordType APInt::tcSubtract(WordType *dst, const WordType *rhs, in tcSubtract()
2382 APInt::WordType APInt::tcSubtractPart(WordType *dst, WordType src, in tcSubtractPart()
2412 int APInt::tcMultiplyPart(WordType *dst, const WordType *src, in tcMultiplyPart()
2413 WordType multiplier, WordType carry, in tcMultiplyPart()
2501 int APInt::tcMultiply(WordType *dst, const WordType *lhs, in tcMultiply()
2542 int APInt::tcDivide(WordType *lhs, const WordType *rhs, in tcDivide()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp115 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar() local
118 Type *ElementTypes[4] = {WordType, WordType, VoidPtrType, InitPtrType}; in addEmuTlsVar()
152 ConstantInt::get(WordType, DL.getTypeStoreSize(GVType)), in addEmuTlsVar()
153 ConstantInt::get(WordType, GVAlignment), in addEmuTlsVar()
160 DL.getABITypeAlignment(WordType), in addEmuTlsVar()
H A DAtomicExpandPass.cpp587 Type *WordType; member
630 Ret.WordType = Type::getIntNTy(Ctx, WordSize * 8); in createMaskInstrs()
633 Ret.WordType->getPointerTo(Addr->getType()->getPointerAddressSpace()); in createMaskInstrs()
650 Ret.ShiftAmt = Builder.CreateTrunc(Ret.ShiftAmt, Ret.WordType, "ShiftAmt"); in createMaskInstrs()
652 ConstantInt::get(Ret.WordType, (1 << ValueSize * 8) - 1), Ret.ShiftAmt, in createMaskInstrs()
700 Builder.CreateZExt(NewVal, PMV.WordType), PMV.ShiftAmt); in performMaskedAtomicOp()
849 Builder.CreateShl(Builder.CreateZExt(Cmp, PMV.WordType), PMV.ShiftAmt); in expandPartwordCmpXchg()
853 LoadInst *InitLoaded = Builder.CreateLoad(PMV.WordType, PMV.AlignedAddr); in expandPartwordCmpXchg()
860 PHINode *Loaded_MaskOut = Builder.CreatePHI(PMV.WordType, 2); in expandPartwordCmpXchg()
937 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
[all …]
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h61 using WordType = uint64_t; member
62 static unsigned constexpr WordWidth = CHAR_BIT*sizeof(WordType);
75 for (WordType W : Words) in size()
81 std::memset(Words.data(), 0, NumWords*sizeof(WordType)); in clear()
85 for (WordType W : Words) in empty()
96 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert()
106 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase()
152 WordType W = Set->Words[SkipWords]; in find_from_pos()
153 W &= maskLeadingOnes<WordType>(WordWidth-SkipBits); in find_from_pos()
161 WordType W = Set->Words[i]; in find_from_pos()
[all …]