Home
last modified time | relevance | path

Searched refs:DenseMapInfo (Results 1 – 25 of 160) sorted by relevance

1234567

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DDenseMapInfo.h51 struct DenseMapInfo { struct
64 struct DenseMapInfo<T*> {
92 template<> struct DenseMapInfo<char> {
103 template <> struct DenseMapInfo<unsigned char> {
114 template <> struct DenseMapInfo<unsigned short> {
125 template<> struct DenseMapInfo<unsigned> {
136 template<> struct DenseMapInfo<unsigned long> {
150 template<> struct DenseMapInfo<unsigned long long> {
165 template <> struct DenseMapInfo<short> {
173 template<> struct DenseMapInfo<int> {
[all …]
H A DCachedHashString.h37 : 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> {
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenTBAA.h218 template<> struct DenseMapInfo<clang::CodeGen::TBAAAccessInfo> {
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_t>::getTombstoneKey(),
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h63 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 …]
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DValueHandle.h103 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 …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DBaseSubobject.h57 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 DASTTypeTraits.h107 struct DenseMapInfo { struct
365 struct DenseMapInfo {
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::isEqual(LHS.NodeKind, TombStone) &&
400 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, TombStone)) ||
[all …]
H A DCharUnits.h232 template<> struct DenseMapInfo<clang::CharUnits> {
235 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey();
242 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey();
249 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h22 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));
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DWeak.h38 : 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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DDelta.h60 struct DenseMapInfo<Chunk> {
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-src/gnu/llvm/llvm/include/llvm/DebugInfo/GSYM/
H A DFileEntry.h47 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));
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemoryLocation.h319 template <> struct DenseMapInfo<LocationSize> {
327 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw());
334 template <> struct DenseMapInfo<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<const Value *>::getHashValue(Val.Ptr) ^
345 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^
346 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCRegister.h96 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());
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DRegister.h148 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-src/gnu/llvm/llvm/lib/Analysis/
H A DAliasAnalysisSummary.h248 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(
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DConstString.h409 template <typename T, typename Enable> friend struct ::llvm::DenseMapInfo;
433 template <> struct DenseMapInfo<lldb_private::ConstString> {
436 DenseMapInfo<const char *>::getEmptyKey());
440 DenseMapInfo<const char *>::getTombstoneKey());
443 return DenseMapInfo<const char *>::getHashValue(val.m_string);
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DTypeHashing.cpp17 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-src/gnu/llvm/clang/include/clang/Tooling/Inclusions/
H A DStandardLibrary.h52 friend llvm::DenseMapInfo<Header>;
85 friend llvm::DenseMapInfo<Symbol>;
112 template <> struct DenseMapInfo<clang::tooling::stdlib::Header> {
128 template <> struct DenseMapInfo<clang::tooling::stdlib::Symbol> {
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DItaniumCXXABI.cpp80 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
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/
H A DCallGraph.h217 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);
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/FileSystem/
H A DUniqueID.h55 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();
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DMemoryFlags.h94 friend struct llvm::DenseMapInfo<AllocGroup>;
195 template <> struct DenseMapInfo<orc::MemProt> {
202 return DenseMapInfo<UT>::getHashValue(static_cast<UT>(Val));
209 template <> struct DenseMapInfo<orc::AllocGroup> {
217 return DenseMapInfo<orc::AllocGroup::underlying_type>::getHashValue(Val.Id);
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYTargetStreamer.h77 template <> struct DenseMapInfo<CSKYTargetStreamer::SymbolIndex> {
85 return hash_combine(DenseMapInfo<const MCSymbol *>::getHashValue(V.sym),
86 DenseMapInfo<int>::getHashValue(V.kind));
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DDirectoryEntry.h103 friend struct llvm::DenseMapInfo<DirectoryEntryRef>;
109 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {}
111 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {}
200 template <> struct DenseMapInfo<clang::DirectoryEntryRef> {

1234567