| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | DenseMapInfo.h | 49 struct DenseMapInfo { struct 62 struct DenseMapInfo<T*> { 90 template<> struct DenseMapInfo<char> { 123 template<> struct DenseMapInfo<unsigned> { 163 template <> struct DenseMapInfo<short> { 171 template<> struct DenseMapInfo<int> { 182 template<> struct DenseMapInfo<long> { 199 template<> struct DenseMapInfo<long long> { 215 struct DenseMapInfo<std::pair<T, U>> { 217 using FirstInfo = DenseMapInfo<T>; [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> {
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.h | 223 DenseMapInfo<MDNode *>::getEmptyKey(), 224 DenseMapInfo<MDNode *>::getEmptyKey(), 225 DenseMapInfo<uint64_t>::getEmptyKey(), 226 DenseMapInfo<uint64_t>::getEmptyKey()); 233 DenseMapInfo<MDNode *>::getTombstoneKey(), 234 DenseMapInfo<MDNode *>::getTombstoneKey(), 235 DenseMapInfo<uint64_t>::getTombstoneKey(), 236 DenseMapInfo<uint64_t>::getTombstoneKey()); 241 return DenseMapInfo<unsigned>::getHashValue(KindValue) ^ 244 DenseMapInfo<uint64_t>::getHashValue(Val.Offset) ^ [all …]
|
| /llvm-project-15.0.7/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> { 194 struct DenseMapInfo<short> { 205 struct DenseMapInfo<int> { 219 struct DenseMapInfo<long> { [all …]
|
| /llvm-project-15.0.7/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 …]
|
| /llvm-project-15.0.7/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 | 108 struct DenseMapInfo { struct 366 struct DenseMapInfo { 369 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey(); 374 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 396 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey(); 397 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 398 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) && 399 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) || 400 (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, TombStone) && 594 struct DenseMapInfo<clang::ASTNodeKind> : clang::ASTNodeKind::DenseMapInfo {}; [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Attributes.h | 144 return DenseMapInfo<const Attribute::ImplType *>::getHashValue(arg.impl); in hash_value() 192 friend DenseMapInfo<NamedAttribute>; 260 struct DenseMapInfo<mlir::Attribute> { 262 auto *pointer = llvm::DenseMapInfo<void *>::getEmptyKey(); 266 auto *pointer = llvm::DenseMapInfo<void *>::getTombstoneKey(); 277 struct DenseMapInfo< 280 : public DenseMapInfo<mlir::Attribute> { 282 const void *pointer = llvm::DenseMapInfo<const void *>::getEmptyKey(); 305 struct DenseMapInfo<mlir::NamedAttribute> { 307 auto emptyAttr = llvm::DenseMapInfo<mlir::Attribute>::getEmptyKey(); [all …]
|
| H A D | Types.h | 248 return DenseMapInfo<const Type::ImplType *>::getHashValue(arg.impl); in hash_value() 282 struct DenseMapInfo<mlir::Type> { 284 auto *pointer = llvm::DenseMapInfo<void *>::getEmptyKey(); 288 auto *pointer = llvm::DenseMapInfo<void *>::getTombstoneKey(); 295 struct DenseMapInfo<T, std::enable_if_t<std::is_base_of<mlir::Type, T>::value && 297 : public DenseMapInfo<mlir::Type> { 299 const void *pointer = llvm::DenseMapInfo<const void *>::getEmptyKey(); 303 const void *pointer = llvm::DenseMapInfo<const void *>::getTombstoneKey();
|
| H A D | Value.h | 467 struct DenseMapInfo<mlir::Value> { 469 void *pointer = llvm::DenseMapInfo<void *>::getEmptyKey(); 473 void *pointer = llvm::DenseMapInfo<void *>::getTombstoneKey(); 482 struct DenseMapInfo<mlir::BlockArgument> : public DenseMapInfo<mlir::Value> { 484 void *pointer = llvm::DenseMapInfo<void *>::getEmptyKey(); 488 void *pointer = llvm::DenseMapInfo<void *>::getTombstoneKey(); 493 struct DenseMapInfo<mlir::OpResult> : public DenseMapInfo<mlir::Value> { 495 void *pointer = llvm::DenseMapInfo<void *>::getEmptyKey(); 499 void *pointer = llvm::DenseMapInfo<void *>::getTombstoneKey();
|
| /llvm-project-15.0.7/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 0, DenseMapInfo<wasm::WasmLimits, void>::getEmptyKey()}; 94 1, DenseMapInfo<wasm::WasmLimits, void>::getTombstoneKey()}; 99 DenseMapInfo<wasm::WasmLimits, void>::getHashValue(TableType.Limits));
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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));
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | VirtualInstruction.h | 233 friend struct llvm::DenseMapInfo<VirtualInstruction>; 315 template <> struct DenseMapInfo<polly::VirtualInstruction> { 319 return DenseMapInfo<polly::ScopStmt *>::isEqual(LHS.getStmt(), 321 DenseMapInfo<Instruction *>::isEqual(LHS.getInstruction(), 327 TombstoneKey.Stmt = DenseMapInfo<polly::ScopStmt *>::getTombstoneKey(); 328 TombstoneKey.Inst = DenseMapInfo<Instruction *>::getTombstoneKey(); 334 EmptyKey.Stmt = DenseMapInfo<polly::ScopStmt *>::getEmptyKey(); 335 EmptyKey.Inst = DenseMapInfo<Instruction *>::getEmptyKey(); 340 return DenseMapInfo<std::pair<polly::ScopStmt *, Instruction *>>::
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | MemoryLocation.h | 318 template <> struct DenseMapInfo<LocationSize> { 326 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw()); 333 template <> struct DenseMapInfo<MemoryLocation> { 335 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 336 DenseMapInfo<LocationSize>::getEmptyKey()); 339 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 340 DenseMapInfo<LocationSize>::getTombstoneKey()); 343 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 344 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^ 345 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCRegister.h | 96 template<> struct DenseMapInfo<MCRegister> { 98 return DenseMapInfo<unsigned>::getEmptyKey(); 101 return DenseMapInfo<unsigned>::getTombstoneKey(); 104 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 107 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A 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());
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | Pattern.h | 116 friend llvm::DenseMapInfo<DagLeaf>; 208 friend llvm::DenseMapInfo<DagNode>; 517 struct DenseMapInfo<mlir::tblgen::DagNode> { 520 llvm::DenseMapInfo<llvm::DagInit *>::getEmptyKey()); 524 llvm::DenseMapInfo<llvm::DagInit *>::getTombstoneKey()); 535 struct DenseMapInfo<mlir::tblgen::DagLeaf> { 538 llvm::DenseMapInfo<llvm::Init *>::getEmptyKey()); 542 llvm::DenseMapInfo<llvm::Init *>::getTombstoneKey());
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | AliasAnalysisSummary.h | 248 template <> struct DenseMapInfo<cflaa::InstantiatedValue> { 250 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getEmptyKey(), 251 DenseMapInfo<unsigned>::getEmptyKey()}; 254 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getTombstoneKey(), 255 DenseMapInfo<unsigned>::getTombstoneKey()}; 258 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue(
|
| /llvm-project-15.0.7/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);
|
| /llvm-project-15.0.7/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};
|
| /llvm-project-15.0.7/mlir/include/mlir/Support/ |
| H A D | LLVM.h | 55 struct DenseMapInfo; 118 using DenseMapInfo = llvm::DenseMapInfo<T, Enable>; variable 120 typename KeyInfoT = DenseMapInfo<KeyT>, 123 template <typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT>>
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | StandardLibrary.h | 48 friend llvm::DenseMapInfo<Header>; 81 friend llvm::DenseMapInfo<Symbol>; 108 template <> struct DenseMapInfo<clang::tooling::stdlib::Header> { 124 template <> struct DenseMapInfo<clang::tooling::stdlib::Symbol> {
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Constraint.cpp | 116 Constraint DenseMapInfo<Constraint>::getEmptyKey() { in getEmptyKey() 121 Constraint DenseMapInfo<Constraint>::getTombstoneKey() { in getTombstoneKey() 126 unsigned DenseMapInfo<Constraint>::getHashValue(Constraint constraint) { in getHashValue() 136 bool DenseMapInfo<Constraint>::isEqual(Constraint lhs, Constraint rhs) { in isEqual()
|
| /llvm-project-15.0.7/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);
|