Lines Matching refs:PointerTy

43 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
45 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
51 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()
62 void setPointer(PointerTy PtrVal) { in setPointer()
70 void initWithPointer(PointerTy PtrVal) { in initWithPointer()
74 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt()
79 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
83 PointerTy *getAddrOfPointer() { in getAddrOfPointer()
87 return reinterpret_cast<PointerTy *>(&Value); in getAddrOfPointer()
175 template <typename PointerTy, unsigned IntBits, typename IntType>
176 struct isPodLike<PointerIntPair<PointerTy, IntBits, IntType>> {
181 template <typename PointerTy, unsigned IntBits, typename IntType>
182 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType>> {
183 typedef PointerIntPair<PointerTy, IntBits, IntType> Ty;
191 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
202 template <typename PointerTy, unsigned IntBits, typename IntType,
205 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits>> {
208 getAsVoidPointer(const PointerIntPair<PointerTy, IntBits, IntType> &P) {
211 static inline PointerIntPair<PointerTy, IntBits, IntType>
213 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);
215 static inline PointerIntPair<PointerTy, IntBits, IntType>
217 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);