/freebsd-current/contrib/llvm-project/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());
|
/freebsd-current/contrib/llvm-project/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);
|
/freebsd-current/contrib/llvm-project/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));
|
/freebsd-current/contrib/llvm-project/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. 47 /// in derived DenseMapInfo specializations; in non-SFINAE use cases this should 50 struct DenseMapInfo { struct in namespace:llvm 57 // Provide DenseMapInfo for all pointers. Come up with sentinel pointer values 63 struct DenseMapInfo<T*> { struct in namespace:llvm 90 // Provide DenseMapInfo for chars. 91 template<> struct DenseMapInfo<char> { struct in namespace:llvm 101 // Provide DenseMapInfo for unsigned chars. 102 template <> struct DenseMapInfo<unsigne struct in namespace:llvm 113 template <> struct DenseMapInfo<unsigned short> { struct in namespace:llvm 124 template<> struct DenseMapInfo<unsigned> { struct in namespace:llvm 135 template<> struct DenseMapInfo<unsigned long> { struct in namespace:llvm 149 template<> struct DenseMapInfo<unsigned long long> { struct in namespace:llvm 164 template <> struct DenseMapInfo<short> { struct in namespace:llvm 172 template<> struct DenseMapInfo<int> { struct in namespace:llvm 183 template<> struct DenseMapInfo<long> { struct in namespace:llvm 200 template<> struct DenseMapInfo<long long> { struct in namespace:llvm 216 struct DenseMapInfo<std::pair<T, U>> { struct in namespace:llvm 251 template <typename... Ts> struct DenseMapInfo<std::tuple<Ts...>> { struct in namespace:llvm [all...] |
H A D | DenseMapInfoVariant.h | 10 /// This file defines DenseMapInfo traits for DenseMap<std::variant<Ts...>>. 17 #include "llvm/ADT/DenseMapInfo.h" 23 // Provide DenseMapInfo for variants whose all alternatives have DenseMapInfo. 24 template <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> { struct in namespace:llvm 29 return Variant(std::in_place_index<0>, DenseMapInfo<FirstT>::getEmptyKey()); 34 DenseMapInfo<FirstT>::getTombstoneKey()); 43 return DenseMapInfo<std::pair<size_t, T>>::getHashValuePiecewise( 54 // We want to dispatch to DenseMapInfo<T>::isEqual(LHS.get(I), RHS.get(I)) 62 return DenseMapInfo< [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...] |
/freebsd-current/contrib/llvm-project/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...] |
/freebsd-current/contrib/llvm-project/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 wasm::ValType(0), DenseMapInfo<wasm::WasmLimits, void>::getEmptyKey()}; 95 DenseMapInfo<wasm::WasmLimits, void>::getTombstoneKey()}; 100 DenseMapInfo<wasm::WasmLimits, void>::getHashValue(TableType.Limits));
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCRegister.h | 12 #include "llvm/ADT/DenseMapInfo.h" 49 // DenseMapInfo<unsigned> uses -1u and -2u. 108 // Provide DenseMapInfo for MCRegister 109 template <> struct DenseMapInfo<MCRegister> { struct in namespace:llvm 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());
|
/freebsd-current/contrib/llvm-project/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...] |
/freebsd-current/contrib/llvm-project/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();
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | Register.h | 35 // DenseMapInfo<unsigned> uses -1u and -2u. 149 // Provide DenseMapInfo for Register 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());
|
H A D | BasicBlockSectionsProfileReader.h | 57 // Provides DenseMapInfo for UniqueBBID. 58 template <> struct DenseMapInfo<UniqueBBID> { struct in namespace:llvm 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);
|
/freebsd-current/contrib/llvm-project/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...] |
/freebsd-current/contrib/llvm-project/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));
|
/freebsd-current/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};
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | ConstString.h | 12 #include "llvm/ADT/DenseMapInfo.h" 399 template <typename T, typename Enable> friend struct ::llvm::DenseMapInfo; 400 /// Only used by DenseMapInfo. 421 /// DenseMapInfo implementation. 423 template <> struct DenseMapInfo<lldb_private::ConstString> { struct in namespace:llvm 426 DenseMapInfo<const char *>::getEmptyKey()); 430 DenseMapInfo<const char *>::getTombstoneKey()); 433 return DenseMapInfo<const char *>::getHashValue(val.m_string);
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | MemoryLocation.h | 18 #include "llvm/ADT/DenseMapInfo.h" 329 // Specialize DenseMapInfo. 330 template <> struct DenseMapInfo<LocationSize> { struct in class:llvm::MemoryLocation 336 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw()); 343 template <> struct DenseMapInfo<MemoryLocation> { struct in class:llvm::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<cons [all...] |
/freebsd-current/contrib/llvm-project/clang/include/clang/Tooling/Inclusions/ |
H A D | StandardLibrary.h | 57 friend llvm::DenseMapInfo<Header>; 94 friend llvm::DenseMapInfo<Symbol>; 121 template <> struct DenseMapInfo<clang::tooling::stdlib::Header> { struct in namespace:clang::llvm 139 template <> struct DenseMapInfo<clang::tooling::stdlib::Symbol> { struct in namespace:clang::llvm
|
/freebsd-current/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | DataflowAnalysisContext.h | 216 struct NullableQualTypeDenseMapInfo : private llvm::DenseMapInfo<QualType> { 222 using DenseMapInfo::getHashValue; 223 using DenseMapInfo::getTombstoneKey; 224 using DenseMapInfo::isEqual;
|
/freebsd-current/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> { struct in namespace:llvm 327 return DenseMapInfo<orc::SymbolStringPtr::PoolEntryPtr>::getHashValue(V.S); 336 template <> struct DenseMapInfo<orc::NonOwningSymbolStringPtr> { struct in namespace:llvm 347 return DenseMapInfo<
|
/freebsd-current/contrib/llvm-project/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*>>;
|
/freebsd-current/contrib/llvm-project/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);
|