| /src/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | DenseMapInfo.h | 52 struct DenseMapInfo { struct 65 struct DenseMapInfo<T*> { 93 template<> struct DenseMapInfo<char> { 104 template <> struct DenseMapInfo<unsigned char> { 115 template <> struct DenseMapInfo<unsigned short> { 126 template<> struct DenseMapInfo<unsigned> { 137 template<> struct DenseMapInfo<unsigned long> { 143 return DenseMapInfo<unsigned>::getHashValue(Val); 154 template<> struct DenseMapInfo<unsigned long long> { 169 template <> struct DenseMapInfo<short> { [all …]
|
| H A 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> {
|
| H A D | DenseMapInfoVariant.h | 24 template <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> { 29 return Variant(std::in_place_index<0>, DenseMapInfo<FirstT>::getEmptyKey()); 34 DenseMapInfo<FirstT>::getTombstoneKey()); 43 return DenseMapInfo<std::pair<size_t, T>>::getHashValuePiecewise( 62 return DenseMapInfo<T>::isEqual(*static_cast<const T *>(ErasedLHS),
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.h | 223 template<> struct DenseMapInfo<clang::CodeGen::TBAAAccessInfo> { 225 unsigned UnsignedKey = DenseMapInfo<unsigned>::getEmptyKey(); 228 DenseMapInfo<MDNode *>::getEmptyKey(), 229 DenseMapInfo<MDNode *>::getEmptyKey(), 230 DenseMapInfo<uint64_t>::getEmptyKey(), 231 DenseMapInfo<uint64_t>::getEmptyKey()); 235 unsigned UnsignedKey = DenseMapInfo<unsigned>::getTombstoneKey(); 238 DenseMapInfo<MDNode *>::getTombstoneKey(), 239 DenseMapInfo<MDNode *>::getTombstoneKey(), 240 DenseMapInfo<uint64_t>::getTombstoneKey(), [all …]
|
| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_dense_map_info.h | 63 struct DenseMapInfo { struct 76 struct DenseMapInfo<T *> { 106 struct DenseMapInfo<char> { 118 struct DenseMapInfo<unsigned char> { 133 struct DenseMapInfo<unsigned short> { 148 struct DenseMapInfo<unsigned> { 162 struct DenseMapInfo<unsigned long> { 178 struct DenseMapInfo<unsigned long long> { 194 struct DenseMapInfo<short> { 205 struct DenseMapInfo<int> { [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A 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 …]
|
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A 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(),
|
| H A D | ASTTypeTraits.h | 110 struct DenseMapInfo { struct 374 struct DenseMapInfo { 377 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey(); 382 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 404 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey(); 405 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 406 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) && 407 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) || 408 (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, TombStone) && 409 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, TombStone)) || [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | WasmTraits.h | 22 template <> struct DenseMapInfo<wasm::WasmSignature, void> { 48 template <> struct DenseMapInfo<wasm::WasmGlobalType, void> { 65 template <> struct DenseMapInfo<wasm::WasmLimits, void> { 87 template <> struct DenseMapInfo<wasm::WasmTableType, void> { 90 wasm::ValType(0), DenseMapInfo<wasm::WasmLimits, void>::getEmptyKey()}; 95 DenseMapInfo<wasm::WasmLimits, void>::getTombstoneKey()}; 100 DenseMapInfo<wasm::WasmLimits, void>::getHashValue(TableType.Limits));
|
| /src/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Weak.h | 38 : private llvm::DenseMapInfo<const IdentifierInfo *> { 40 return WeakInfo(DenseMapInfo::getEmptyKey(), SourceLocation()); in getEmptyKey() 43 return WeakInfo(DenseMapInfo::getTombstoneKey(), SourceLocation()); in getTombstoneKey() 46 return DenseMapInfo::getHashValue(W.getAlias()); in getHashValue() 49 return DenseMapInfo::isEqual(LHS.getAlias(), RHS.getAlias()); in isEqual()
|
| /src/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | FileEntry.h | 47 template <> struct DenseMapInfo<gsym::FileEntry> { 49 uint32_t key = DenseMapInfo<uint32_t>::getEmptyKey(); 53 uint32_t key = DenseMapInfo<uint32_t>::getTombstoneKey(); 57 return llvm::hash_combine(DenseMapInfo<uint32_t>::getHashValue(Val.Dir), 58 DenseMapInfo<uint32_t>::getHashValue(Val.Base));
|
| /src/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemoryLocation.h | 330 template <> struct DenseMapInfo<LocationSize> { 336 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw()); 343 template <> struct DenseMapInfo<MemoryLocation> { 345 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 346 DenseMapInfo<LocationSize>::getEmptyKey()); 349 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 350 DenseMapInfo<LocationSize>::getTombstoneKey()); 353 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 354 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^ 355 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
|
| /src/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCRegister.h | 109 template <> struct DenseMapInfo<MCRegister> { 111 return DenseMapInfo<unsigned>::getEmptyKey(); 114 return DenseMapInfo<unsigned>::getTombstoneKey(); 117 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 120 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|
| /src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicBlockSectionsProfileReader.h | 58 template <> struct DenseMapInfo<UniqueBBID> { 60 unsigned EmptyKey = DenseMapInfo<unsigned>::getEmptyKey(); 64 unsigned TombstoneKey = DenseMapInfo<unsigned>::getTombstoneKey(); 70 return DenseMapInfo<std::pair<unsigned, unsigned>>::getHashValue(PairVal); 73 return DenseMapInfo<unsigned>::isEqual(LHS.BaseID, RHS.BaseID) && 74 DenseMapInfo<unsigned>::isEqual(LHS.CloneID, RHS.CloneID);
|
| H A D | Register.h | 150 template <> struct DenseMapInfo<Register> { 152 return DenseMapInfo<unsigned>::getEmptyKey(); 155 return DenseMapInfo<unsigned>::getTombstoneKey(); 158 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 161 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|
| /src/contrib/llvm-project/clang/lib/APINotes/ |
| H A D | APINotesFormat.h | 342 template <> struct DenseMapInfo<clang::api_notes::StoredObjCSelector> { 343 typedef DenseMapInfo<unsigned> UnsignedInfo; 372 template <> struct DenseMapInfo<clang::api_notes::ContextTableKey> { 379 DenseMapInfo<uint32_t>::getTombstoneKey(), 380 DenseMapInfo<uint8_t>::getTombstoneKey(), 381 DenseMapInfo<uint32_t>::getTombstoneKey()}; 394 template <> struct DenseMapInfo<clang::api_notes::SingleDeclTableKey> { 401 DenseMapInfo<uint32_t>::getTombstoneKey(), 402 DenseMapInfo<uint32_t>::getTombstoneKey()};
|
| /src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | SymbolStringPool.h | 72 friend struct DenseMapInfo<SymbolStringPtr>; 73 friend struct DenseMapInfo<NonOwningSymbolStringPtr>; 140 friend struct DenseMapInfo<SymbolStringPtr>; 247 friend struct DenseMapInfo<orc::NonOwningSymbolStringPtr>; 316 struct DenseMapInfo<orc::SymbolStringPtr> { 327 return DenseMapInfo<orc::SymbolStringPtr::PoolEntryPtr>::getHashValue(V.S); 336 template <> struct DenseMapInfo<orc::NonOwningSymbolStringPtr> { 347 return DenseMapInfo<
|
| /src/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeHashing.cpp | 17 LocallyHashedType DenseMapInfo<LocallyHashedType>::Empty{0, {}}; 18 LocallyHashedType DenseMapInfo<LocallyHashedType>::Tombstone{hash_code(-1), {}}; 25 GloballyHashedType DenseMapInfo<GloballyHashedType>::Empty{EmptyHash}; 26 GloballyHashedType DenseMapInfo<GloballyHashedType>::Tombstone{TombstoneHash};
|
| /src/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | ConstString.h | 410 template <typename T, typename Enable> friend struct ::llvm::DenseMapInfo; 434 template <> struct DenseMapInfo<lldb_private::ConstString> { 437 DenseMapInfo<const char *>::getEmptyKey()); 441 DenseMapInfo<const char *>::getTombstoneKey()); 444 return DenseMapInfo<const char *>::getHashValue(val.m_string);
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CanonicalizeFreezeInLoops.cpp | 107 template <> struct DenseMapInfo<FrozenIndPHIInfo> { struct 109 return FrozenIndPHIInfo(DenseMapInfo<PHINode *>::getEmptyKey(), in getEmptyKey() 110 DenseMapInfo<BinaryOperator *>::getEmptyKey()); in getEmptyKey() 114 return FrozenIndPHIInfo(DenseMapInfo<PHINode *>::getTombstoneKey(), in getTombstoneKey() 115 DenseMapInfo<BinaryOperator *>::getTombstoneKey()); in getTombstoneKey() 119 return DenseMapInfo<FreezeInst *>::getHashValue(Val.FI); in getHashValue()
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | ItaniumCXXABI.cpp | 80 return llvm::DenseMapInfo<T>::isEqual( in isDenseMapKeyEmpty() 81 V, llvm::DenseMapInfo<T>::getEmptyKey()); in isDenseMapKeyEmpty() 84 return llvm::DenseMapInfo<T>::isEqual( in isDenseMapKeyTombstone() 85 V, llvm::DenseMapInfo<T>::getTombstoneKey()); in isDenseMapKeyTombstone() 104 struct DenseMapInfo<DecompositionDeclName> { struct 105 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>; argument
|
| /src/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CallGraph.h | 217 template <> struct DenseMapInfo<clang::CallGraphNode::CallRecord> { 220 DenseMapInfo<clang::CallGraphNode *>::getEmptyKey(), 221 DenseMapInfo<clang::Expr *>::getEmptyKey()); 226 DenseMapInfo<clang::CallGraphNode *>::getTombstoneKey(), 227 DenseMapInfo<clang::Expr *>::getTombstoneKey()); 233 return DenseMapInfo<clang::CallGraphNode *>::getHashValue(Val.Callee);
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 101 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel() 102 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); in isSentinel() 159 template <> struct DenseMapInfo<SimpleValue> { struct 161 return DenseMapInfo<Instruction *>::getEmptyKey(); in getEmptyKey() 165 return DenseMapInfo<Instruction *>::getTombstoneKey(); in getTombstoneKey() 345 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { in getHashValue() 466 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { in isEqual() 491 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel() 492 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); in isSentinel() 519 template <> struct DenseMapInfo<CallValue> { struct [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/Support/FileSystem/ |
| H A D | UniqueID.h | 55 template <> struct DenseMapInfo<llvm::sys::fs::UniqueID> { 57 auto EmptyKey = DenseMapInfo<std::pair<uint64_t, uint64_t>>::getEmptyKey(); 63 DenseMapInfo<std::pair<uint64_t, uint64_t>>::getTombstoneKey();
|
| /src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | MemoryFlags.h | 111 friend struct llvm::DenseMapInfo<AllocGroup>; 211 template <> struct DenseMapInfo<orc::MemProt> { 218 return DenseMapInfo<UT>::getHashValue(static_cast<UT>(Val)); 225 template <> struct DenseMapInfo<orc::AllocGroup> { 233 return DenseMapInfo<orc::AllocGroup::underlying_type>::getHashValue(Val.Id);
|