Searched refs:DenseMapInfo (Results 51 - 75 of 150) sorted by relevance

123456

/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DRedeclarable.h17 #include "llvm/ADT/DenseMapInfo.h"
374 friend struct llvm::DenseMapInfo<CanonicalDeclPtr<decl_type>>;
385 struct DenseMapInfo<clang::CanonicalDeclPtr<decl_type>> { struct in namespace:llvm
387 using BaseInfo = DenseMapInfo<decl_type *>;
H A DGlobalDecl.h24 #include "llvm/ADT/DenseMapInfo.h"
208 template<> struct DenseMapInfo<clang::GlobalDecl> { struct in namespace:llvm
219 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
/openbsd-current/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp216 template <> struct DenseMapInfo<SlotWithTag> { struct in namespace:llvm
220 return hash_combine(DenseMapInfo<int>::getHashValue(V.FI),
221 DenseMapInfo<int>::getHashValue(V.Tag));
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h29 #include "llvm/ADT/DenseMapInfo.h"
281 friend struct DenseMapInfo<LLT>;
409 template<> struct DenseMapInfo<LLT> { struct in namespace:llvm
422 return DenseMapInfo<uint64_t>::getHashValue(Val);
/openbsd-current/gnu/llvm/lld/wasm/
H A DSyntheticSections.h136 template <typename T> struct DenseMapInfo<lld::wasm::ImportKey<T>> { struct in namespace:llvm
138 typename lld::wasm::ImportKey<T> key(llvm::DenseMapInfo<T>::getEmptyKey());
143 typename lld::wasm::ImportKey<T> key(llvm::DenseMapInfo<T>::getEmptyKey());
150 hash = hash_combine(hash, llvm::DenseMapInfo<T>::getHashValue(key.type));
/openbsd-current/gnu/llvm/llvm/include/llvm/ADT/
H A DAPSInt.h369 /// Provide DenseMapInfo for APSInt, using the DenseMapInfo for APInt.
370 template <> struct DenseMapInfo<APSInt, void> { struct in namespace:llvm
372 return APSInt(DenseMapInfo<APInt, void>::getEmptyKey());
376 return APSInt(DenseMapInfo<APInt, void>::getTombstoneKey());
380 return DenseMapInfo<APInt, void>::getHashValue(Key);
H A DPointerIntPair.h26 template <typename T, typename Enable> struct DenseMapInfo;
181 // Provide specialization of DenseMapInfo for PointerIntPair.
183 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType>, void> {
H A DDenseSet.h18 #include "llvm/ADT/DenseMapInfo.h"
52 /// DenseMapInfo "concept".
191 /// The DenseMapInfo is responsible for supplying methods
267 template <typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT>>
285 typename ValueInfoT = DenseMapInfo<ValueT>>
/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/
H A DAssumeBundleQueries.h51 template<> struct DenseMapInfo<Attribute::AttrKind> { struct in namespace:llvm
H A DAliasAnalysis.h214 template <> struct DenseMapInfo<AACacheLoc> {
216 return {DenseMapInfo<AACacheLoc::PtrTy>::getEmptyKey(),
217 DenseMapInfo<LocationSize>::getEmptyKey()};
220 return {DenseMapInfo<AACacheLoc::PtrTy>::getTombstoneKey(),
221 DenseMapInfo<LocationSize>::getTombstoneKey()};
224 return DenseMapInfo<AACacheLoc::PtrTy>::getHashValue(Val.Ptr) ^
225 DenseMapInfo<LocationSize>::getHashValue(Val.Size);
H A DIRSimilarityIdentifier.h312 struct IRInstructionDataTraits : DenseMapInfo<IRInstructionData *> {
379 /// Set to -3 for compatibility with DenseMapInfo<unsigned>.
502 // Make sure that the implementation of DenseMapInfo<unsigned> hasn't
504 assert(DenseMapInfo<unsigned>::getEmptyKey() == static_cast<unsigned>(-1) &&
505 "DenseMapInfo<unsigned>'s empty key isn't -1!");
506 assert(DenseMapInfo<unsigned>::getTombstoneKey() ==
508 "DenseMapInfo<unsigned>'s tombstone key isn't -2!");
/openbsd-current/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DMinidump.h22 #include "llvm/ADT/DenseMapInfo.h"
253 template <> struct DenseMapInfo<minidump::StreamType> { struct in namespace:llvm
261 return DenseMapInfo<uint32_t>::getHashValue(static_cast<uint32_t>(Val));
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h183 template <> struct DenseMapInfo<codeview::LocallyHashedType> { struct in namespace:llvm
203 template <> struct DenseMapInfo<codeview::GloballyHashedType> { struct in namespace:llvm
/openbsd-current/gnu/llvm/llvm/lib/Object/
H A DMinidump.cpp145 if (Type == DenseMapInfo<StreamType>::getEmptyKey() ||
146 Type == DenseMapInfo<StreamType>::getTombstoneKey())
/openbsd-current/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/
H A DOMPContext.h21 #include "llvm/ADT/DenseMapInfo.h"
194 template <> struct DenseMapInfo<omp::TraitProperty> { struct in namespace:llvm
/openbsd-current/gnu/llvm/llvm/include/llvm/CodeGen/
H A DRDFRegisters.h179 return DenseMapInfo<BitVector>::isEqual(Units, A.Units);
199 return DenseMapInfo<BitVector>::getHashValue(Units);
/openbsd-current/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h103 Hash = (DenseMapInfo<Type *>().getHashValue(SampledTy) & 0xffff) ^
165 template <> struct DenseMapInfo<SPIRV::SpecialTypeDescriptor> { struct in namespace:llvm
/openbsd-current/gnu/llvm/llvm/include/llvm/IR/
H A DDominators.h20 #include "llvm/ADT/DenseMapInfo.h"
124 template <> struct DenseMapInfo<BasicBlockEdge> { struct in namespace:llvm
125 using BBInfo = DenseMapInfo<const BasicBlock *>;
H A DMetadata.h20 #include "llvm/ADT/DenseMapInfo.h"
740 // Specialize DenseMapInfo for AAMDNodes.
742 struct DenseMapInfo<AAMDNodes> { struct
744 return AAMDNodes(DenseMapInfo<MDNode *>::getEmptyKey(),
749 return AAMDNodes(DenseMapInfo<MDNode *>::getTombstoneKey(),
754 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^
755 DenseMapInfo<MDNode *>::getHashValue(Val.TBAAStruct) ^
756 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^
757 DenseMapInfo<MDNode *>::getHashValue(Val.NoAlias);
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DMachineOutliner.cpp124 /// Set to -3 for compatability with \p DenseMapInfo<unsigned>.
196 assert(LegalInstrNumber != DenseMapInfo<unsigned>::getEmptyKey() &&
198 assert(LegalInstrNumber != DenseMapInfo<unsigned>::getTombstoneKey() &&
236 assert(IllegalInstrNumber != DenseMapInfo<unsigned>::getEmptyKey() &&
239 assert(IllegalInstrNumber != DenseMapInfo<unsigned>::getTombstoneKey() &&
331 // Make sure that the implementation of DenseMapInfo<unsigned> hasn't
333 assert(DenseMapInfo<unsigned>::getEmptyKey() == (unsigned)-1 &&
334 "DenseMapInfo<unsigned>'s empty key isn't -1!");
335 assert(DenseMapInfo<unsigned>::getTombstoneKey() == (unsigned)-2 &&
336 "DenseMapInfo<unsigne
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp56 #include "llvm/ADT/DenseMapInfo.h"
334 template <> struct DenseMapInfo<VTableSlot> { struct in namespace:llvm
336 return {DenseMapInfo<Metadata *>::getEmptyKey(),
337 DenseMapInfo<uint64_t>::getEmptyKey()};
340 return {DenseMapInfo<Metadata *>::getTombstoneKey(),
341 DenseMapInfo<uint64_t>::getTombstoneKey()};
344 return DenseMapInfo<Metadata *>::getHashValue(I.TypeID) ^
345 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset);
353 template <> struct DenseMapInfo<VTableSlotSummary> { struct in namespace:llvm
355 return {DenseMapInfo<StringRe
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/Sema/
H A DScopeInfo.h27 #include "llvm/ADT/DenseMapInfo.h"
313 // We can't specialize the usual llvm::DenseMapInfo at the end of the file
316 class DenseMapInfo { class in class:clang::sema::FunctionScopeInfo::WeakObjectProfileTy
329 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base,
371 WeakObjectProfileTy::DenseMapInfo>;
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DAPValue.cpp188 llvm::DenseMapInfo<clang::APValue::LValueBase>::getEmptyKey() {
190 B.Ptr = DenseMapInfo<const ValueDecl*>::getEmptyKey();
195 llvm::DenseMapInfo<clang::APValue::LValueBase>::getTombstoneKey() {
197 B.Ptr = DenseMapInfo<const ValueDecl*>::getTombstoneKey();
210 unsigned llvm::DenseMapInfo<clang::APValue::LValueBase>::getHashValue(
215 bool llvm::DenseMapInfo<clang::APValue::LValueBase>::isEqual(
/openbsd-current/gnu/llvm/clang/include/clang/Basic/
H A DSourceLocation.h471 /// Define DenseMapInfo so that FileID's can be used as keys in DenseMap and
474 struct DenseMapInfo<clang::FileID, void> { struct in namespace:clang::llvm
492 /// Define DenseMapInfo so that SourceLocation's can be used as keys in
494 /// DenseMapInfo<unsigned> which uses SourceLocation::ID is used as a key.
495 template <> struct DenseMapInfo<clang::SourceLocation, void> { struct in namespace:clang::llvm
/openbsd-current/gnu/llvm/llvm/lib/Support/
H A DSmallPtrSet.cpp15 #include "llvm/ADT/DenseMapInfo.h"
66 unsigned Bucket = DenseMapInfo<void *>::getHashValue(Ptr) & (CurArraySize-1);

Completed in 319 milliseconds

123456