| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | DenseMapInfo.h | 29 struct DenseMapInfo { struct 38 struct DenseMapInfo<T*> { 60 template<> struct DenseMapInfo<char> { 82 template<> struct DenseMapInfo<unsigned> { 122 template <> struct DenseMapInfo<short> { 130 template<> struct DenseMapInfo<int> { 141 template<> struct DenseMapInfo<long> { 158 template<> struct DenseMapInfo<long long> { 174 struct DenseMapInfo<std::pair<T, U>> { 176 using FirstInfo = DenseMapInfo<T>; [all …]
|
| H A D | CachedHashString.h | 38 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef() 51 template <> struct DenseMapInfo<CachedHashStringRef> { 53 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0); 56 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1); 66 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val()); 74 friend struct DenseMapInfo<CachedHashString>; 80 static char *getEmptyKeyPtr() { return DenseMapInfo<char *>::getEmptyKey(); } 82 return DenseMapInfo<char *>::getTombstoneKey(); 103 : CachedHashString(S, DenseMapInfo<StringRef>::getHashValue(S)) {} 154 template <> struct DenseMapInfo<CachedHashString> {
|
| H A D | PointerEmbeddedInt.h | 104 struct DenseMapInfo<PointerEmbeddedInt<IntT, Bits>> { 106 using IntInfo = DenseMapInfo<IntT>;
|
| H A D | PointerSumType.h | 267 struct DenseMapInfo<PointerSumType<TagT, MemberTs...>> { 273 using SomePointerInfo = DenseMapInfo<SomePointerT>; 285 return DenseMapInfo<uintptr_t>::getHashValue(OpaqueValue);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.h | 225 DenseMapInfo<MDNode *>::getEmptyKey(), 226 DenseMapInfo<MDNode *>::getEmptyKey(), 227 DenseMapInfo<uint64_t>::getEmptyKey(), 228 DenseMapInfo<uint64_t>::getEmptyKey()); 235 DenseMapInfo<MDNode *>::getTombstoneKey(), 236 DenseMapInfo<MDNode *>::getTombstoneKey(), 237 DenseMapInfo<uint64_t>::getTombstoneKey(), 238 DenseMapInfo<uint64_t>::getTombstoneKey()); 243 return DenseMapInfo<unsigned>::getHashValue(KindValue) ^ 246 DenseMapInfo<uint64_t>::getHashValue(Val.Offset) ^ [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | BaseSubobject.h | 58 template<> struct DenseMapInfo<clang::BaseSubobject> { 61 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(), 62 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey())); 67 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(), 68 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey())); 74 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
|
| H A D | ASTTypeTraits.h | 97 struct DenseMapInfo { struct 330 struct DenseMapInfo { 333 Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey(); 338 Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 360 auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey(); 361 auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey(); 362 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) && 508 struct DenseMapInfo<clang::ast_type_traits::ASTNodeKind> 509 : clang::ast_type_traits::ASTNodeKind::DenseMapInfo {}; 512 struct DenseMapInfo<clang::ast_type_traits::DynTypedNode> [all …]
|
| H A D | TypeOrdering.h | 38 template<class> struct DenseMapInfo; 40 template<> struct DenseMapInfo<clang::QualType> { 58 template<> struct DenseMapInfo<clang::CanQualType> {
|
| H A D | CharUnits.h | 215 template<> struct DenseMapInfo<clang::CharUnits> { 218 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey(); 225 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey(); 232 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
|
| H A D | GlobalDecl.h | 123 template<> struct DenseMapInfo<clang::GlobalDecl> { 134 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | MemoryLocation.h | 273 template <> struct DenseMapInfo<LocationSize> { 281 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw()); 288 template <> struct DenseMapInfo<MemoryLocation> { 290 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 291 DenseMapInfo<LocationSize>::getEmptyKey()); 294 return MemoryLocation(DenseMapInfo<const Value *>::getTombstoneKey(), 295 DenseMapInfo<LocationSize>::getTombstoneKey()); 298 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 299 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^ 300 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
|
| H A D | AliasSetTracker.h | 64 : Val(V), AAInfo(DenseMapInfo<AAMDNodes>::getEmptyKey()) {} in PointerRec() 84 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey()) in updateSizeAndAAInfo() 91 AAInfo = DenseMapInfo<AAMDNodes>::getTombstoneKey(); in updateSizeAndAAInfo() 108 if (AAInfo == DenseMapInfo<AAMDNodes>::getEmptyKey() || in getAAInfo() 109 AAInfo == DenseMapInfo<AAMDNodes>::getTombstoneKey()) in getAAInfo() 341 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | ValueHandle.h | 100 V != DenseMapInfo<Value *>::getEmptyKey() && in isValid() 101 V != DenseMapInfo<Value *>::getTombstoneKey(); in isValid() 243 friend struct DenseMapInfo<AssertingVH<ValueTy>>; 289 struct DenseMapInfo<AssertingVH<T>> { 292 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey()); 298 Res.setRawValPtr(DenseMapInfo<Value *>::getTombstoneKey()); 307 return DenseMapInfo<Value *>::isEqual(LHS.getRawValPtr(), 455 friend struct DenseMapInfo<PoisoningVH<ValueTy>>; 529 template <typename T> struct DenseMapInfo<PoisoningVH<T>> { 532 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey()); [all …]
|
| H A D | ValueMap.h | 90 using MapT = DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH>>; 249 friend struct DenseMapInfo<ValueMapCallbackVH>; 304 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config>> { 308 return VH(DenseMapInfo<Value *>::getEmptyKey()); 312 return VH(DenseMapInfo<Value *>::getTombstoneKey()); 316 return DenseMapInfo<KeyT>::getHashValue(Val.Unwrap()); 320 return DenseMapInfo<KeyT>::getHashValue(Val);
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | AliasAnalysisSummary.h | 245 template <> struct DenseMapInfo<cflaa::InstantiatedValue> { 247 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getEmptyKey(), 248 DenseMapInfo<unsigned>::getEmptyKey()}; 251 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getTombstoneKey(), 252 DenseMapInfo<unsigned>::getTombstoneKey()}; 255 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue(
|
| H A D | CFLAndersAliasAnalysis.cpp | 273 template <> struct DenseMapInfo<OffsetValue> { struct 275 return OffsetValue{DenseMapInfo<const Value *>::getEmptyKey(), in getEmptyKey() 276 DenseMapInfo<int64_t>::getEmptyKey()}; in getEmptyKey() 280 return OffsetValue{DenseMapInfo<const Value *>::getTombstoneKey(), in getTombstoneKey() 281 DenseMapInfo<int64_t>::getEmptyKey()}; in getTombstoneKey() 285 return DenseMapInfo<std::pair<const Value *, int64_t>>::getHashValue( in getHashValue() 295 template <> struct DenseMapInfo<OffsetInstantiatedValue> { struct 298 DenseMapInfo<InstantiatedValue>::getEmptyKey(), in getEmptyKey() 299 DenseMapInfo<int64_t>::getEmptyKey()}; in getEmptyKey() 304 DenseMapInfo<InstantiatedValue>::getTombstoneKey(), in getTombstoneKey() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeHashing.cpp | 18 LocallyHashedType DenseMapInfo<LocallyHashedType>::Empty{0, {}}; 19 LocallyHashedType DenseMapInfo<LocallyHashedType>::Tombstone{hash_code(-1), {}}; 26 GloballyHashedType DenseMapInfo<GloballyHashedType>::Empty{EmptyHash}; 27 GloballyHashedType DenseMapInfo<GloballyHashedType>::Tombstone{TombstoneHash};
|
| /freebsd-12.1/contrib/llvm/include/llvm/Object/ |
| H A D | WasmTraits.h | 22 template <typename T> struct DenseMapInfo; 25 template <> struct DenseMapInfo<wasm::WasmSignature> { 51 template <> struct DenseMapInfo<wasm::WasmGlobalType> {
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 94 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel() 95 Inst == DenseMapInfo<Instruction *>::getTombstoneKey(); in isSentinel() 114 template <> struct DenseMapInfo<SimpleValue> { struct 116 return DenseMapInfo<Instruction *>::getEmptyKey(); in getEmptyKey() 120 return DenseMapInfo<Instruction *>::getTombstoneKey(); in getTombstoneKey() 266 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() || in isSentinel() 286 template <> struct DenseMapInfo<CallValue> { struct 288 return DenseMapInfo<Instruction *>::getEmptyKey(); in getEmptyKey() 292 return DenseMapInfo<Instruction *>::getTombstoneKey(); in getTombstoneKey() 301 unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) { in getHashValue() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | APValue.cpp | 47 llvm::DenseMapInfo<clang::APValue::LValueBase>::getEmptyKey() { in getEmptyKey() 49 DenseMapInfo<clang::APValue::LValueBase::PtrTy>::getEmptyKey(), in getEmptyKey() 50 DenseMapInfo<unsigned>::getEmptyKey(), in getEmptyKey() 51 DenseMapInfo<unsigned>::getEmptyKey()); in getEmptyKey() 55 llvm::DenseMapInfo<clang::APValue::LValueBase>::getTombstoneKey() { in getTombstoneKey() 57 DenseMapInfo<clang::APValue::LValueBase::PtrTy>::getTombstoneKey(), in getTombstoneKey() 58 DenseMapInfo<unsigned>::getTombstoneKey(), in getTombstoneKey() 59 DenseMapInfo<unsigned>::getTombstoneKey()); in getTombstoneKey() 62 unsigned llvm::DenseMapInfo<clang::APValue::LValueBase>::getHashValue( in getHashValue() 71 bool llvm::DenseMapInfo<clang::APValue::LValueBase>::isEqual( in isEqual()
|
| H A D | ItaniumCXXABI.cpp | 78 struct DenseMapInfo<DecompositionDeclName> { struct 79 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>; argument 80 using IdentInfo = llvm::DenseMapInfo<const IdentifierInfo*>; argument
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | Chunks.h | 398 struct DenseMapInfo { struct 400 return {llvm::DenseMapInfo<Chunk *>::getEmptyKey(), 0}; in getEmptyKey() 403 return {llvm::DenseMapInfo<Chunk *>::getTombstoneKey(), 0}; in getTombstoneKey() 406 return llvm::DenseMapInfo<std::pair<Chunk *, uint32_t>>::getHashValue( in getHashValue() 523 struct DenseMapInfo<lld::coff::ChunkAndOffset> 524 : lld::coff::ChunkAndOffset::DenseMapInfo {};
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeIndex.h | 282 template <> struct DenseMapInfo<codeview::TypeIndex> { 284 return codeview::TypeIndex{DenseMapInfo<uint32_t>::getEmptyKey()}; 287 return codeview::TypeIndex{DenseMapInfo<uint32_t>::getTombstoneKey()}; 290 return DenseMapInfo<uint32_t>::getHashValue(TI.getIndex());
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | LowLevelTypeImpl.h | 149 friend struct DenseMapInfo<LLT>; 247 template<> struct DenseMapInfo<LLT> { 260 return DenseMapInfo<uint64_t>::getHashValue(Val);
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/ |
| H A D | RetainSummaryManager.h | 282 template <> struct DenseMapInfo<ObjCSummaryKey> { 284 return ObjCSummaryKey(DenseMapInfo<IdentifierInfo*>::getEmptyKey(), 285 DenseMapInfo<Selector>::getEmptyKey()); 289 return ObjCSummaryKey(DenseMapInfo<IdentifierInfo*>::getTombstoneKey(), 290 DenseMapInfo<Selector>::getTombstoneKey()); 295 return DenseMapInfo<PairTy>::getHashValue(PairTy(V.getIdentifier(),
|