Home
last modified time | relevance | path

Searched refs:PointerLikeTypeTraits (Results 1 – 25 of 88) sorted by relevance

1234

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DPointerLikeTypeTraits.h25 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/
DPointerLikeTypeTraits.h25 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/
DPointerLikeTypeTraits.h25 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/
DPointerLikeTypeTraits.h25 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/
DPointerUnion.h61 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 …]
DPointerIntPair.h44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
186 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable;
191 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
204 class PointerLikeTypeTraits<
DPointerEmbeddedInt.h52 friend class PointerLikeTypeTraits<PointerEmbeddedInt>; variable
83 class PointerLikeTypeTraits<PointerEmbeddedInt<IntT, Bits>> {
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DPointerUnion.h65 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 …]
DPointerIntPair.h44 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/
DPointerUnion.h64 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(
DPointerIntPair.h43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
200 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable;
206 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
221 struct PointerLikeTypeTraits<
DPointerEmbeddedInt.h54 friend struct PointerLikeTypeTraits<PointerEmbeddedInt>;
82 struct PointerLikeTypeTraits<PointerEmbeddedInt<IntT, Bits>> {
/external/llvm-project/llvm/include/llvm/ADT/
DPointerUnion.h64 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(
DPointerIntPair.h43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
200 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable;
206 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
221 struct PointerLikeTypeTraits<
DPointerEmbeddedInt.h54 friend struct PointerLikeTypeTraits<PointerEmbeddedInt>;
82 struct PointerLikeTypeTraits<PointerEmbeddedInt<IntT, Bits>> {
/external/llvm/unittests/ADT/
DPointerEmbeddedIntTest.cpp22 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/
DPointerEmbeddedIntTest.cpp21 (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/
DConstantInitFuture.h33 struct PointerLikeTypeTraits< ::clang::CodeGen::ConstantInitBuilderBase*> {
83 llvm::PointerLikeTypeTraits<PairTy>::NumLowBitsAvailable;
92 struct PointerLikeTypeTraits< ::clang::CodeGen::ConstantInitFuture> {
/external/llvm-project/mlir/include/mlir/IR/
DValue.h67 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
DBuiltinOps.h66 struct PointerLikeTypeTraits<mlir::FuncOp> {
78 struct PointerLikeTypeTraits<mlir::ModuleOp> {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DSymbolStringPool.h130 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable;
134 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable;
138 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable;
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DSymbolStringPool.h135 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable;
139 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable;
143 << PointerLikeTypeTraits<PoolEntryPtr>::NumLowBitsAvailable;
/external/llvm-project/clang/include/clang/AST/
DRedeclarable.h373 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;
DDeclGroup.h139 struct PointerLikeTypeTraits;
141 struct PointerLikeTypeTraits<clang::DeclGroupRef> {
/external/clang/include/clang/Sema/
DOwnership.h50 typedef llvm::PointerLikeTypeTraits<PtrTy> Traits;
111 class PointerLikeTypeTraits<clang::OpaquePtr<T> > {
183 typedef llvm::PointerLikeTypeTraits<PtrTy> PtrTraits;

1234