/netbsd/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 47 struct DenseMapInfo { struct 60 struct DenseMapInfo<T*> { 88 template<> struct DenseMapInfo<char> { 121 template<> struct DenseMapInfo<unsigned> { 161 template <> struct DenseMapInfo<short> { 169 template<> struct DenseMapInfo<int> { 180 template<> struct DenseMapInfo<long> { 213 struct DenseMapInfo<std::pair<T, U>> { 215 using FirstInfo = DenseMapInfo<T>; 216 using SecondInfo = DenseMapInfo<U>; [all …]
|
H A D | CachedHashString.h | 36 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef() 49 template <> struct DenseMapInfo<CachedHashStringRef> { 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<StringRef>::getHashValue(S)) {} 152 template <> struct DenseMapInfo<CachedHashString> {
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.h | 224 DenseMapInfo<MDNode *>::getEmptyKey(), 225 DenseMapInfo<MDNode *>::getEmptyKey(), 226 DenseMapInfo<uint64_t>::getEmptyKey(), 227 DenseMapInfo<uint64_t>::getEmptyKey()); 234 DenseMapInfo<MDNode *>::getTombstoneKey(), 235 DenseMapInfo<MDNode *>::getTombstoneKey(), 236 DenseMapInfo<uint64_t>::getTombstoneKey(), 237 DenseMapInfo<uint64_t>::getTombstoneKey()); 242 return DenseMapInfo<unsigned>::getHashValue(KindValue) ^ 245 DenseMapInfo<uint64_t>::getHashValue(Val.Offset) ^ [all …]
|
/netbsd/external/apache2/llvm/dist/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 …]
|
H A D | ValueMap.h | 89 using MapT = DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH>>; 243 friend struct DenseMapInfo<ValueMapCallbackVH>; 298 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config>> { 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);
|
/netbsd/external/apache2/llvm/dist/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 | 106 struct DenseMapInfo { struct 350 struct DenseMapInfo { 353 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey(); 358 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 380 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey(); 381 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 382 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) && 383 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) || 384 (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, TombStone) && 541 struct DenseMapInfo<clang::ASTNodeKind> : clang::ASTNodeKind::DenseMapInfo {}; [all …]
|
H A D | TypeOrdering.h | 37 template<class> struct DenseMapInfo; 39 template<> struct DenseMapInfo<clang::QualType> { 57 template<> struct DenseMapInfo<clang::CanQualType> {
|
H A D | CharUnits.h | 219 template<> struct DenseMapInfo<clang::CharUnits> { 222 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey(); 229 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey(); 236 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | MemoryLocation.h | 316 template <> struct DenseMapInfo<LocationSize> { 324 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw()); 331 template <> struct DenseMapInfo<MemoryLocation> { 333 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 334 DenseMapInfo<LocationSize>::getEmptyKey()); 337 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 338 DenseMapInfo<LocationSize>::getTombstoneKey()); 341 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 342 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^ 343 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
|
H A D | AliasSetTracker.h | 66 : Val(V), AAInfo(DenseMapInfo<AAMDNodes>::getEmptyKey()) {} in PointerRec() 86 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey()) in updateSizeAndAAInfo() 106 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey() || in getAAInfo() 107 AAInfo == DenseMapInfo<AAMDNodes>::getTombstoneKey()) in getAAInfo() 345 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
|
/netbsd/external/apache2/llvm/dist/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));
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
H A D | MCRegister.h | 94 template<> struct DenseMapInfo<MCRegister> { 96 return DenseMapInfo<unsigned>::getEmptyKey(); 99 return DenseMapInfo<unsigned>::getTombstoneKey(); 102 return DenseMapInfo<unsigned>::getHashValue(Val.id()); 105 return DenseMapInfo<unsigned>::isEqual(LHS.id(), RHS.id());
|
/netbsd/external/apache2/llvm/dist/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());
|
/netbsd/external/apache2/llvm/dist/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(
|
H A D | CFLAndersAliasAnalysis.cpp | 275 template <> struct DenseMapInfo<OffsetValue> { struct 277 return OffsetValue{DenseMapInfo<const Value *>::getEmptyKey(), in getEmptyKey() 278 DenseMapInfo<int64_t>::getEmptyKey()}; in getEmptyKey() 282 return OffsetValue{DenseMapInfo<const Value *>::getTombstoneKey(), in getTombstoneKey() 283 DenseMapInfo<int64_t>::getEmptyKey()}; in getTombstoneKey() 287 return DenseMapInfo<std::pair<const Value *, int64_t>>::getHashValue( in getHashValue() 297 template <> struct DenseMapInfo<OffsetInstantiatedValue> { struct 300 DenseMapInfo<InstantiatedValue>::getEmptyKey(), in getEmptyKey() 301 DenseMapInfo<int64_t>::getEmptyKey()}; in getEmptyKey() 306 DenseMapInfo<InstantiatedValue>::getTombstoneKey(), in getTombstoneKey() [all …]
|
/netbsd/external/apache2/llvm/dist/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};
|
/netbsd/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | ItaniumCXXABI.cpp | 79 return llvm::DenseMapInfo<T>::isEqual( in isDenseMapKeyEmpty() 80 V, llvm::DenseMapInfo<T>::getEmptyKey()); in isDenseMapKeyEmpty() 83 return llvm::DenseMapInfo<T>::isEqual( in isDenseMapKeyTombstone() 84 V, llvm::DenseMapInfo<T>::getTombstoneKey()); in isDenseMapKeyTombstone() 103 struct DenseMapInfo<DecompositionDeclName> { struct 104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>; argument
|
/netbsd/external/apache2/llvm/dist/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);
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/ |
H A D | WasmTraits.h | 21 template <typename T> struct DenseMapInfo; 24 template <> struct DenseMapInfo<wasm::WasmSignature> { 50 template <> struct DenseMapInfo<wasm::WasmGlobalType> {
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | DirectoryEntry.h | 94 friend struct llvm::DenseMapInfo<DirectoryEntryRef>; 100 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {} 102 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {} 193 template <> struct DenseMapInfo<clang::DirectoryEntryRef> {
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 105 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel() 106 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); in isSentinel() 147 template <> struct DenseMapInfo<SimpleValue> { struct 149 return DenseMapInfo<Instruction *>::getEmptyKey(); in getEmptyKey() 153 return DenseMapInfo<Instruction *>::getTombstoneKey(); in getTombstoneKey() 453 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel() 473 template <> struct DenseMapInfo<CallValue> { struct 475 return DenseMapInfo<Instruction *>::getEmptyKey(); in getEmptyKey() 479 return DenseMapInfo<Instruction *>::getTombstoneKey(); in getTombstoneKey() 488 unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) { in getHashValue() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
H A D | BinaryHolder.h | 148 template <> struct DenseMapInfo<dsymutil::BinaryHolder::ArchiveEntry::KeyTy> { 160 return hash_combine(DenseMapInfo<StringRef>::getHashValue(K.Filename), 161 DenseMapInfo<unsigned>::getHashValue(
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/DWARFLinker/ |
H A D | DWARFLinkerDeclContext.h | 162 struct DeclMapInfo : private DenseMapInfo<DeclContext *> { 163 using DenseMapInfo<DeclContext *>::getEmptyKey; 164 using DenseMapInfo<DeclContext *>::getTombstoneKey;
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeIndex.h | 290 template <> struct DenseMapInfo<codeview::TypeIndex> { 292 return codeview::TypeIndex{DenseMapInfo<uint32_t>::getEmptyKey()}; 295 return codeview::TypeIndex{DenseMapInfo<uint32_t>::getTombstoneKey()}; 298 return DenseMapInfo<uint32_t>::getHashValue(TI.getIndex());
|