Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DPointerIntPair.h27 template <typename PointerT, unsigned IntBits, typename PtrTraits>
133 template <typename PointerTy, unsigned IntBits, typename IntType,
144 template <typename PointerT, unsigned IntBits, typename PtrTraits>
149 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
161 IntMask = (uintptr_t)(((intptr_t)1 << IntBits) - 1),
195 template <typename PointerTy, unsigned IntBits, typename IntType>
197 using Ty = PointerIntPair<PointerTy, IntBits, IntType>;
223 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits>> {
229 static inline PointerIntPair<PointerTy, IntBits, IntType>
234 static inline PointerIntPair<PointerTy, IntBits, IntType>
[all …]
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-enum-2.cpp4 template<int IntBits> struct X {
6 IntShift = (unsigned long long)IntBits,
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DTinyPtrVectorTest.cpp27 template <typename PointerTy, unsigned IntBits, typename IntType,
30 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>> {
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h772 APInt IntBits; // The 128 bits as an integer.
H A DSystemZISelLowering.cpp733 uint64_t Byte = IntBits.lshr(I * 8).trunc(8).getZExtValue(); in isVectorConstantLegal()
797 IntBits = APInt(128, IntImm.getZExtValue()); in SystemZVectorConstantInfo()
798 IntBits <<= (SystemZ::VectorBits - IntImm.getBitWidth()); in SystemZVectorConstantInfo()
800 IntBits = IntImm; in SystemZVectorConstantInfo()
801 assert(IntBits.getBitWidth() == 128 && "Unsupported APInt."); in SystemZVectorConstantInfo()
827 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14483 uint32_t IntBits = IntTy.getSizeInBits(); in performFpToIntCombine() local
14484 if (IntBits != 16 && IntBits != 32 && IntBits != 64) in performFpToIntCombine()
14488 if (IntBits > FloatBits) in performFpToIntCombine()
14493 int32_t Bits = IntBits == 64 ? 64 : 32; in performFpToIntCombine()
14505 if (SatVT.getScalarSizeInBits() != IntBits || IntBits != FloatBits) in performFpToIntCombine()
14519 if (IntBits < FloatBits) in performFpToIntCombine()
14545 int32_t IntBits = IntTy.getSizeInBits(); in performFDivCombine() local
14546 if (IntBits != 16 && IntBits != 32 && IntBits != 64) in performFDivCombine()
14555 if (IntBits > FloatBits) in performFDivCombine()
14583 if (IntBits < FloatBits) in performFDivCombine()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp16707 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVCVTCombine() local
16709 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVCVTCombine()
16732 if (IntBits < FloatBits) in PerformVCVTCombine()
16808 uint32_t IntBits = IntTy.getSizeInBits(); in PerformVDIVCombine() local
16810 if (FloatBits != 32 || IntBits > 32 || (NumLanes != 4 && NumLanes != 2)) { in PerformVDIVCombine()
16827 if (IntBits < FloatBits) in PerformVDIVCombine()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp50858 unsigned IntBits = VT.getScalarSizeInBits(); in lowerX86FPLogicOp() local
50859 MVT IntSVT = MVT::getIntegerVT(IntBits); in lowerX86FPLogicOp()
50860 MVT IntVT = MVT::getVectorVT(IntSVT, VT.getSizeInBits() / IntBits); in lowerX86FPLogicOp()