/freebsd-13-stable/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 | 37 template<class> struct DenseMapInfo; 39 template<> struct DenseMapInfo<clang::QualType> { struct in namespace:llvm 57 template<> struct DenseMapInfo<clang::CanQualType> { struct in namespace:llvm
|
H A D | ASTTypeTraits.h | 24 #include "llvm/ADT/DenseMapInfo.h" 108 struct DenseMapInfo { struct in class:clang::ASTNodeKind 349 struct DenseMapInfo { struct in class:clang::DynTypedNode 352 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey(); 357 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 379 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey(); 380 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 381 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) && 382 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) || 383 (ASTNodeKind::DenseMapInfo 549 struct DenseMapInfo<clang::ASTNodeKind> : clang::ASTNodeKind::DenseMapInfo {}; struct in namespace:llvm 552 struct DenseMapInfo<clang::DynTypedNode> : clang::DynTypedNode::DenseMapInfo {}; struct in namespace:llvm [all...] |
H A D | CharUnits.h | 16 #include "llvm/ADT/DenseMapInfo.h" 219 template<> struct DenseMapInfo<clang::CharUnits> { struct in namespace:llvm 222 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey(); 229 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey(); 236 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | FileEntry.h | 12 #include "llvm/ADT/DenseMapInfo.h" 48 template <> struct DenseMapInfo<gsym::FileEntry> { struct in namespace:llvm 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));
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===// 9 // This file defines DenseMapInfo traits for DenseMap. 45 struct DenseMapInfo { struct in namespace:llvm 52 // Provide DenseMapInfo for all pointers. Come up with sentinel pointer values 58 struct DenseMapInfo<T*> { struct in namespace:llvm 85 // Provide DenseMapInfo for chars. 86 template<> struct DenseMapInfo<char> { struct in namespace:llvm 96 // Provide DenseMapInfo for unsigned chars. 97 template <> struct DenseMapInfo<unsigned char> { struct in namespace:llvm 107 // Provide DenseMapInfo fo 108 template <> struct DenseMapInfo<unsigned short> { struct in namespace:llvm 119 template<> struct DenseMapInfo<unsigned> { struct in namespace:llvm 130 template<> struct DenseMapInfo<unsigned long> { struct in namespace:llvm 144 template<> struct DenseMapInfo<unsigned long long> { struct in namespace:llvm 159 template <> struct DenseMapInfo<short> { struct in namespace:llvm 167 template<> struct DenseMapInfo<int> { struct in namespace:llvm 178 template<> struct DenseMapInfo<long> { struct in namespace:llvm 195 template<> struct DenseMapInfo<long long> { struct in namespace:llvm 211 struct DenseMapInfo<std::pair<T, U>> { struct in namespace:llvm 238 template <typename... Ts> struct DenseMapInfo<std::tuple<Ts...>> { struct in namespace:llvm 288 template <> struct DenseMapInfo<StringRef> { struct in namespace:llvm 316 template <typename T> struct DenseMapInfo<ArrayRef<T>> { struct in namespace:llvm 343 template <> struct DenseMapInfo<hash_code> { struct in namespace:llvm [all...] |
H A D | CachedHashString.h | 22 #include "llvm/ADT/DenseMapInfo.h" 36 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} 49 template <> struct DenseMapInfo<CachedHashStringRef> { struct in namespace:llvm 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<StringRe 152 template <> struct DenseMapInfo<CachedHashString> { struct in namespace:llvm [all...] |
H A D | PointerEmbeddedInt.h | 12 #include "llvm/ADT/DenseMapInfo.h" 103 struct DenseMapInfo<PointerEmbeddedInt<IntT, Bits>> { 105 using IntInfo = DenseMapInfo<IntT>;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.h | 219 template<> struct DenseMapInfo<clang::CodeGen::TBAAAccessInfo> { struct in namespace:llvm 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_ [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCRegister.h | 12 #include "llvm/ADT/DenseMapInfo.h" 37 // DenseMapInfo<unsigned> uses -1u and -2u. 97 // Provide DenseMapInfo for MCRegister 98 template<> struct DenseMapInfo<MCRegister> { struct in namespace:llvm 100 return DenseMapInfo<unsigned>::getEmptyKey(); 103 return DenseMapInfo<unsigned>::getTombstoneKey(); 106 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 109 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | WasmTraits.h | 9 // This file provides llvm::DenseMapInfo traits for the Wasm structures. 21 template <typename T> struct DenseMapInfo; 24 template <> struct DenseMapInfo<wasm::WasmSignature> { struct in namespace:llvm 50 template <> struct DenseMapInfo<wasm::WasmGlobalType> { struct in namespace:llvm
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | Register.h | 35 // DenseMapInfo<unsigned> uses -1u and -2u. 139 // Provide DenseMapInfo for Register 140 template<> struct DenseMapInfo<Register> { 142 return DenseMapInfo<unsigned>::getEmptyKey(); 145 return DenseMapInfo<unsigned>::getTombstoneKey(); 148 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 151 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|
/freebsd-13-stable/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 524 template <typename T> struct DenseMapInfo<PoisoningVH<T>> { struct in namespace:llvm [all...] |
H A D | ValueMap.h | 29 #include "llvm/ADT/DenseMapInfo.h" 89 using MapT = DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH>>; 243 friend struct DenseMapInfo<ValueMapCallbackVH>; 298 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config>> { struct in namespace:llvm 302 return VH(DenseMapInfo<Value *>::getEmptyKey()); 306 return VH(DenseMapInfo<Value *>::getTombstoneKey()); 310 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap()); 314 return DenseMapInfo<KeyT>::getHashValue(Val);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | MemoryLocation.h | 18 #include "llvm/ADT/DenseMapInfo.h" 279 // Specialize DenseMapInfo. 280 template <> struct DenseMapInfo<LocationSize> { struct in class:llvm::MemoryLocation 288 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw()); 295 template <> struct DenseMapInfo<MemoryLocation> { struct in class:llvm::MemoryLocation 297 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 298 DenseMapInfo<LocationSize>::getEmptyKey()); 301 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 302 DenseMapInfo<LocationSize>::getTombstoneKey()); 305 return DenseMapInfo<cons [all...] |
H A D | AssumptionCache.h | 20 #include "llvm/ADT/DenseMapInfo.h" 73 using DMI = DenseMapInfo<Value *>; 209 using DMI = DenseMapInfo<Value *>;
|
/freebsd-13-stable/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-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | ConstString.h | 12 #include "llvm/ADT/DenseMapInfo.h" 442 template <typename T> friend struct ::llvm::DenseMapInfo; 443 /// Only used by DenseMapInfo. 465 /// DenseMapInfo implementation. 467 template <> struct DenseMapInfo<lldb_private::ConstString> { struct in namespace:llvm 470 DenseMapInfo<const char *>::getEmptyKey()); 474 DenseMapInfo<const char *>::getTombstoneKey()); 477 return DenseMapInfo<const char *>::getHashValue(val.m_string);
|
/freebsd-13-stable/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);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | ItaniumCXXABI.cpp | 79 return llvm::DenseMapInfo<T>::isEqual( 80 V, llvm::DenseMapInfo<T>::getEmptyKey()); 83 return llvm::DenseMapInfo<T>::isEqual( 84 V, llvm::DenseMapInfo<T>::getTombstoneKey()); 103 struct DenseMapInfo<DecompositionDeclName> { struct in namespace:llvm 104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
|
/freebsd-13-stable/contrib/llvm-project/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(
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
H A D | DWARFLinkerDeclContext.h | 13 #include "llvm/ADT/DenseMapInfo.h" 149 struct DeclMapInfo : private DenseMapInfo<DeclContext *> { 150 using DenseMapInfo<DeclContext *>::getEmptyKey; 151 using DenseMapInfo<DeclContext *>::getTombstoneKey;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | SymbolStringPool.h | 53 friend struct DenseMapInfo<SymbolStringPtr>; 180 struct DenseMapInfo<orc::SymbolStringPtr> { struct in namespace:llvm 191 return DenseMapInfo<orc::SymbolStringPtr::PoolEntryPtr>::getHashValue(V.S);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | BypassSlowDivision.h | 21 #include "llvm/ADT/DenseMapInfo.h" 41 template <> struct DenseMapInfo<DivRemMapKey> { struct in namespace:llvm
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 15 #include "llvm/ADT/DenseMapInfo.h" 106 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || 107 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); 127 template <> struct DenseMapInfo<SimpleValue> { struct in namespace:llvm 129 return DenseMapInfo<Instruction *>::getEmptyKey(); 133 return DenseMapInfo<Instruction *>::getTombstoneKey(); 297 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { 398 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { 423 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || 424 Inst == DenseMapInfo<Instructio 443 template <> struct DenseMapInfo<CallValue> { struct in namespace:llvm [all...] |