Home | History | Annotate | Download | only in ADT

Lines Matching refs:IntType

39 template <typename PointerTy, unsigned IntBits, typename IntType=unsigned,
60 PointerIntPair(PointerTy Ptr, IntType Int) {
74 IntType getInt() const {
75 return (IntType)((Value >> IntShift) & IntMask);
87 void setInt(IntType Int) {
104 void setPointerAndInt(PointerTy Ptr, IntType Int) {
149 template<typename PointerTy, unsigned IntBits, typename IntType>
150 struct isPodLike<PointerIntPair<PointerTy, IntBits, IntType> > {
155 template<typename PointerTy, unsigned IntBits, typename IntType>
156 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
157 typedef PointerIntPair<PointerTy, IntBits, IntType> Ty;
161 return Ty(reinterpret_cast<PointerTy>(Val), IntType((1 << IntBits)-1));
166 return Ty(reinterpret_cast<PointerTy>(Val), IntType(0));
176 template<typename PointerTy, unsigned IntBits, typename IntType,
178 class PointerLikeTypeTraits<PointerIntPair<PointerTy, IntBits, IntType,
182 getAsVoidPointer(const PointerIntPair<PointerTy, IntBits, IntType> &P) {
185 static inline PointerIntPair<PointerTy, IntBits, IntType>
187 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);
189 static inline PointerIntPair<PointerTy, IntBits, IntType>
191 return PointerIntPair<PointerTy, IntBits, IntType>::getFromOpaqueValue(P);