Home
last modified time | relevance | path

Searched refs:PtrTraits (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DPointerIntPair.h26 template <typename PointerT, unsigned IntBits, typename PtrTraits>
43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
44 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
106 (void)PtrTraits::getFromVoidPointer(V); in getFromOpaqueValue()
133 typename PtrTraits,
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…
143 template <typename PointerT, unsigned IntBits, typename PtrTraits>
145 static_assert(PtrTraits::NumLowBitsAvailable <
148 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
[all …]
DSmallPtrSet.h268 using PtrTraits = PointerLikeTypeTraits<PtrTy>; variable
287 return PtrTraits::getFromVoidPointer(const_cast<void *>(Bucket[-1]));
290 return PtrTraits::getFromVoidPointer(const_cast<void*>(*Bucket));
345 using PtrTraits = PointerLikeTypeTraits<PtrType>;
371 auto p = insert_imp(PtrTraits::getAsVoidPointer(Ptr));
378 return erase_imp(PtrTraits::getAsVoidPointer(Ptr));
/external/llvm-project/llvm/include/llvm/ADT/
DPointerIntPair.h26 template <typename PointerT, unsigned IntBits, typename PtrTraits>
43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
44 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
106 (void)PtrTraits::getFromVoidPointer(V); in getFromOpaqueValue()
133 typename PtrTraits,
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…
143 template <typename PointerT, unsigned IntBits, typename PtrTraits>
145 static_assert(PtrTraits::NumLowBitsAvailable <
148 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
[all …]
DSmallPtrSet.h268 using PtrTraits = PointerLikeTypeTraits<PtrTy>; variable
287 return PtrTraits::getFromVoidPointer(const_cast<void *>(Bucket[-1]));
290 return PtrTraits::getFromVoidPointer(const_cast<void*>(*Bucket));
345 using PtrTraits = PointerLikeTypeTraits<PtrType>;
365 auto p = insert_imp(PtrTraits::getAsVoidPointer(Ptr));
372 return erase_imp(PtrTraits::getAsVoidPointer(Ptr));
/external/llvm/include/llvm/ADT/
DPointerIntPair.h26 template <typename PointerT, unsigned IntBits, typename PtrTraits>
44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
45 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
104 (void)PtrTraits::getFromVoidPointer(V); in getFromOpaqueValue()
124 template <typename PointerT, unsigned IntBits, typename PtrTraits>
126 static_assert(PtrTraits::NumLowBitsAvailable <
129 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
134 ~(uintptr_t)(((intptr_t)1 << PtrTraits::NumLowBitsAvailable) - 1),
138 IntShift = (uintptr_t)PtrTraits::NumLowBitsAvailable - IntBits,
148 return PtrTraits::getFromVoidPointer( in getPointer()
[all …]
DSmallPtrSet.h233 typedef PointerLikeTypeTraits<PtrTy> PtrTraits; typedef
249 return PtrTraits::getFromVoidPointer(const_cast<void*>(*Bucket));
295 typedef PointerLikeTypeTraits<PtrType> PtrTraits;
318 auto p = insert_imp(PtrTraits::getAsVoidPointer(Ptr));
325 return erase_imp(PtrTraits::getAsVoidPointer(Ptr));
330 return count_imp(PtrTraits::getAsVoidPointer(Ptr)) ? 1 : 0;
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DPointerIntPair.h26 template <typename PointerT, unsigned IntBits, typename PtrTraits>
44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
45 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
104 (void)PtrTraits::getFromVoidPointer(V); in getFromOpaqueValue()
124 template <typename PointerT, unsigned IntBits, typename PtrTraits>
126 static_assert(PtrTraits::NumLowBitsAvailable <
129 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
134 ~(uintptr_t)(((intptr_t)1 << PtrTraits::NumLowBitsAvailable) - 1),
138 IntShift = (uintptr_t)PtrTraits::NumLowBitsAvailable - IntBits,
148 return PtrTraits::getFromVoidPointer( in getPointer()
[all …]
DSmallPtrSet.h260 typedef PointerLikeTypeTraits<PtrTy> PtrTraits; typedef
276 return PtrTraits::getFromVoidPointer(const_cast<void*>(*Bucket));
336 typedef PointerLikeTypeTraits<PtrType> PtrTraits;
359 auto p = insert_imp(PtrTraits::getAsVoidPointer(Ptr));
366 return erase_imp(PtrTraits::getAsVoidPointer(Ptr));
371 return count_imp(PtrTraits::getAsVoidPointer(Ptr)) ? 1 : 0;
/external/clang/include/clang/Sema/
DOwnership.h183 typedef llvm::PointerLikeTypeTraits<PtrTy> PtrTraits;
189 void *VP = PtrTraits::getAsVoidPointer(V);
205 return PtrTraits::getFromVoidPointer(VP);
210 void *VP = PtrTraits::getAsVoidPointer(V);
216 void *VP = PtrTraits::getAsVoidPointer(RHS);
/external/llvm-project/clang/include/clang/Sema/
DOwnership.h189 using PtrTraits = llvm::PointerLikeTypeTraits<PtrTy>;
196 void *VP = PtrTraits::getAsVoidPointer(V);
213 return PtrTraits::getFromVoidPointer(VP);
219 void *VP = PtrTraits::getAsVoidPointer(V);
225 void *VP = PtrTraits::getAsVoidPointer(RHS);
/external/llvm-project/llvm/unittests/ADT/
DTinyPtrVectorTest.cpp28 typename PtrTraits, typename Info>
30 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>> {
39 using PtrTraits = PointerLikeTypeTraits<PtrT>; typedef in __anon82b971980111::TinyPtrVectorTest