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

/freebsd-10-stable/contrib/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...]
H A DValueHandle.h27 class PointerLikeTypeTraits<ValueHandleBase**> { class in namespace:llvm
/freebsd-10-stable/contrib/llvm/include/llvm/ADT/
H A DPointerUnion.h50 /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion
58 PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable),
59 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable),
100 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(V))) {
103 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)), 1) {
111 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer());
131 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer());
153 "Can't get the address because PointerLikeTypeTraits changes the ptr");
161 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(RHS)));
166 const_cast<void *>(PointerLikeTypeTraits<PT
194 class PointerLikeTypeTraits<PointerUnion<PT1, PT2> > { class in namespace:llvm
327 class PointerLikeTypeTraits<PointerUnion3<PT1, PT2, PT3> > { class in namespace:llvm
440 class PointerLikeTypeTraits<PointerUnion4<PT1, PT2, PT3, PT4> > { class in namespace:llvm
[all...]
H A DPointerIntPair.h18 #include "llvm/Support/PointerLikeTypeTraits.h"
30 /// on the number of bits available according to PointerLikeTypeTraits for the
41 typename PtrTraits = PointerLikeTypeTraits<PointerTy> >
161 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
166 Val <<= PointerLikeTypeTraits<PointerTy>::NumLowBitsAvailable;
179 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"
175 typedef PointerLikeTypeTraits<PtrTy> PtrTraits;
241 typedef PointerLikeTypeTraits<PtrType> PtrTraits;
/freebsd-10-stable/contrib/llvm/tools/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 DTemplateName.h546 class PointerLikeTypeTraits<clang::TemplateName> { class in namespace:llvm
H A DCanonicalType.h363 class PointerLikeTypeTraits<clang::CanQual<T> > { class in namespace:llvm
H A DDeclBase.h58 class PointerLikeTypeTraits<clang::DeclContext*> { class in namespace:llvm
H A DType.h48 class PointerLikeTypeTraits;
50 class PointerLikeTypeTraits< ::clang::Type*> { class in namespace:llvm
59 class PointerLikeTypeTraits< ::clang::ExtQuals*> { class in namespace:llvm
1010 class PointerLikeTypeTraits<clang::QualType> { class in namespace:llvm
H A DDeclCXX.h73 // Provide PointerLikeTypeTraits for non-cvr pointers.
75 class PointerLikeTypeTraits< ::clang::AnyFunctionDecl> { class in namespace:llvm
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
H A DOwnership.h49 typedef llvm::PointerLikeTypeTraits<PtrTy> Traits;
110 class PointerLikeTypeTraits<clang::OpaquePtr<T> > { class in namespace:llvm
184 typedef llvm::PointerLikeTypeTraits<PtrTy> PtrTraits;
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
H A DIdentifierTable.h25 #include "llvm/Support/PointerLikeTypeTraits.h"
816 class PointerLikeTypeTraits<clang::Selector> {
827 // Provide PointerLikeTypeTraits for IdentifierInfo pointers, which
830 class PointerLikeTypeTraits<clang::IdentifierInfo*> {
842 class PointerLikeTypeTraits<const clang::IdentifierInfo*> {
H A DSourceLocation.h20 #include "llvm/Support/PointerLikeTypeTraits.h"
425 class PointerLikeTypeTraits<clang::SourceLocation> { class in namespace:clang::llvm
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
H A DUse.h45 class PointerLikeTypeTraits<Use**> { class in namespace:llvm
H A DAttributes.h22 #include "llvm/Support/PointerLikeTypeTraits.h"
369 Val <<= PointerLikeTypeTraits<void*>::NumLowBitsAvailable;
374 Val <<= PointerLikeTypeTraits<void*>::NumLowBitsAvailable;
H A DInstruction.h455 class PointerLikeTypeTraits<Instruction*> { class in namespace:llvm
H A DValue.h430 class PointerLikeTypeTraits<Value*> { class in namespace:llvm

Completed in 150 milliseconds