Lines Matching refs:PointerTy

41 template <typename PointerTy, unsigned IntBits, typename IntType=unsigned,
42 typename PtrTraits = PointerLikeTypeTraits<PointerTy> >
67 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
70 explicit PointerIntPair(PointerTy PtrVal) { in PointerIntPair()
74 PointerTy getPointer() const { in getPointer()
83 void setPointer(PointerTy PtrVal) { in setPointer()
101 void initWithPointer(PointerTy PtrVal) { in initWithPointer()
109 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt()
120 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
124 PointerTy *getAddrOfPointer() { in getAddrOfPointer()
128 return reinterpret_cast<PointerTy *>(&Value); in getAddrOfPointer()
154 template<typename PointerTy, unsigned IntBits, typename IntType>
155 struct isPodLike<PointerIntPair<PointerTy, IntBits, IntType> > {
160 template<typename PointerTy, unsigned IntBits, typename IntType>
161 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
162 typedef PointerIntPair<PointerTy, IntBits, IntType> Ty;
170 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
181 template<typename PointerTy, unsigned IntBits, typename IntType,
183 class PointerLikeTypeTraits<PointerIntPair<PointerTy, IntBits, IntType,
187 getAsVoidPointer(const PointerIntPair<PointerTy, IntBits, IntType> &P) {
190 static inline PointerIntPair<PointerTy, IntBits, IntType>
192 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);
194 static inline PointerIntPair<PointerTy, IntBits, IntType>
196 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);