/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | PointerLikeTypeTraits.h | 25 template <typename T> struct PointerLikeTypeTraits; 41 T, decltype((sizeof(PointerLikeTypeTraits<T>) + sizeof(T)), void())> { 55 template <typename T> struct PointerLikeTypeTraits<T *> { 62 template <> struct PointerLikeTypeTraits<void *> { 77 template <typename T> struct PointerLikeTypeTraits<const T> { 78 typedef PointerLikeTypeTraits<T> NonConst; 90 template <typename T> struct PointerLikeTypeTraits<const T *> { 91 typedef PointerLikeTypeTraits<T *> NonConst; 103 template <> struct PointerLikeTypeTraits<uintptr_t> { 144 struct PointerLikeTypeTraits<ReturnT (*)(ParamTs...)>
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | PointerLikeTypeTraits.h | 25 template <typename T> struct PointerLikeTypeTraits; 42 T, decltype((sizeof(PointerLikeTypeTraits<T>) + sizeof(T)), void())> { 56 template <typename T> struct PointerLikeTypeTraits<T *> { 64 template <> struct PointerLikeTypeTraits<void *> { 79 template <typename T> struct PointerLikeTypeTraits<const T> { 80 typedef PointerLikeTypeTraits<T> NonConst; 92 template <typename T> struct PointerLikeTypeTraits<const T *> { 93 typedef PointerLikeTypeTraits<T *> NonConst; 105 template <> struct PointerLikeTypeTraits<uintptr_t> { 147 struct PointerLikeTypeTraits<ReturnT (*)(ParamTs...)>
|
/external/llvm/include/llvm/Support/ |
D | PointerLikeTypeTraits.h | 25 template <typename T> class PointerLikeTypeTraits { 40 template <typename T> class PointerLikeTypeTraits<T *> { 50 template <> class PointerLikeTypeTraits<void *> { 66 template <typename T> class PointerLikeTypeTraits<const T *> { 67 typedef PointerLikeTypeTraits<T *> NonConst; 80 template <> class PointerLikeTypeTraits<uintptr_t> {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | PointerLikeTypeTraits.h | 25 template <typename T> class PointerLikeTypeTraits { 40 template <typename T> class PointerLikeTypeTraits<T *> { 48 template <> class PointerLikeTypeTraits<void *> { 64 template <typename T> class PointerLikeTypeTraits<const T *> { 65 typedef PointerLikeTypeTraits<T *> NonConst; 78 template <> class PointerLikeTypeTraits<uintptr_t> {
|
/external/llvm/include/llvm/ADT/ |
D | PointerUnion.h | 61 PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable), 62 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable), 104 PointerLikeTypeTraits<PT1>::getAsVoidPointer(V))) {} 106 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)), 114 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer()); 133 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer()); 170 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(RHS))); 175 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)), 206 class PointerLikeTypeTraits<PointerUnion<PT1, PT2>> { 217 NumLowBitsAvailable = PointerLikeTypeTraits< [all …]
|
D | PointerIntPair.h | 44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>, 186 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable; 191 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable; 204 class PointerLikeTypeTraits<
|
D | PointerEmbeddedInt.h | 52 friend class PointerLikeTypeTraits<PointerEmbeddedInt>; variable 83 class PointerLikeTypeTraits<PointerEmbeddedInt<IntT, Bits>> {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | PointerUnion.h | 65 PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable), 66 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable), 108 PointerLikeTypeTraits<PT1>::getAsVoidPointer(V))) {} 110 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)), 118 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer()); 137 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer()); 174 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(RHS))); 179 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)), 210 class PointerLikeTypeTraits<PointerUnion<PT1, PT2>> { 222 NumLowBitsAvailable = PointerLikeTypeTraits< [all …]
|
D | PointerIntPair.h | 44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>, 186 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable; 191 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable; 204 class PointerLikeTypeTraits<
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | PointerUnion.h | 64 return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...}); 113 friend struct PointerLikeTypeTraits<Derived>; 126 PointerLikeTypeTraits<Type>::getAsVoidPointer(V)), 132 const_cast<void *>(PointerLikeTypeTraits<Type>::getAsVoidPointer(V)), 196 return PointerLikeTypeTraits<T>::getFromVoidPointer(this->Val.getPointer()); 218 PointerLikeTypeTraits<First>::getAsVoidPointer(get<First>()) == 260 struct PointerLikeTypeTraits<PointerUnion<PTs...>> { 271 static constexpr int NumLowBitsAvailable = PointerLikeTypeTraits<decltype(
|
D | PointerIntPair.h | 43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>, 200 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable; 206 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable; 221 struct PointerLikeTypeTraits<
|
D | PointerEmbeddedInt.h | 54 friend struct PointerLikeTypeTraits<PointerEmbeddedInt>; 82 struct PointerLikeTypeTraits<PointerEmbeddedInt<IntT, Bits>> {
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | PointerUnion.h | 64 return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...}); 106 friend struct PointerLikeTypeTraits<Derived>; 119 PointerLikeTypeTraits<Type>::getAsVoidPointer(V)), 125 const_cast<void *>(PointerLikeTypeTraits<Type>::getAsVoidPointer(V)), 189 return PointerLikeTypeTraits<T>::getFromVoidPointer(this->Val.getPointer()); 211 PointerLikeTypeTraits<First>::getAsVoidPointer(get<First>()) == 253 struct PointerLikeTypeTraits<PointerUnion<PTs...>> { 264 static constexpr int NumLowBitsAvailable = PointerLikeTypeTraits<decltype(
|
D | PointerIntPair.h | 43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>, 200 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable; 206 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable; 221 struct PointerLikeTypeTraits<
|
D | PointerEmbeddedInt.h | 54 friend struct PointerLikeTypeTraits<PointerEmbeddedInt>; 82 struct PointerLikeTypeTraits<PointerEmbeddedInt<IntT, Bits>> {
|
/external/llvm/unittests/ADT/ |
D | PointerEmbeddedIntTest.cpp | 22 PointerLikeTypeTraits<decltype(I)>::NumLowBitsAvailable); in TEST() 68 TEST(PointerEmbeddedIntTest, PointerLikeTypeTraits) { in TEST() argument 70 using ITraits = PointerLikeTypeTraits<decltype(I)>; in TEST() 75 using MaxTraits = PointerLikeTypeTraits<decltype(Max)>; in TEST()
|
/external/llvm-project/llvm/unittests/ADT/ |
D | PointerEmbeddedIntTest.cpp | 21 (int)PointerLikeTypeTraits<decltype(I)>::NumLowBitsAvailable); in TEST() 67 TEST(PointerEmbeddedIntTest, PointerLikeTypeTraits) { in TEST() argument 69 using ITraits = PointerLikeTypeTraits<decltype(I)>; in TEST() 74 using MaxTraits = PointerLikeTypeTraits<decltype(Max)>; in TEST()
|
/external/llvm-project/clang/include/clang/CodeGen/ |
D | ConstantInitFuture.h | 33 struct PointerLikeTypeTraits< ::clang::CodeGen::ConstantInitBuilderBase*> { 83 llvm::PointerLikeTypeTraits<PairTy>::NumLowBitsAvailable; 92 struct PointerLikeTypeTraits< ::clang::CodeGen::ConstantInitFuture> {
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | Value.h | 67 struct ImplTypeTraits : public llvm::PointerLikeTypeTraits<void *> { 370 template <> struct PointerLikeTypeTraits<mlir::Value> { 380 PointerLikeTypeTraits<mlir::Value::ImplType>::NumLowBitsAvailable 404 template <> struct PointerLikeTypeTraits<mlir::BlockArgument> { 414 PointerLikeTypeTraits<mlir::Value>::NumLowBitsAvailable
|
D | BuiltinOps.h | 66 struct PointerLikeTypeTraits<mlir::FuncOp> { 78 struct PointerLikeTypeTraits<mlir::ModuleOp> {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | SymbolStringPool.h | 130 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable; 134 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable; 138 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable;
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
D | SymbolStringPool.h | 135 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable; 139 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable; 143 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable;
|
/external/llvm-project/clang/include/clang/AST/ |
D | Redeclarable.h | 373 friend struct llvm::PointerLikeTypeTraits<CanonicalDeclPtr<decl_type>>; 412 struct PointerLikeTypeTraits<clang::CanonicalDeclPtr<decl_type>> { 418 C.Ptr = PointerLikeTypeTraits<decl_type *>::getFromVoidPtr(P); 422 PointerLikeTypeTraits<decl_type *>::NumLowBitsAvailable;
|
D | DeclGroup.h | 139 struct PointerLikeTypeTraits; 141 struct PointerLikeTypeTraits<clang::DeclGroupRef> {
|
/external/clang/include/clang/Sema/ |
D | Ownership.h | 50 typedef llvm::PointerLikeTypeTraits<PtrTy> Traits; 111 class PointerLikeTypeTraits<clang::OpaquePtr<T> > { 183 typedef llvm::PointerLikeTypeTraits<PtrTy> PtrTraits;
|