Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DPointerIntPair.h27 template <typename PointerT, unsigned IntBits, typename PtrTraits>
43 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
45 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
131 template <typename PointerT, unsigned IntBits, typename PtrTraits>
136 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
145 IntShift = (uintptr_t)PtrTraits::NumLowBitsAvailable - IntBits,
148 IntMask = (uintptr_t)(((intptr_t)1 << IntBits) - 1),
182 template <typename PointerTy, unsigned IntBits, typename IntType>
183 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType>, void> {
184 using Ty = PointerIntPair<PointerTy, IntBits, IntType>;
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp949 static bool matchType(FuncArgTypeID ArgTy, const Type *Ty, unsigned IntBits, in matchType() argument
961 return Ty->isIntegerTy(IntBits); in matchType()
963 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
968 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
1051 unsigned IntBits = getIntSize(); in isValidProtoForLibFunc() local
1079 if (!Ty || !matchType(TyID, Ty, IntBits, SizeTBits)) in isValidProtoForLibFunc()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp655 unsigned IntBits = TLI.getIntSize(); in mergeComparisons() local
664 MemCmpCall, ConstantInt::get(Builder.getIntNTy(IntBits), 0)); in mergeComparisons()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h770 APInt IntBits; // The 128 bits as an integer.
H A DSystemZISelLowering.cpp736 uint64_t Byte = IntBits.lshr(I * 8).trunc(8).getZExtValue(); in isVectorConstantLegal()
800 IntBits = APInt(128, IntImm.getZExtValue()); in SystemZVectorConstantInfo()
801 IntBits <<= (SystemZ::VectorBits - IntImm.getBitWidth()); in SystemZVectorConstantInfo()
803 IntBits = IntImm; in SystemZVectorConstantInfo()
804 assert(IntBits.getBitWidth() == 128 && "Unsupported APInt."); in SystemZVectorConstantInfo()
830 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp437 unsigned IntBits = TLI->getIntSize(); in optimizeStrChr() local
438 if (!FT->getParamType(1)->isIntegerTy(IntBits)) // memchr needs 'int'. in optimizeStrChr()
3057 unsigned IntBits = TLI->getIntSize(); in emitSnPrintfMemCpy() local
3058 uint64_t IntMax = maxIntN(IntBits); in emitSnPrintfMemCpy()
3095 Value *NulOff = B.getIntN(IntBits, NCopy); in emitSnPrintfMemCpy()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp15841 uint32_t IntBits = IntTy.getSizeInBits(); in performFpToIntCombine() local
15842 if (IntBits != 16 && IntBits != 32 && IntBits != 64) in performFpToIntCombine()
15846 if (IntBits > FloatBits) in performFpToIntCombine()
15851 int32_t Bits = IntBits == 64 ? 64 : 32; in performFpToIntCombine()
15863 if (SatVT.getScalarSizeInBits() != IntBits || IntBits != FloatBits) in performFpToIntCombine()
15877 if (IntBits < FloatBits) in performFpToIntCombine()
15903 int32_t IntBits = IntTy.getSizeInBits(); in performFDivCombine() local
15904 if (IntBits != 16 && IntBits != 32 && IntBits != 64) in performFDivCombine()
15913 if (IntBits > FloatBits) in performFDivCombine()
15941 if (IntBits < FloatBits) in performFDivCombine()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp16784 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVCVTCombine() local
16786 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVCVTCombine()
16809 if (IntBits < FloatBits) in PerformVCVTCombine()
16885 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVDIVCombine() local
16887 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVDIVCombine()
16904 if (IntBits < FloatBits) in PerformVDIVCombine()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp52181 unsigned IntBits = VT.getScalarSizeInBits(); in lowerX86FPLogicOp() local
52182 MVT IntSVT = MVT::getIntegerVT(IntBits); in lowerX86FPLogicOp()
52183 MVT IntVT = MVT::getVectorVT(IntSVT, VT.getSizeInBits() / IntBits); in lowerX86FPLogicOp()