Home
last modified time | relevance | path

Searched defs:DenseMapInfo (Results 1 – 25 of 26) sorted by relevance

12

/openbsd/gnu/llvm/clang/include/clang/AST/
H A DASTTypeTraits.h107 struct DenseMapInfo { struct
109 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey()
112 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey()
115 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
116 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp216 template <> struct DenseMapInfo<SlotWithTag> { struct
217 static inline SlotWithTag getEmptyKey() { return {-2, -2}; } in getEmptyKey()
218 static inline SlotWithTag getTombstoneKey() { return {-3, -3}; } in getTombstoneKey()
219 static unsigned getHashValue(const SlotWithTag &V) { in getHashValue()
223 static bool isEqual(const SlotWithTag &A, const SlotWithTag &B) { in isEqual()
/openbsd/gnu/llvm/clang/lib/AST/
H A DItaniumCXXABI.cpp104 struct DenseMapInfo<DecompositionDeclName> { struct
105 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
106 static DecompositionDeclName getEmptyKey() { in getEmptyKey()
109 static DecompositionDeclName getTombstoneKey() { in getTombstoneKey()
112 static unsigned getHashValue(DecompositionDeclName Key) { in getHashValue()
116 static bool isEqual(DecompositionDeclName LHS, DecompositionDeclName RHS) { in isEqual()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp118 template <> struct DenseMapInfo<MemOpKey> { struct
119 using PtrInfo = DenseMapInfo<const MachineOperand *>;
121 static inline MemOpKey getEmptyKey() { in getEmptyKey()
127 static inline MemOpKey getTombstoneKey() { in getTombstoneKey()
133 static unsigned getHashValue(const MemOpKey &Val) { in getHashValue()
176 static bool isEqual(const MemOpKey &LHS, const MemOpKey &RHS) { in isEqual()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp238 template <> struct llvm::DenseMapInfo<SpecSig> { struct in llvm
239 static inline SpecSig getEmptyKey() { return {~0U, {}}; } in getEmptyKey()
241 static inline SpecSig getTombstoneKey() { return {~1U, {}}; } in getTombstoneKey()
243 static unsigned getHashValue(const SpecSig &S) { in getHashValue()
247 static bool isEqual(const SpecSig &LHS, const SpecSig &RHS) { in isEqual()
H A DWholeProgramDevirt.cpp334 template <> struct DenseMapInfo<VTableSlot> { struct
335 static VTableSlot getEmptyKey() { in getEmptyKey()
339 static VTableSlot getTombstoneKey() { in getTombstoneKey()
343 static unsigned getHashValue(const VTableSlot &I) { in getHashValue()
347 static bool isEqual(const VTableSlot &LHS, in isEqual()
353 template <> struct DenseMapInfo<VTableSlotSummary> { struct
354 static VTableSlotSummary getEmptyKey() { in getEmptyKey()
358 static VTableSlotSummary getTombstoneKey() { in getTombstoneKey()
362 static unsigned getHashValue(const VTableSlotSummary &I) { in getHashValue()
366 static bool isEqual(const VTableSlotSummary &LHS, in isEqual()
H A DAttributorAttributes.cpp683 using Access = AAPointerInfo::Access;
691 template <> struct DenseMapInfo<AA::RangeTy> { struct
692 static inline AA::RangeTy getEmptyKey() { in getEmptyKey()
697 static inline AA::RangeTy getTombstoneKey() { in getTombstoneKey()
702 static unsigned getHashValue(const AA::RangeTy &Range) { in getHashValue()
708 static bool isEqual(const AA::RangeTy &A, const AA::RangeTy B) { in isEqual()
3449 using InstSetDMI = DenseMapInfo<const AA::InstExclusionSetTy *>;
3452 static ReachabilityQueryInfo<ToTy> EmptyKey;
3453 static ReachabilityQueryInfo<ToTy> TombstoneKey;
3456 static inline ReachabilityQueryInfo<ToTy> *getTombstoneKey() { in getTombstoneKey()
[all …]
/openbsd/gnu/llvm/lld/COFF/
H A DChunks.h590 struct DenseMapInfo { struct
591 static ChunkAndOffset getEmptyKey() { in getEmptyKey()
594 static ChunkAndOffset getTombstoneKey() { in getTombstoneKey()
597 static unsigned getHashValue(const ChunkAndOffset &co) { in getHashValue()
601 static bool isEqual(const ChunkAndOffset &lhs, const ChunkAndOffset &rhs) { in isEqual()
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DDenseMapInfo.h51 struct DenseMapInfo { struct
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp311 template <typename ModelledPHI> struct DenseMapInfo { struct
312 static inline ModelledPHI &getEmptyKey() { in getEmptyKey()
317 static inline ModelledPHI &getTombstoneKey() { in getTombstoneKey()
322 static unsigned getHashValue(const ModelledPHI &V) { return V.hash(); } in getHashValue()
324 static bool isEqual(const ModelledPHI &LHS, const ModelledPHI &RHS) { in isEqual()
H A DEarlyCSE.cpp158 template <> struct DenseMapInfo<SimpleValue> { struct
159 static inline SimpleValue getEmptyKey() { in getEmptyKey()
163 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
492 template <> struct DenseMapInfo<CallValue> { struct
493 static inline CallValue getEmptyKey() { in getEmptyKey()
497 static inline CallValue getTombstoneKey() { in getTombstoneKey()
H A DGVN.cpp161 template <> struct DenseMapInfo<GVNPass::Expression> { struct
162 static inline GVNPass::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
163 static inline GVNPass::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
165 static unsigned getHashValue(const GVNPass::Expression &e) { in getHashValue()
171 static bool isEqual(const GVNPass::Expression &LHS, in isEqual()
H A DNewGVN.cpp444 template <> struct DenseMapInfo<const Expression *> { struct
445 static const Expression *getEmptyKey() { in getEmptyKey()
451 static const Expression *getTombstoneKey() { in getTombstoneKey()
457 static unsigned getHashValue(const Expression *E) { in getHashValue()
461 static unsigned getHashValue(const ExactEqualsExpression &E) { in getHashValue()
465 static bool isEqual(const ExactEqualsExpression &LHS, const Expression *RHS) { in isEqual()
471 static bool isEqual(const Expression *LHS, const Expression *RHS) { in isEqual()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1177 template <> struct DenseMapInfo<PrivateMethodKey> { struct
1178 using InterfaceInfo = DenseMapInfo<const ObjCInterfaceDecl *>;
1179 using SelectorInfo = DenseMapInfo<Selector>;
1181 static inline PrivateMethodKey getEmptyKey() { in getEmptyKey()
1185 static inline PrivateMethodKey getTombstoneKey() { in getTombstoneKey()
1190 static unsigned getHashValue(const PrivateMethodKey &Key) { in getHashValue()
1197 static bool isEqual(const PrivateMethodKey &LHS, in isEqual()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1066 struct DenseMapInfo<LoweredPHIRecord> { struct
1067 static inline LoweredPHIRecord getEmptyKey() { in getEmptyKey()
1070 static inline LoweredPHIRecord getTombstoneKey() { in getTombstoneKey()
1073 static unsigned getHashValue(const LoweredPHIRecord &Val) { in getHashValue()
1077 static bool isEqual(const LoweredPHIRecord &LHS, in isEqual()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DIndexing.cpp96 struct DenseMapInfo<PPRegion> { struct
97 static inline PPRegion getEmptyKey() { in getEmptyKey()
100 static inline PPRegion getTombstoneKey() { in getTombstoneKey()
104 static unsigned getHashValue(const PPRegion &S) { in getHashValue()
114 static bool isEqual(const PPRegion &LHS, const PPRegion &RHS) { in isEqual()
H A DCXCursor.cpp1539 template <> struct DenseMapInfo<CXCursor> { struct
1548 return llvm::DenseMapInfo<std::pair<const void *, const void *>>:: in getHashValue()
1551 static inline bool isEqual(const CXCursor &x, const CXCursor &y) { in isEqual()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h63 struct DenseMapInfo { struct
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp93 struct DenseMapInfo<std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>> { struct
94 using TOCKey = std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>;
96 static inline TOCKey getEmptyKey() { in getEmptyKey()
99 static inline TOCKey getTombstoneKey() { in getTombstoneKey()
102 static unsigned getHashValue(const TOCKey &PairVal) { in getHashValue()
107 static bool isEqual(const TOCKey &A, const TOCKey &B) { return A == B; } in isEqual()
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCDwarf.cpp1828 template <> struct DenseMapInfo<CIEKey> { struct
1829 static CIEKey getEmptyKey() { return CIEKey::getEmptyKey(); } in getEmptyKey()
1830 static CIEKey getTombstoneKey() { return CIEKey::getTombstoneKey(); } in getTombstoneKey()
1832 static unsigned getHashValue(const CIEKey &Key) { in getHashValue()
1839 static bool isEqual(const CIEKey &LHS, const CIEKey &RHS) { in isEqual()
/openbsd/gnu/llvm/clang/tools/clang-linker-wrapper/
H A DClangLinkerWrapper.cpp96 template <> struct DenseMapInfo<OffloadKind> { struct
97 static inline OffloadKind getEmptyKey() { return OFK_LAST; } in getEmptyKey()
98 static inline OffloadKind getTombstoneKey() { in getTombstoneKey()
101 static unsigned getHashValue(const OffloadKind &Val) { return Val; } in getHashValue()
103 static bool isEqual(const OffloadKind &LHS, const OffloadKind &RHS) { in isEqual()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp52 template <> struct llvm::DenseMapInfo<VariableID> { struct in llvm
53 using Wrapped = DenseMapInfo<unsigned>;
54 static inline VariableID getEmptyKey() { in getEmptyKey()
57 static inline VariableID getTombstoneKey() { in getTombstoneKey()
60 static unsigned getHashValue(const VariableID &Val) { in getHashValue()
63 static bool isEqual(const VariableID &LHS, const VariableID &RHS) { in isEqual()
/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DObjCMT.cpp2040 template<> struct DenseMapInfo<EditEntry> { struct
2041 static inline EditEntry getEmptyKey() { in getEmptyKey()
2046 static inline EditEntry getTombstoneKey() { in getTombstoneKey()
2051 static unsigned getHashValue(const EditEntry& Val) { in getHashValue()
2055 static bool isEqual(const EditEntry &LHS, const EditEntry &RHS) { in isEqual()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DMemorySSA.cpp224 template <> struct DenseMapInfo<MemoryLocOrCall> { struct
225 static inline MemoryLocOrCall getEmptyKey() { in getEmptyKey()
229 static inline MemoryLocOrCall getTombstoneKey() { in getTombstoneKey()
233 static unsigned getHashValue(const MemoryLocOrCall &MLOC) { in getHashValue()
248 static bool isEqual(const MemoryLocOrCall &LHS, const MemoryLocOrCall &RHS) { in isEqual()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp4380 template <> struct DenseMapInfo<CatchHandlerType> { struct
4381 static CatchHandlerType getEmptyKey() { in getEmptyKey()
4386 static CatchHandlerType getTombstoneKey() { in getTombstoneKey()
4391 static unsigned getHashValue(const CatchHandlerType &Base) { in getHashValue()
4395 static bool isEqual(const CatchHandlerType &LHS, in isEqual()

12