Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerIntPair.h61 template <typename PointerT, unsigned IntBits, typename PtrTraits>
77 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
79 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
167 template <typename PointerT, unsigned IntBits, typename PtrTraits>
172 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
181 IntShift = (uintptr_t)PtrTraits::NumLowBitsAvailable - IntBits,
184 IntMask = (uintptr_t)(((intptr_t)1 << IntBits) - 1),
218 template <typename PointerTy, unsigned IntBits, typename IntType>
219 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType>, void> {
220 using Ty = PointerIntPair<PointerTy, IntBits, IntType>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp1001 static bool matchType(FuncArgTypeID ArgTy, const Type *Ty, unsigned IntBits, in matchType() argument
1013 return Ty->isIntegerTy(IntBits); in matchType()
1015 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
1020 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
1103 unsigned IntBits = getIntSize(); in isValidProtoForLibFunc() local
1131 if (!Ty || !matchType(TyID, Ty, IntBits, SizeTBits)) in isValidProtoForLibFunc()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h811 APInt IntBits; // The 128 bits as an integer.
H A DSystemZISelLowering.cpp816 uint64_t Byte = IntBits.lshr(I * 8).trunc(8).getZExtValue(); in isVectorConstantLegal()
880 IntBits = APInt(128, IntImm.getZExtValue()); in SystemZVectorConstantInfo()
881 IntBits <<= (SystemZ::VectorBits - IntImm.getBitWidth()); in SystemZVectorConstantInfo()
883 IntBits = IntImm; in SystemZVectorConstantInfo()
884 assert(IntBits.getBitWidth() == 128 && "Unsupported APInt."); in SystemZVectorConstantInfo()
910 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp487 unsigned IntBits = TLI->getIntSize(); in optimizeStrChr() local
488 if (!FT->getParamType(1)->isIntegerTy(IntBits)) // memchr needs 'int'. in optimizeStrChr()
3411 unsigned IntBits = TLI->getIntSize(); in emitSnPrintfMemCpy() local
3412 uint64_t IntMax = maxIntN(IntBits); in emitSnPrintfMemCpy()
3449 Value *NulOff = B.getIntN(IntBits, NCopy); in emitSnPrintfMemCpy()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp18608 uint32_t IntBits = IntTy.getSizeInBits(); in performFpToIntCombine() local
18609 if (IntBits != 16 && IntBits != 32 && IntBits != 64) in performFpToIntCombine()
18613 if (IntBits > FloatBits) in performFpToIntCombine()
18618 int32_t Bits = IntBits == 64 ? 64 : 32; in performFpToIntCombine()
18630 if (SatVT.getScalarSizeInBits() != IntBits || IntBits != FloatBits) in performFpToIntCombine()
18644 if (IntBits < FloatBits) in performFpToIntCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp16914 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVCVTCombine() local
16916 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVCVTCombine()
16939 if (IntBits < FloatBits) in PerformVCVTCombine()
17055 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVMulVCTPCombine() local
17057 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVMulVCTPCombine()
17084 if (IntBits < FloatBits) in PerformVMulVCTPCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp52949 unsigned IntBits = VT.getScalarSizeInBits(); in lowerX86FPLogicOp() local
52950 MVT IntSVT = MVT::getIntegerVT(IntBits); in lowerX86FPLogicOp()
52951 MVT IntVT = MVT::getVectorVT(IntSVT, VT.getSizeInBits() / IntBits); in lowerX86FPLogicOp()