Home
last modified time | relevance | path

Searched refs:IntBits (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerIntPair.h61 template <typename PointerT, unsigned IntBits, typename PtrTraits>
167 template <typename PointerT, unsigned IntBits, typename PtrTraits>
172 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
184 IntMask = (uintptr_t)(((intptr_t)1 << IntBits) - 1),
218 template <typename PointerTy, unsigned IntBits, typename IntType>
220 using Ty = PointerIntPair<PointerTy, IntBits, IntType>;
243 template <typename PointerTy, unsigned IntBits, typename IntType,
246 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits>> {
252 static inline PointerIntPair<PointerTy, IntBits, IntType>
257 static inline PointerIntPair<PointerTy, IntBits, IntType>
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp977 static bool matchType(FuncArgTypeID ArgTy, const Type *Ty, unsigned IntBits, in matchType() argument
989 return Ty->isIntegerTy(IntBits); in matchType()
991 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
996 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
1079 unsigned IntBits = getIntSize(); in isValidProtoForLibFunc() local
1107 if (!Ty || !matchType(TyID, Ty, IntBits, SizeTBits)) in isValidProtoForLibFunc()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp658 unsigned IntBits = TLI.getIntSize(); in mergeComparisons() local
667 MemCmpCall, ConstantInt::get(Builder.getIntNTy(IntBits), 0)); in mergeComparisons()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h801 APInt IntBits; // The 128 bits as an integer.
H A DSystemZISelLowering.cpp803 uint64_t Byte = IntBits.lshr(I * 8).trunc(8).getZExtValue(); in isVectorConstantLegal()
867 IntBits = APInt(128, IntImm.getZExtValue()); in SystemZVectorConstantInfo()
868 IntBits <<= (SystemZ::VectorBits - IntImm.getBitWidth()); in SystemZVectorConstantInfo()
870 IntBits = IntImm; in SystemZVectorConstantInfo()
871 assert(IntBits.getBitWidth() == 128 && "Unsupported APInt."); in SystemZVectorConstantInfo()
897 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp478 unsigned IntBits = TLI->getIntSize(); in optimizeStrChr() local
479 if (!FT->getParamType(1)->isIntegerTy(IntBits)) // memchr needs 'int'. in optimizeStrChr()
3177 unsigned IntBits = TLI->getIntSize(); in emitSnPrintfMemCpy() local
3178 uint64_t IntMax = maxIntN(IntBits); in emitSnPrintfMemCpy()
3215 Value *NulOff = B.getIntN(IntBits, NCopy); in emitSnPrintfMemCpy()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp17356 uint32_t IntBits = IntTy.getSizeInBits(); in performFpToIntCombine() local
17357 if (IntBits != 16 && IntBits != 32 && IntBits != 64) in performFpToIntCombine()
17361 if (IntBits > FloatBits) in performFpToIntCombine()
17366 int32_t Bits = IntBits == 64 ? 64 : 32; in performFpToIntCombine()
17378 if (SatVT.getScalarSizeInBits() != IntBits || IntBits != FloatBits) in performFpToIntCombine()
17392 if (IntBits < FloatBits) in performFpToIntCombine()
17418 int32_t IntBits = IntTy.getSizeInBits(); in performFDivCombine() local
17419 if (IntBits != 16 && IntBits != 32 && IntBits != 64) in performFDivCombine()
17428 if (IntBits > FloatBits) in performFDivCombine()
17456 if (IntBits < FloatBits) in performFDivCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp16899 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVCVTCombine() local
16901 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVCVTCombine()
16924 if (IntBits < FloatBits) in PerformVCVTCombine()
17040 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVDIVCombine() local
17042 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVDIVCombine()
17059 if (IntBits < FloatBits) in PerformVDIVCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp51696 unsigned IntBits = VT.getScalarSizeInBits(); in lowerX86FPLogicOp() local
51697 MVT IntSVT = MVT::getIntegerVT(IntBits); in lowerX86FPLogicOp()
51698 MVT IntVT = MVT::getVectorVT(IntSVT, VT.getSizeInBits() / IntBits); in lowerX86FPLogicOp()