/external/clang/include/clang/AST/ |
H A D | BaseSubobject.h | 54 template<> struct DenseMapInfo<clang::BaseSubobject> { struct in namespace:llvm 57 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(), 58 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey())); 63 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(), 64 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey())); 69 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
|
H A D | TypeOrdering.h | 38 template<class> struct DenseMapInfo; 40 template<> struct DenseMapInfo<clang::QualType> { struct in namespace:llvm 58 template<> struct DenseMapInfo<clang::CanQualType> { struct in namespace:llvm
|
H A D | ASTTypeTraits.h | 26 #include "llvm/ADT/DenseMapInfo.h" 97 struct DenseMapInfo { struct in class:clang::ast_type_traits::ASTNodeKind 328 struct DenseMapInfo { struct in class:clang::ast_type_traits::DynTypedNode 331 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey(); 336 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 358 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey(); 359 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 360 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) && 361 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) || 362 (ASTNodeKind::DenseMapInfo 502 struct DenseMapInfo<clang::ast_type_traits::ASTNodeKind> struct in namespace:llvm 506 struct DenseMapInfo<clang::ast_type_traits::DynTypedNode> struct in namespace:llvm [all...] |
H A D | GlobalDecl.h | 96 template<class> struct DenseMapInfo; 98 template<> struct DenseMapInfo<clang::GlobalDecl> { struct in namespace:llvm 109 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
|
H A D | CharUnits.h | 17 #include "llvm/ADT/DenseMapInfo.h" 215 template<> struct DenseMapInfo<clang::CharUnits> { struct in namespace:llvm 218 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey(); 225 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey(); 232 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
|
/external/llvm/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===// 10 // This file defines DenseMapInfo traits for DenseMap. 26 struct DenseMapInfo { struct in namespace:llvm 35 Hash = DenseMapInfo<T>::getHashValue(Val); 42 // Provide DenseMapInfo for all CachedHash<T>. 43 template <typename T> struct DenseMapInfo<CachedHash<T>> { struct in namespace:llvm 45 T N = DenseMapInfo<T>::getEmptyKey(); 49 T N = DenseMapInfo<T>::getTombstoneKey(); 59 return DenseMapInfo<T>::isEqual(A.Val, B.Val); 63 // Provide DenseMapInfo fo 65 struct DenseMapInfo<T*> { struct in namespace:llvm 84 template<> struct DenseMapInfo<char> { struct in namespace:llvm 94 template<> struct DenseMapInfo<unsigned> { struct in namespace:llvm 104 template<> struct DenseMapInfo<unsigned long> { struct in namespace:llvm 116 template<> struct DenseMapInfo<unsigned long long> { struct in namespace:llvm 129 template<> struct DenseMapInfo<int> { struct in namespace:llvm 139 template<> struct DenseMapInfo<long> { struct in namespace:llvm 153 template<> struct DenseMapInfo<long long> { struct in namespace:llvm 167 struct DenseMapInfo<std::pair<T, U> > { struct in namespace:llvm 200 template <> struct DenseMapInfo<StringRef> { struct in namespace:llvm 225 template <typename T> struct DenseMapInfo<ArrayRef<T>> { struct in namespace:llvm [all...] |
H A D | PointerEmbeddedInt.h | 13 #include "llvm/ADT/DenseMapInfo.h" 103 struct DenseMapInfo<PointerEmbeddedInt<IntT, Bits>> { 106 typedef DenseMapInfo<IntT> IntInfo;
|
H A D | PointerSumType.h | 13 #include "llvm/ADT/DenseMapInfo.h" 178 struct DenseMapInfo<PointerSumType<TagT, MemberTs...>> { 185 typedef DenseMapInfo<SomePointerT> SomePointerInfo; 196 return DenseMapInfo<uintptr_t>::getHashValue(OpaqueValue);
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===// 10 // This file defines DenseMapInfo traits for DenseMap. 23 struct DenseMapInfo { struct in namespace:llvm 30 // Provide DenseMapInfo for all pointers. 32 struct DenseMapInfo<T*> { struct in namespace:llvm 50 // Provide DenseMapInfo for chars. 51 template<> struct DenseMapInfo<char> { struct in namespace:llvm 60 // Provide DenseMapInfo for unsigned ints. 61 template<> struct DenseMapInfo<unsigned> { struct in namespace:llvm 70 // Provide DenseMapInfo fo 71 template<> struct DenseMapInfo<unsigned long> { struct in namespace:llvm 83 template<> struct DenseMapInfo<unsigned long long> { struct in namespace:llvm 96 template<> struct DenseMapInfo<int> { struct in namespace:llvm 106 template<> struct DenseMapInfo<long> { struct in namespace:llvm 120 template<> struct DenseMapInfo<long long> { struct in namespace:llvm 134 struct DenseMapInfo<std::pair<T, U> > { struct in namespace:llvm [all...] |
H A D | PointerIntPair.h | 23 struct DenseMapInfo; 122 // Provide specialization of DenseMapInfo for PointerIntPair. 124 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
|
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysisSummary.h | 38 #include "llvm/ADT/DenseMapInfo.h" 171 template <> struct DenseMapInfo<cflaa::InstantiatedValue> { struct in namespace:llvm 173 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getEmptyKey(), 174 DenseMapInfo<unsigned>::getEmptyKey()}; 177 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getTombstoneKey(), 178 DenseMapInfo<unsigned>::getTombstoneKey()}; 181 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue(
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.h | 126 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> { struct in namespace:llvm 129 DenseMapInfo<const clang::Type *>::getEmptyKey(), 130 DenseMapInfo<const MDNode *>::getEmptyKey(), 131 DenseMapInfo<uint64_t>::getEmptyKey()); 136 DenseMapInfo<const clang::Type *>::getTombstoneKey(), 137 DenseMapInfo<const MDNode *>::getTombstoneKey(), 138 DenseMapInfo<uint64_t>::getTombstoneKey()); 142 return DenseMapInfo<const clang::Type *>::getHashValue(Val.BaseT) ^ 143 DenseMapInfo<const MDNode *>::getHashValue(Val.AccessN) ^ 144 DenseMapInfo<uint64_ [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===// 10 // This file defines DenseMapInfo traits for DenseMap. 26 struct DenseMapInfo { struct in namespace:llvm 33 // Provide DenseMapInfo for all pointers. 35 struct DenseMapInfo<T*> { struct in namespace:llvm 53 // Provide DenseMapInfo for chars. 54 template<> struct DenseMapInfo<char> { struct in namespace:llvm 63 // Provide DenseMapInfo for unsigned ints. 64 template<> struct DenseMapInfo<unsigned> { struct in namespace:llvm 73 // Provide DenseMapInfo fo 74 template<> struct DenseMapInfo<unsigned long> { struct in namespace:llvm 86 template<> struct DenseMapInfo<unsigned long long> { struct in namespace:llvm 99 template<> struct DenseMapInfo<int> { struct in namespace:llvm 109 template<> struct DenseMapInfo<long> { struct in namespace:llvm 123 template<> struct DenseMapInfo<long long> { struct in namespace:llvm 137 struct DenseMapInfo<std::pair<T, U> > { struct in namespace:llvm 170 template <> struct DenseMapInfo<StringRef> { struct in namespace:llvm 195 template <typename T> struct DenseMapInfo<ArrayRef<T>> { struct in namespace:llvm [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | MemoryLocation.h | 19 #include "llvm/ADT/DenseMapInfo.h" 123 // Specialize DenseMapInfo for MemoryLocation. 124 template <> struct DenseMapInfo<MemoryLocation> { struct in class:llvm::MemoryLocation 126 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 0); 129 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 0); 132 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 133 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^ 134 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
|
H A D | AliasSetTracker.h | 50 AAInfo(DenseMapInfo<AAMDNodes>::getEmptyKey()) {} 69 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey()) 74 AAInfo = DenseMapInfo<AAMDNodes>::getTombstoneKey(); 85 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey() || 86 AAInfo == DenseMapInfo<AAMDNodes>::getTombstoneKey()) 305 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
|
H A D | AssumptionCache.h | 139 typedef DenseMapInfo<Value *> DMI;
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 36 return DenseMapInfo<const void*>::getHashValue(V); 54 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() || 55 Inst == DenseMapInfo<Instruction*>::getTombstoneKey(); 77 template<> struct DenseMapInfo<SimpleValue> { struct in namespace:llvm 79 return DenseMapInfo<Instruction*>::getEmptyKey(); 82 return DenseMapInfo<Instruction*>::getTombstoneKey(); 89 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { 122 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { 147 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() || 148 Inst == DenseMapInfo<Instructio 170 template<> struct DenseMapInfo<CallValue> { struct in namespace:llvm [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | DebugLoc.h | 18 #include "llvm/ADT/DenseMapInfo.h" 28 friend struct DenseMapInfo<DebugLoc>; 105 struct DenseMapInfo<DebugLoc> { struct in namespace:llvm
|
H A D | ValueHandle.h | 17 #include "llvm/ADT/DenseMapInfo.h" 100 V != DenseMapInfo<Value *>::getEmptyKey() && 101 V != DenseMapInfo<Value *>::getTombstoneKey(); 241 // Specialize DenseMapInfo to allow AssertingVH to participate in DenseMap. 243 struct DenseMapInfo<AssertingVH<T> > { struct in namespace:llvm 244 typedef DenseMapInfo<T*> PointerInfo;
|
/external/llvm/include/llvm/IR/ |
H A D | ValueHandle.h | 17 #include "llvm/ADT/DenseMapInfo.h" 108 V != DenseMapInfo<Value *>::getEmptyKey() && 109 V != DenseMapInfo<Value *>::getTombstoneKey(); 198 friend struct DenseMapInfo<AssertingVH<ValueTy> >; 242 // Specialize DenseMapInfo to allow AssertingVH to participate in DenseMap. 244 struct DenseMapInfo<AssertingVH<T> > { struct in namespace:llvm 247 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey()); 252 Res.setRawValPtr(DenseMapInfo<Value *>::getTombstoneKey()); 256 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr()); 259 return DenseMapInfo<Valu [all...] |
H A D | ValueMap.h | 84 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH> > MapT; 239 friend struct DenseMapInfo<ValueMapCallbackVH>; 292 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > { struct in namespace:llvm 296 return VH(DenseMapInfo<Value *>::getEmptyKey()); 299 return VH(DenseMapInfo<Value *>::getTombstoneKey()); 302 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap()); 305 return DenseMapInfo<KeyT>::getHashValue(Val);
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
H A D | AliasSetTracker.h | 48 TBAAInfo(DenseMapInfo<const MDNode *>::getEmptyKey()) {} 63 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey()) 68 TBAAInfo = DenseMapInfo<const MDNode *>::getTombstoneKey(); 77 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey() || 78 TBAAInfo == DenseMapInfo<const MDNode *>::getTombstoneKey()) 294 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
|
H A D | AliasAnalysis.h | 532 // Specialize DenseMapInfo for Location. 534 struct DenseMapInfo<AliasAnalysis::Location> { struct in namespace:llvm 537 AliasAnalysis::Location(DenseMapInfo<const Value *>::getEmptyKey(), 542 AliasAnalysis::Location(DenseMapInfo<const Value *>::getTombstoneKey(), 546 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 547 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^ 548 DenseMapInfo<const MDNode *>::getHashValue(Val.TBAATag);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 62 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || 63 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); 80 template <> struct DenseMapInfo<SimpleValue> { struct in namespace:llvm 82 return DenseMapInfo<Instruction *>::getEmptyKey(); 85 return DenseMapInfo<Instruction *>::getTombstoneKey(); 92 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { 139 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { 191 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || 192 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); 209 template <> struct DenseMapInfo<CallValu struct in namespace:llvm [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
H A D | DebugLoc.cpp | 11 #include "llvm/ADT/DenseMapInfo.h" 167 DebugLoc DenseMapInfo<DebugLoc>::getEmptyKey() { 171 DebugLoc DenseMapInfo<DebugLoc>::getTombstoneKey() { 175 unsigned DenseMapInfo<DebugLoc>::getHashValue(const DebugLoc &Key) { 182 bool DenseMapInfo<DebugLoc>::isEqual(const DebugLoc &LHS, const DebugLoc &RHS) {
|