Searched refs:PointerLikeTypeTraits (Results 1 - 20 of 20) sorted by relevance

/external/llvm/include/llvm/Support/
H A DPointerLikeTypeTraits.h1 //===- llvm/Support/PointerLikeTypeTraits.h - Pointer Traits ----*- C++ -*-===//
10 // This file defines the PointerLikeTypeTraits class. This allows data
22 /// PointerLikeTypeTraits - This is a traits object that is used to handle
26 class PointerLikeTypeTraits { class in namespace:llvm
32 // Provide PointerLikeTypeTraits for non-cvr pointers.
34 class PointerLikeTypeTraits<T*> { class in namespace:llvm
50 // Provide PointerLikeTypeTraits for const pointers.
52 class PointerLikeTypeTraits<const T*> { class in namespace:llvm
53 typedef PointerLikeTypeTraits<T*> NonConst;
65 // Provide PointerLikeTypeTraits fo
67 class PointerLikeTypeTraits<uintptr_t> { class in namespace:llvm
[all...]
/external/llvm/include/llvm/ADT/
H A DPointerUnion.h51 /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion
59 PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable),
60 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable),
101 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(V))) {
104 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)), 1) {
112 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer());
132 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer());
154 "Can't get the address because PointerLikeTypeTraits changes the ptr");
168 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(RHS)));
173 const_cast<void *>(PointerLikeTypeTraits<PT
201 class PointerLikeTypeTraits<PointerUnion<PT1, PT2> > { class in namespace:llvm
340 class PointerLikeTypeTraits<PointerUnion3<PT1, PT2, PT3> > { class in namespace:llvm
459 class PointerLikeTypeTraits<PointerUnion4<PT1, PT2, PT3, PT4> > { class in namespace:llvm
[all...]
H A DPointerIntPair.h18 #include "llvm/Support/PointerLikeTypeTraits.h"
31 /// on the number of bits available according to PointerLikeTypeTraits for the
42 typename PtrTraits = PointerLikeTypeTraits<PointerTy> >
165 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable;
170 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
183 class PointerLikeTypeTraits<PointerIntPair<PointerTy, IntBits, IntType,
H A DDenseMapInfo.h17 #include "llvm/Support/PointerLikeTypeTraits.h"
35 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
40 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
H A DSmallPtrSet.h20 #include "llvm/Support/PointerLikeTypeTraits.h"
179 typedef PointerLikeTypeTraits<PtrTy> PtrTraits;
242 typedef PointerLikeTypeTraits<PtrType> PtrTraits;
/external/clang/include/clang/AST/
H A DDeclGroup.h140 // DeclGroupRef is "like a pointer", implement PointerLikeTypeTraits.
142 class PointerLikeTypeTraits;
144 class PointerLikeTypeTraits<clang::DeclGroupRef> { class in namespace:llvm
H A DExternalASTSource.h449 /// Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be
454 struct PointerLikeTypeTraits< struct in namespace:llvm
460 NumLowBitsAvailable = PointerLikeTypeTraits<T>::NumLowBitsAvailable - 1
H A DTemplateName.h546 class PointerLikeTypeTraits<clang::TemplateName> { class in namespace:llvm
H A DCanonicalType.h362 class PointerLikeTypeTraits<clang::CanQual<T> > { class in namespace:llvm
H A DType.h47 class PointerLikeTypeTraits;
49 class PointerLikeTypeTraits< ::clang::Type*> { class in namespace:llvm
58 class PointerLikeTypeTraits< ::clang::ExtQuals*> { class in namespace:llvm
1009 class PointerLikeTypeTraits<clang::QualType> { class in namespace:llvm
H A DDeclCXX.h72 // Provide PointerLikeTypeTraits for non-cvr pointers.
74 class PointerLikeTypeTraits< ::clang::AnyFunctionDecl> { class in namespace:llvm
/external/llvm/unittests/ADT/
H A DPointerIntPairTest.cpp72 PointerLikeTypeTraits<decltype(pair)>::NumLowBitsAvailable);
/external/clang/include/clang/Sema/
H A DOwnership.h49 typedef llvm::PointerLikeTypeTraits<PtrTy> Traits;
110 class PointerLikeTypeTraits<clang::OpaquePtr<T> > { class in namespace:llvm
182 typedef llvm::PointerLikeTypeTraits<PtrTy> PtrTraits;
/external/clang/include/clang/Basic/
H A DIdentifierTable.h814 template <typename T> class PointerLikeTypeTraits;
817 class PointerLikeTypeTraits<clang::Selector> {
828 // Provide PointerLikeTypeTraits for IdentifierInfo pointers, which
831 class PointerLikeTypeTraits<clang::IdentifierInfo*> {
843 class PointerLikeTypeTraits<const clang::IdentifierInfo*> {
H A DSourceLocation.h20 #include "llvm/Support/PointerLikeTypeTraits.h"
425 class PointerLikeTypeTraits<clang::SourceLocation> { class in namespace:clang::llvm
/external/llvm/include/llvm/IR/
H A DUse.h43 template <> class PointerLikeTypeTraits<Use **> { class in namespace:llvm
H A DAttributes.h22 #include "llvm/Support/PointerLikeTypeTraits.h"
372 Val <<= PointerLikeTypeTraits<void*>::NumLowBitsAvailable;
377 Val <<= PointerLikeTypeTraits<void*>::NumLowBitsAvailable;
H A DInstruction.h473 class PointerLikeTypeTraits<Instruction*> { class in namespace:llvm
H A DValueHandle.h27 class PointerLikeTypeTraits<ValueHandleBase**> { class in namespace:llvm
H A DValue.h548 class PointerLikeTypeTraits<Value*> { class in namespace:llvm

Completed in 311 milliseconds