| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | PointerIntPair.h | 61 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), 217 template <typename PointerTy, unsigned IntBits, typename IntType> 218 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType>, void> { 219 using Ty = PointerIntPair<PointerTy, IntBits, IntType>; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/Atomic/ |
| H A D | Atomic.cpp | 67 constexpr uint64_t IntBits = 32; in EmitAtomicCompareExchangeLibcall() local 77 Constant::getIntegerValue(IntegerType::get(ctx, IntBits), in EmitAtomicCompareExchangeLibcall() 78 APInt(IntBits, static_cast<uint64_t>(Success), in EmitAtomicCompareExchangeLibcall() 80 Constant::getIntegerValue(IntegerType::get(ctx, IntBits), in EmitAtomicCompareExchangeLibcall() 81 APInt(IntBits, static_cast<uint64_t>(Failure), in EmitAtomicCompareExchangeLibcall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 1024 static bool matchType(FuncArgTypeID ArgTy, const Type *Ty, unsigned IntBits, in matchType() argument 1036 return Ty->isIntegerTy(IntBits); in matchType() 1038 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType() 1043 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType() 1175 unsigned IntBits = getIntSize(); in isValidProtoForLibFunc() local 1203 if (!Ty || !matchType(TyID, Ty, IntBits, SizeTBits)) in isValidProtoForLibFunc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MergeICmps.cpp | 662 unsigned IntBits = TLI.getIntSize(); in mergeComparisons() local 671 MemCmpCall, ConstantInt::get(Builder.getIntNTy(IntBits), 0)); in mergeComparisons()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.h | 862 APInt IntBits; // The 128 bits as an integer.
|
| H A D | SystemZISelLowering.cpp | 882 uint64_t Byte = IntBits.lshr(I * 8).trunc(8).getZExtValue(); in isVectorConstantLegal() 946 IntBits = APInt(128, IntImm.getZExtValue()); in SystemZVectorConstantInfo() 947 IntBits <<= (SystemZ::VectorBits - IntImm.getBitWidth()); in SystemZVectorConstantInfo() 949 IntBits = IntImm; in SystemZVectorConstantInfo() 950 assert(IntBits.getBitWidth() == 128 && "Unsupported APInt."); in SystemZVectorConstantInfo() 976 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 495 unsigned IntBits = TLI->getIntSize(); in optimizeStrChr() local 496 if (!FT->getParamType(1)->isIntegerTy(IntBits)) // memchr needs 'int'. in optimizeStrChr() 3521 unsigned IntBits = TLI->getIntSize(); in emitSnPrintfMemCpy() local 3522 uint64_t IntMax = maxIntN(IntBits); in emitSnPrintfMemCpy() 3556 Value *NulOff = B.getIntN(IntBits, NCopy); in emitSnPrintfMemCpy()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 19251 uint32_t IntBits = IntTy.getSizeInBits(); in performFpToIntCombine() local 19252 if (IntBits != 16 && IntBits != 32 && IntBits != 64) in performFpToIntCombine() 19256 if (IntBits > FloatBits) in performFpToIntCombine() 19261 int32_t Bits = IntBits == 64 ? 64 : 32; in performFpToIntCombine() 19273 if (SatVT.getScalarSizeInBits() != IntBits || IntBits != FloatBits) in performFpToIntCombine() 19287 if (IntBits < FloatBits) in performFpToIntCombine()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 16987 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVCVTCombine() local 16989 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVCVTCombine() 17012 if (IntBits < FloatBits) in PerformVCVTCombine() 17128 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVMulVCTPCombine() local 17130 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVMulVCTPCombine() 17157 if (IntBits < FloatBits) in PerformVMulVCTPCombine()
|