Lines Matching refs:PointerTy

41 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
42 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
43 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
50 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
54 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair()
56 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer()
60 void setPointer(PointerTy PtrVal) { in setPointer()
68 void initWithPointer(PointerTy PtrVal) { in initWithPointer()
72 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt()
77 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
81 PointerTy *getAddrOfPointer() { in getAddrOfPointer()
85 return reinterpret_cast<PointerTy *>(&Value); in getAddrOfPointer()
178 template <typename PointerTy, unsigned IntBits, typename IntType>
179 struct isPodLike<PointerIntPair<PointerTy, IntBits, IntType>> {
184 template <typename PointerTy, unsigned IntBits, typename IntType>
185 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType>> {
186 using Ty = PointerIntPair<PointerTy, IntBits, IntType>;
196 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
209 template <typename PointerTy, unsigned IntBits, typename IntType,
212 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits>> {
214 getAsVoidPointer(const PointerIntPair<PointerTy, IntBits, IntType> &P) {
218 static inline PointerIntPair<PointerTy, IntBits, IntType>
220 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);
223 static inline PointerIntPair<PointerTy, IntBits, IntType>
225 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);