/external/llvm-project/llvm/include/llvm/ADT/ |
D | DenseMapInfo.h | 47 struct DenseMapInfo { struct 60 struct DenseMapInfo<T*> { 88 template<> struct DenseMapInfo<char> { 99 template <> struct DenseMapInfo<unsigned char> { 110 template <> struct DenseMapInfo<unsigned short> { 121 template<> struct DenseMapInfo<unsigned> { 132 template<> struct DenseMapInfo<unsigned long> { 146 template<> struct DenseMapInfo<unsigned long long> { 161 template <> struct DenseMapInfo<short> { 169 template<> struct DenseMapInfo<int> { [all …]
|
D | CachedHashString.h | 36 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef() 49 template <> struct DenseMapInfo<CachedHashStringRef> { 51 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0); 54 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1); 64 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val()); 72 friend struct DenseMapInfo<CachedHashString>; 78 static char *getEmptyKeyPtr() { return DenseMapInfo<char *>::getEmptyKey(); } 80 return DenseMapInfo<char *>::getTombstoneKey(); 101 : CachedHashString(S, DenseMapInfo<StringRef>::getHashValue(S)) {} 152 template <> struct DenseMapInfo<CachedHashString> {
|
/external/llvm/include/llvm/ADT/ |
D | DenseMapInfo.h | 26 struct DenseMapInfo { struct 35 Hash = DenseMapInfo<T>::getHashValue(Val); in CachedHash() 43 template <typename T> struct DenseMapInfo<CachedHash<T>> { 45 T N = DenseMapInfo<T>::getEmptyKey(); 49 T N = DenseMapInfo<T>::getTombstoneKey(); 59 return DenseMapInfo<T>::isEqual(A.Val, B.Val); 65 struct DenseMapInfo<T*> { 84 template<> struct DenseMapInfo<char> { 94 template<> struct DenseMapInfo<unsigned> { 104 template<> struct DenseMapInfo<unsigned long> { [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | DenseMapInfo.h | 29 struct DenseMapInfo { struct 38 struct DenseMapInfo<T*> { 60 template<> struct DenseMapInfo<char> { 71 template <> struct DenseMapInfo<unsigned char> { 82 template <> struct DenseMapInfo<unsigned short> { 93 template<> struct DenseMapInfo<unsigned> { 104 template<> struct DenseMapInfo<unsigned long> { 118 template<> struct DenseMapInfo<unsigned long long> { 133 template <> struct DenseMapInfo<short> { 141 template<> struct DenseMapInfo<int> { [all …]
|
D | CachedHashString.h | 37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef() 50 template <> struct DenseMapInfo<CachedHashStringRef> { 52 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0); 55 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1); 65 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val()); 73 friend struct DenseMapInfo<CachedHashString>; 79 static char *getEmptyKeyPtr() { return DenseMapInfo<char *>::getEmptyKey(); } 81 return DenseMapInfo<char *>::getTombstoneKey(); 102 : CachedHashString(S, DenseMapInfo<StringRef>::getHashValue(S)) {} 153 template <> struct DenseMapInfo<CachedHashString> {
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenTBAA.h | 219 template<> struct DenseMapInfo<clang::CodeGen::TBAAAccessInfo> { 221 unsigned UnsignedKey = DenseMapInfo<unsigned>::getEmptyKey(); 224 DenseMapInfo<MDNode *>::getEmptyKey(), 225 DenseMapInfo<MDNode *>::getEmptyKey(), 226 DenseMapInfo<uint64_t>::getEmptyKey(), 227 DenseMapInfo<uint64_t>::getEmptyKey()); 231 unsigned UnsignedKey = DenseMapInfo<unsigned>::getTombstoneKey(); 234 DenseMapInfo<MDNode *>::getTombstoneKey(), 235 DenseMapInfo<MDNode *>::getTombstoneKey(), 236 DenseMapInfo<uint64_t>::getTombstoneKey(), [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | DenseMapInfo.h | 26 struct DenseMapInfo { struct 35 struct DenseMapInfo<T*> { 54 template<> struct DenseMapInfo<char> { 64 template<> struct DenseMapInfo<unsigned> { 74 template<> struct DenseMapInfo<unsigned long> { 86 template<> struct DenseMapInfo<unsigned long long> { 99 template<> struct DenseMapInfo<int> { 109 template<> struct DenseMapInfo<long> { 123 template<> struct DenseMapInfo<long long> { 137 struct DenseMapInfo<std::pair<T, U> > { [all …]
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.h | 126 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> { 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_t>::getHashValue(Val.Offset);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ValueHandle.h | 99 V != DenseMapInfo<Value *>::getEmptyKey() && in isValid() 100 V != DenseMapInfo<Value *>::getTombstoneKey(); in isValid() 175 template <> struct DenseMapInfo<WeakVH> { 177 return WeakVH(DenseMapInfo<Value *>::getEmptyKey()); 181 return WeakVH(DenseMapInfo<Value *>::getTombstoneKey()); 185 return DenseMapInfo<Value *>::getHashValue(Val); 189 return DenseMapInfo<Value *>::isEqual(LHS, RHS); 261 friend struct DenseMapInfo<AssertingVH<ValueTy>>; 308 struct DenseMapInfo<AssertingVH<T>> { 311 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey()); [all …]
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ValueHandle.h | 103 V != DenseMapInfo<Value *>::getEmptyKey() && in isValid() 104 V != DenseMapInfo<Value *>::getTombstoneKey(); in isValid() 179 template <> struct DenseMapInfo<WeakVH> { 181 return WeakVH(DenseMapInfo<Value *>::getEmptyKey()); 185 return WeakVH(DenseMapInfo<Value *>::getTombstoneKey()); 189 return DenseMapInfo<Value *>::getHashValue(Val); 193 return DenseMapInfo<Value *>::isEqual(LHS, RHS); 265 friend struct DenseMapInfo<AssertingVH<ValueTy>>; 313 struct DenseMapInfo<AssertingVH<T>> : DenseMapInfo<T *> {}; 450 friend struct DenseMapInfo<PoisoningVH<ValueTy>>; [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | BaseSubobject.h | 57 template<> struct DenseMapInfo<clang::BaseSubobject> { 60 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(), 61 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey())); 66 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(), 67 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey())); 73 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
|
D | ASTTypeTraits.h | 104 struct DenseMapInfo { struct 346 struct DenseMapInfo { 349 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey(); 354 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 376 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey(); 377 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 378 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) && 379 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) || 380 (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, TombStone) && 381 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, TombStone)) || [all …]
|
/external/clang/include/clang/AST/ |
D | BaseSubobject.h | 54 template<> struct DenseMapInfo<clang::BaseSubobject> { 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(),
|
D | ASTTypeTraits.h | 97 struct DenseMapInfo { struct 328 struct DenseMapInfo { 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::isEqual(LHS.NodeKind, TombStone) && 363 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, TombStone)) || [all …]
|
/external/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
D | FileEntry.h | 48 template <> struct DenseMapInfo<gsym::FileEntry> { 50 uint32_t key = DenseMapInfo<uint32_t>::getEmptyKey(); 54 uint32_t key = DenseMapInfo<uint32_t>::getTombstoneKey(); 58 return llvm::hash_combine(DenseMapInfo<uint32_t>::getHashValue(Val.Dir), 59 DenseMapInfo<uint32_t>::getHashValue(Val.Base));
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/ |
D | FileEntry.h | 48 template <> struct DenseMapInfo<gsym::FileEntry> { 50 uint32_t key = DenseMapInfo<uint32_t>::getEmptyKey(); 54 uint32_t key = DenseMapInfo<uint32_t>::getTombstoneKey(); 58 return llvm::hash_combine(DenseMapInfo<uint32_t>::getHashValue(Val.Dir), 59 DenseMapInfo<uint32_t>::getHashValue(Val.Base));
|
/external/llvm/lib/Analysis/ |
D | AliasAnalysisSummary.h | 171 template <> struct DenseMapInfo<cflaa::InstantiatedValue> { 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | MemoryLocation.h | 272 template <> struct DenseMapInfo<LocationSize> { 280 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw()); 287 template <> struct DenseMapInfo<MemoryLocation> { 289 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 290 DenseMapInfo<LocationSize>::getEmptyKey()); 293 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 294 DenseMapInfo<LocationSize>::getTombstoneKey()); 297 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 298 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^ 299 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCRegister.h | 93 template<> struct DenseMapInfo<MCRegister> { 95 return DenseMapInfo<unsigned>::getEmptyKey(); 98 return DenseMapInfo<unsigned>::getTombstoneKey(); 101 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 104 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|
/external/llvm-project/polly/include/polly/Support/ |
D | VirtualInstruction.h | 231 friend struct llvm::DenseMapInfo<VirtualInstruction>; 313 template <> struct DenseMapInfo<polly::VirtualInstruction> { 317 return DenseMapInfo<polly::ScopStmt *>::isEqual(LHS.getStmt(), 319 DenseMapInfo<Instruction *>::isEqual(LHS.getInstruction(), 325 TombstoneKey.Stmt = DenseMapInfo<polly::ScopStmt *>::getTombstoneKey(); 326 TombstoneKey.Inst = DenseMapInfo<Instruction *>::getTombstoneKey(); 332 EmptyKey.Stmt = DenseMapInfo<polly::ScopStmt *>::getEmptyKey(); 333 EmptyKey.Inst = DenseMapInfo<Instruction *>::getEmptyKey(); 338 return DenseMapInfo<std::pair<polly::ScopStmt *, Instruction *>>::
|
/external/llvm/include/llvm/Analysis/ |
D | MemoryLocation.h | 124 template <> struct DenseMapInfo<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);
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | MemoryLocation.h | 316 template <> struct DenseMapInfo<LocationSize> { 324 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw()); 331 template <> struct DenseMapInfo<MemoryLocation> { 333 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 334 DenseMapInfo<LocationSize>::getEmptyKey()); 337 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 338 DenseMapInfo<LocationSize>::getTombstoneKey()); 341 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 342 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^ 343 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
|
/external/llvm-project/llvm/include/llvm/MC/ |
D | MCRegister.h | 94 template<> struct DenseMapInfo<MCRegister> { 96 return DenseMapInfo<unsigned>::getEmptyKey(); 99 return DenseMapInfo<unsigned>::getTombstoneKey(); 102 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 105 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | Register.h | 139 template<> struct DenseMapInfo<Register> { 141 return DenseMapInfo<unsigned>::getEmptyKey(); 144 return DenseMapInfo<unsigned>::getTombstoneKey(); 147 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 150 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | Register.h | 148 template<> struct DenseMapInfo<Register> { 150 return DenseMapInfo<unsigned>::getEmptyKey(); 153 return DenseMapInfo<unsigned>::getTombstoneKey(); 156 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 159 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|