Lines Matching refs:PtrTraits
26 template <typename PointerT, unsigned IntBits, typename PtrTraits>
44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
45 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
104 (void)PtrTraits::getFromVoidPointer(V); in getFromOpaqueValue()
124 template <typename PointerT, unsigned IntBits, typename PtrTraits>
126 static_assert(PtrTraits::NumLowBitsAvailable <
129 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
134 ~(uintptr_t)(((intptr_t)1 << PtrTraits::NumLowBitsAvailable) - 1),
138 IntShift = (uintptr_t)PtrTraits::NumLowBitsAvailable - IntBits,
148 return PtrTraits::getFromVoidPointer( in getPointer()
158 reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr)); in updatePointer()
203 typename PtrTraits>
205 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits>> {
219 enum { NumLowBitsAvailable = PtrTraits::NumLowBitsAvailable - IntBits };