/openbsd-current/gnu/llvm/clang/include/clang/Sema/ |
H A D | Weak.h | 18 #include "llvm/ADT/DenseMapInfo.h" 38 : private llvm::DenseMapInfo<const IdentifierInfo *> { 40 return WeakInfo(DenseMapInfo::getEmptyKey(), SourceLocation()); 43 return WeakInfo(DenseMapInfo::getTombstoneKey(), SourceLocation()); 46 return DenseMapInfo::getHashValue(W.getAlias()); 49 return DenseMapInfo::isEqual(LHS.getAlias(), RHS.getAlias());
|
/openbsd-current/gnu/llvm/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. 48 /// in derived DenseMapInfo specializations; in non-SFINAE use cases this should 51 struct DenseMapInfo { struct in namespace:llvm 58 // Provide DenseMapInfo for all pointers. Come up with sentinel pointer values 64 struct DenseMapInfo<T*> { struct in namespace:llvm 91 // Provide DenseMapInfo for chars. 92 template<> struct DenseMapInfo<char> { struct in namespace:llvm 102 // Provide DenseMapInfo for unsigned chars. 103 template <> struct DenseMapInfo<unsigne struct in namespace:llvm 114 template <> struct DenseMapInfo<unsigned short> { struct in namespace:llvm 125 template<> struct DenseMapInfo<unsigned> { struct in namespace:llvm 136 template<> struct DenseMapInfo<unsigned long> { struct in namespace:llvm 150 template<> struct DenseMapInfo<unsigned long long> { struct in namespace:llvm 165 template <> struct DenseMapInfo<short> { struct in namespace:llvm 173 template<> struct DenseMapInfo<int> { struct in namespace:llvm 184 template<> struct DenseMapInfo<long> { struct in namespace:llvm 201 template<> struct DenseMapInfo<long long> { struct in namespace:llvm 217 struct DenseMapInfo<std::pair<T, U>> { struct in namespace:llvm 244 template <typename... Ts> struct DenseMapInfo<std::tuple<Ts...>> { struct in namespace:llvm 294 template <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> { struct in namespace:llvm [all...] |
H A D | CachedHashString.h | 23 #include "llvm/ADT/DenseMapInfo.h" 37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} 50 template <> struct DenseMapInfo<CachedHashStringRef> { struct in namespace:llvm 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<StringRe 153 template <> struct DenseMapInfo<CachedHashString> { struct in namespace:llvm [all...] |
/openbsd-current/gnu/llvm/clang/include/clang/AST/ |
H A D | BaseSubobject.h | 18 #include "llvm/ADT/DenseMapInfo.h" 57 template<> struct DenseMapInfo<clang::BaseSubobject> { struct in namespace:llvm 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 | TypeOrdering.h | 38 template<> struct DenseMapInfo<clang::QualType> { struct in namespace:llvm 56 template<> struct DenseMapInfo<clang::CanQualType> { struct in namespace:llvm
|
H A D | CharUnits.h | 16 #include "llvm/ADT/DenseMapInfo.h" 232 template<> struct DenseMapInfo<clang::CharUnits> { struct in namespace:llvm 235 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey(); 242 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey(); 249 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
|
H A D | ASTTypeTraits.h | 25 #include "llvm/ADT/DenseMapInfo.h" 107 struct DenseMapInfo { struct in class:clang::ASTNodeKind 365 struct DenseMapInfo { struct in class:clang::DynTypedNode 368 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey(); 373 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 395 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey(); 396 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 397 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) && 398 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) || 399 (ASTNodeKind::DenseMapInfo 593 struct DenseMapInfo<clang::ASTNodeKind> : clang::ASTNodeKind::DenseMapInfo {}; struct in namespace:llvm 596 struct DenseMapInfo<clang::DynTypedNode> : clang::DynTypedNode::DenseMapInfo {}; struct in namespace:llvm [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | FileEntry.h | 12 #include "llvm/ADT/DenseMapInfo.h" 47 template <> struct DenseMapInfo<gsym::FileEntry> { struct in namespace:llvm 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));
|
/openbsd-current/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
H A D | Delta.h | 60 struct DenseMapInfo<Chunk> { struct in namespace:llvm 62 return {DenseMapInfo<int>::getEmptyKey(), 63 DenseMapInfo<int>::getEmptyKey()}; 67 return {DenseMapInfo<int>::getTombstoneKey(), 68 DenseMapInfo<int>::getTombstoneKey()}; 73 return DenseMapInfo<std::pair<int, int>>::getHashValue(PairVal);
|
/openbsd-current/gnu/llvm/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.h | 218 template<> struct DenseMapInfo<clang::CodeGen::TBAAAccessInfo> { struct in namespace:llvm 220 unsigned UnsignedKey = DenseMapInfo<unsigned>::getEmptyKey(); 223 DenseMapInfo<MDNode *>::getEmptyKey(), 224 DenseMapInfo<MDNode *>::getEmptyKey(), 225 DenseMapInfo<uint64_t>::getEmptyKey(), 226 DenseMapInfo<uint64_t>::getEmptyKey()); 230 unsigned UnsignedKey = DenseMapInfo<unsigned>::getTombstoneKey(); 233 DenseMapInfo<MDNode *>::getTombstoneKey(), 234 DenseMapInfo<MDNode *>::getTombstoneKey(), 235 DenseMapInfo<uint64_ [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
H A D | WasmTraits.h | 9 // This file provides llvm::DenseMapInfo traits for the Wasm structures. 22 template <> struct DenseMapInfo<wasm::WasmSignature, void> { struct in namespace:llvm 48 template <> struct DenseMapInfo<wasm::WasmGlobalType, void> { struct in namespace:llvm 65 template <> struct DenseMapInfo<wasm::WasmLimits, void> { struct in namespace:llvm 87 template <> struct DenseMapInfo<wasm::WasmTableType, void> { struct in namespace:llvm 90 0, DenseMapInfo<wasm::WasmLimits, void>::getEmptyKey()}; 94 1, DenseMapInfo<wasm::WasmLimits, void>::getTombstoneKey()}; 99 DenseMapInfo<wasm::WasmLimits, void>::getHashValue(TableType.Limits));
|
/openbsd-current/gnu/llvm/llvm/include/llvm/MC/ |
H A D | MCRegister.h | 12 #include "llvm/ADT/DenseMapInfo.h" 40 // DenseMapInfo<unsigned> uses -1u and -2u. 95 // Provide DenseMapInfo for MCRegister 96 template<> struct DenseMapInfo<MCRegister> { struct in namespace:llvm 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());
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_dense_map_info.h | 63 struct DenseMapInfo { struct in namespace:__sanitizer 70 // Provide DenseMapInfo for all pointers. Come up with sentinel pointer values 76 struct DenseMapInfo<T *> { struct in namespace:__sanitizer 104 // Provide DenseMapInfo for chars. 106 struct DenseMapInfo<char> { struct in namespace:__sanitizer 116 // Provide DenseMapInfo for unsigned chars. 118 struct DenseMapInfo<unsigned char> { struct in namespace:__sanitizer 131 // Provide DenseMapInfo for unsigned shorts. 133 struct DenseMapInfo<unsigned short> { struct in namespace:__sanitizer 146 // Provide DenseMapInfo fo 148 struct DenseMapInfo<unsigned> { struct in namespace:__sanitizer 162 struct DenseMapInfo<unsigned long> { struct in namespace:__sanitizer 178 struct DenseMapInfo<unsigned long long> { struct in namespace:__sanitizer 194 struct DenseMapInfo<short> { struct in namespace:__sanitizer 205 struct DenseMapInfo<int> { struct in namespace:__sanitizer 219 struct DenseMapInfo<long> { struct in namespace:__sanitizer 237 struct DenseMapInfo<long long> { struct in namespace:__sanitizer 254 struct DenseMapInfo<detail::DenseMapPair<T, U>> { struct in namespace:__sanitizer [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/FileSystem/ |
H A D | UniqueID.h | 17 #include "llvm/ADT/DenseMapInfo.h" 55 template <> struct DenseMapInfo<llvm::sys::fs::UniqueID> { struct in namespace:llvm 57 auto EmptyKey = DenseMapInfo<std::pair<uint64_t, uint64_t>>::getEmptyKey(); 63 DenseMapInfo<std::pair<uint64_t, uint64_t>>::getTombstoneKey();
|
/openbsd-current/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | Register.h | 35 // DenseMapInfo<unsigned> uses -1u and -2u. 147 // Provide DenseMapInfo for Register 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());
|
/openbsd-current/gnu/llvm/llvm/include/llvm/IR/ |
H A D | ValueHandle.h | 16 #include "llvm/ADT/DenseMapInfo.h" 103 V != DenseMapInfo<Value *>::getEmptyKey() && 104 V != DenseMapInfo<Value *>::getTombstoneKey(); 178 // Specialize DenseMapInfo to allow WeakVH to participate in DenseMap. 179 template <> struct DenseMapInfo<WeakVH> { struct in namespace:llvm 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<AssertingV 313 struct DenseMapInfo<AssertingVH<T>> : DenseMapInfo<T *> {}; struct in namespace:llvm 526 template <typename T> struct DenseMapInfo<PoisoningVH<T>> { struct in namespace:llvm [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | MemoryLocation.h | 18 #include "llvm/ADT/DenseMapInfo.h" 318 // Specialize DenseMapInfo. 319 template <> struct DenseMapInfo<LocationSize> { struct in class:llvm::MemoryLocation 327 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw()); 334 template <> struct DenseMapInfo<MemoryLocation> { struct in class:llvm::MemoryLocation 336 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 337 DenseMapInfo<LocationSize>::getEmptyKey()); 340 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 341 DenseMapInfo<LocationSize>::getTombstoneKey()); 344 return DenseMapInfo<cons [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Target/CSKY/MCTargetDesc/ |
H A D | CSKYTargetStreamer.h | 77 template <> struct DenseMapInfo<CSKYTargetStreamer::SymbolIndex> { struct in namespace:llvm 85 return hash_combine(DenseMapInfo<const MCSymbol *>::getHashValue(V.sym), 86 DenseMapInfo<int>::getHashValue(V.kind));
|
/openbsd-current/gnu/llvm/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};
|
/openbsd-current/gnu/llvm/lldb/include/lldb/Utility/ |
H A D | ConstString.h | 12 #include "llvm/ADT/DenseMapInfo.h" 409 template <typename T, typename Enable> friend struct ::llvm::DenseMapInfo; 410 /// Only used by DenseMapInfo. 431 /// DenseMapInfo implementation. 433 template <> struct DenseMapInfo<lldb_private::ConstString> { struct in namespace:llvm 436 DenseMapInfo<const char *>::getEmptyKey()); 440 DenseMapInfo<const char *>::getTombstoneKey()); 443 return DenseMapInfo<const char *>::getHashValue(val.m_string);
|
/openbsd-current/gnu/llvm/clang/include/clang/Tooling/Inclusions/ |
H A D | StandardLibrary.h | 52 friend llvm::DenseMapInfo<Header>; 85 friend llvm::DenseMapInfo<Symbol>; 112 template <> struct DenseMapInfo<clang::tooling::stdlib::Header> { struct in namespace:llvm 128 template <> struct DenseMapInfo<clang::tooling::stdlib::Symbol> { struct in namespace:llvm
|
/openbsd-current/gnu/llvm/clang/include/clang/Analysis/ |
H A D | CallGraph.h | 216 // Specialize DenseMapInfo for clang::CallGraphNode::CallRecord. 217 template <> struct DenseMapInfo<clang::CallGraphNode::CallRecord> { struct in namespace:llvm 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);
|
/openbsd-current/gnu/llvm/clang/lib/AST/ |
H A D | ItaniumCXXABI.cpp | 80 return llvm::DenseMapInfo<T>::isEqual( 81 V, llvm::DenseMapInfo<T>::getEmptyKey()); 84 return llvm::DenseMapInfo<T>::isEqual( 85 V, llvm::DenseMapInfo<T>::getTombstoneKey()); 104 struct DenseMapInfo<DecompositionDeclName> { struct in namespace:llvm 105 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
|
/openbsd-current/gnu/llvm/llvm/lib/Analysis/ |
H A D | AliasAnalysisSummary.h | 37 #include "llvm/ADT/DenseMapInfo.h" 248 template <> struct DenseMapInfo<cflaa::InstantiatedValue> { struct in namespace:llvm 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(
|
/openbsd-current/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | MemoryFlags.h | 18 #include "llvm/ADT/DenseMapInfo.h" 94 friend struct llvm::DenseMapInfo<AllocGroup>; 195 template <> struct DenseMapInfo<orc::MemProt> { struct in namespace:llvm 202 return DenseMapInfo<UT>::getHashValue(static_cast<UT>(Val)); 209 template <> struct DenseMapInfo<orc::AllocGroup> { struct in namespace:llvm 217 return DenseMapInfo<orc::AllocGroup::underlying_type>::getHashValue(Val.Id);
|