Lines Matching refs:PointerTy

42 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
44 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
53 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
57 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair()
59 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer()
63 void setPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in setPointer()
71 void initWithPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in initWithPointer()
75 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) LLVM_LVALUE_FUNCTION { in setPointerAndInt()
80 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
84 PointerTy *getAddrOfPointer() { in getAddrOfPointer()
88 return reinterpret_cast<PointerTy *>(&Value); in getAddrOfPointer()
132 template <typename PointerTy, unsigned IntBits, typename IntType,
135 struct is_trivially_copyable<PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>> : std::t…
137 …static_assert(std::is_trivially_copyable<PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, In…
194 template <typename PointerTy, unsigned IntBits, typename IntType>
195 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType>> {
196 using Ty = PointerIntPair<PointerTy, IntBits, IntType>;
206 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
219 template <typename PointerTy, unsigned IntBits, typename IntType,
222 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits>> {
224 getAsVoidPointer(const PointerIntPair<PointerTy, IntBits, IntType> &P) {
228 static inline PointerIntPair<PointerTy, IntBits, IntType>
230 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);
233 static inline PointerIntPair<PointerTy, IntBits, IntType>
235 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);