Home
last modified time | relevance | path

Searched refs:getAsVoidPointer (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm/include/llvm/Support/
DPointerLikeTypeTraits.h42 static inline void *getAsVoidPointer(T *P) { return P; }
52 static inline void *getAsVoidPointer(void *P) { return P; }
70 static inline const void *getAsVoidPointer(const T *P) {
71 return NonConst::getAsVoidPointer(const_cast<T *>(P));
82 static inline void *getAsVoidPointer(uintptr_t P) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DPointerLikeTypeTraits.h42 static inline void *getAsVoidPointer(T *P) { return P; }
50 static inline void *getAsVoidPointer(void *P) { return P; }
68 static inline const void *getAsVoidPointer(const T *P) {
69 return NonConst::getAsVoidPointer(const_cast<T *>(P));
80 static inline void *getAsVoidPointer(uintptr_t P) {
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPointerLikeTypeTraits.h36 static inline void *getAsVoidPointer(T* P) { return P; } in getAsVoidPointer() function
56 static inline const void *getAsVoidPointer(const T* P) { in getAsVoidPointer() function
57 return NonConst::getAsVoidPointer(const_cast<T*>(P)); in getAsVoidPointer()
69 static inline void *getAsVoidPointer(uintptr_t P) { in getAsVoidPointer() function
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DPointerUnion.h54 static inline void *getAsVoidPointer(void *P) { return P; }
100 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(V)));
105 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)));
161 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(RHS)));
167 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)));
186 getAsVoidPointer(const PointerUnion<PT1, PT2> &P) {
319 getAsVoidPointer(const PointerUnion3<PT1, PT2, PT3> &P) {
432 getAsVoidPointer(const PointerUnion4<PT1, PT2, PT3, PT4> &P) {
DSmallPtrSet.h253 return insert_imp(PtrTraits::getAsVoidPointer(Ptr));
259 return erase_imp(PtrTraits::getAsVoidPointer(Ptr));
264 return count_imp(PtrTraits::getAsVoidPointer(Ptr));
DPointerIntPair.h78 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr)); in setPointer()
150 getAsVoidPointer(const PointerIntPair<PointerTy, IntBits, IntType> &P) {
/external/clang/include/clang/Sema/
DOwnership.h80 Ptr = Traits::getAsVoidPointer(P); in set()
113 static inline void *getAsVoidPointer(clang::OpaquePtr<T> P) { in getAsVoidPointer() function
189 void *VP = PtrTraits::getAsVoidPointer(V);
210 void *VP = PtrTraits::getAsVoidPointer(V);
216 void *VP = PtrTraits::getAsVoidPointer(RHS);
/external/llvm/include/llvm/ADT/
DPointerUnion.h58 static inline void *getAsVoidPointer(void *P) { return P; }
104 PointerLikeTypeTraits<PT1>::getAsVoidPointer(V))) {}
106 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)),
170 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(RHS)));
175 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)),
208 static inline void *getAsVoidPointer(const PointerUnion<PT1, PT2> &P) {
328 static inline void *getAsVoidPointer(const PointerUnion3<PT1, PT2, PT3> &P) {
435 getAsVoidPointer(const PointerUnion4<PT1, PT2, PT3, PT4> &P) {
DSmallPtrSet.h318 auto p = insert_imp(PtrTraits::getAsVoidPointer(Ptr));
325 return erase_imp(PtrTraits::getAsVoidPointer(Ptr));
330 return count_imp(PtrTraits::getAsVoidPointer(Ptr)) ? 1 : 0;
DPointerIntPair.h158 reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr)); in updatePointer()
208 getAsVoidPointer(const PointerIntPair<PointerTy, IntBits, IntType> &P) {
DPointerEmbeddedInt.h87 static inline void *getAsVoidPointer(const T &P) { in getAsVoidPointer() function
DPointerSumType.h75 void *V = HelperT::template Lookup<N>::TraitsT::getAsVoidPointer(Pointer); in create()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DPointerUnion.h61 static inline void *getAsVoidPointer(void *P) { return P; }
108 PointerLikeTypeTraits<PT1>::getAsVoidPointer(V))) {}
110 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)),
174 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(RHS)));
179 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)),
212 static inline void *getAsVoidPointer(const PointerUnion<PT1, PT2> &P) {
333 static inline void *getAsVoidPointer(const PointerUnion3<PT1, PT2, PT3> &P) {
441 getAsVoidPointer(const PointerUnion4<PT1, PT2, PT3, PT4> &P) {
DSmallPtrSet.h359 auto p = insert_imp(PtrTraits::getAsVoidPointer(Ptr));
366 return erase_imp(PtrTraits::getAsVoidPointer(Ptr));
371 return count_imp(PtrTraits::getAsVoidPointer(Ptr)) ? 1 : 0;
DPointerIntPair.h158 reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr)); in updatePointer()
208 getAsVoidPointer(const PointerIntPair<PointerTy, IntBits, IntType> &P) {
/external/llvm/unittests/ADT/
DPointerEmbeddedIntTest.cpp71 EXPECT_EQ(42, ITraits::getFromVoidPointer(ITraits::getAsVoidPointer(I))); in TEST()
77 MaxTraits::getFromVoidPointer(MaxTraits::getAsVoidPointer(Max))); in TEST()
DPointerIntPairTest.cpp80 static inline void *getAsVoidPointer(Fixnum31 Num) { in TEST() function in __anonae12bf4b0111::TEST::FixnumPointerTraits
/external/clang/include/clang/AST/
DTemplateName.h299 void *getAsVoidPointer() const { return Storage.getOpaqueValue(); } in getAsVoidPointer() function
520 static inline void *getAsVoidPointer(clang::TemplateName TN) { in getAsVoidPointer() function
521 return TN.getAsVoidPointer(); in getAsVoidPointer()
DDeclGroup.h145 static inline void *getAsVoidPointer(clang::DeclGroupRef P) { in getAsVoidPointer() function
DTemplateBase.h164 TemplateArg.Name = Name.getAsVoidPointer(); in TemplateArgument()
181 TemplateArg.Name = Name.getAsVoidPointer(); in TemplateArgument()
/external/clang/include/clang/Basic/
DIdentifierTable.h855 static inline const void *getAsVoidPointer(clang::Selector P) {
869 static inline void *getAsVoidPointer(clang::IdentifierInfo* P) {
881 static inline const void *getAsVoidPointer(const clang::IdentifierInfo* P) {
/external/llvm/include/llvm/IR/
DUse.h42 static inline void *getAsVoidPointer(Use **P) { return P; } in getAsVoidPointer() function
/external/swiftshader/third_party/LLVM/include/llvm/
DUse.h44 static inline void *getAsVoidPointer(Use** P) { return P; } in getAsVoidPointer() function
DInstruction.h388 static inline void *getAsVoidPointer(PT P) { return P; } in getAsVoidPointer() function
/external/clang/lib/AST/
DTemplateName.cpp38 ID.AddPointer(replacement.getAsVoidPointer()); in Profile()

12