Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DASTTypeTraits.h106 struct DenseMapInfo { struct
108 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey()
111 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey()
114 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
115 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DItaniumCXXABI.cpp103 struct DenseMapInfo<DecompositionDeclName> { struct
104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
105 static DecompositionDeclName getEmptyKey() { in getEmptyKey()
108 static DecompositionDeclName getTombstoneKey() { in getTombstoneKey()
111 static unsigned getHashValue(DecompositionDeclName Key) { in getHashValue()
115 static bool isEqual(DecompositionDeclName LHS, DecompositionDeclName RHS) { in isEqual()
DExprConstant.cpp729 template<> struct DenseMapInfo<ObjectUnderConstruction> { struct
730 using Base = DenseMapInfo<APValue::LValueBase>;
731 static ObjectUnderConstruction getEmptyKey() { in getEmptyKey()
733 static ObjectUnderConstruction getTombstoneKey() { in getTombstoneKey()
736 static unsigned getHashValue(const ObjectUnderConstruction &Object) { in getHashValue()
739 static bool isEqual(const ObjectUnderConstruction &LHS, in isEqual()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64StackTaggingPreRA.cpp220 template <> struct DenseMapInfo<SlotWithTag> { struct
221 static inline SlotWithTag getEmptyKey() { return {-2, -2}; } in getEmptyKey()
222 static inline SlotWithTag getTombstoneKey() { return {-3, -3}; } in getTombstoneKey()
223 static unsigned getHashValue(const SlotWithTag &V) { in getHashValue()
227 static bool isEqual(const SlotWithTag &A, const SlotWithTag &B) { in isEqual()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
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()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp275 template <> struct DenseMapInfo<OffsetValue> { struct
276 static OffsetValue getEmptyKey() { in getEmptyKey()
281 static OffsetValue getTombstoneKey() { in getTombstoneKey()
286 static unsigned getHashValue(const OffsetValue &OVal) { in getHashValue()
291 static bool isEqual(const OffsetValue &LHS, const OffsetValue &RHS) { in isEqual()
297 template <> struct DenseMapInfo<OffsetInstantiatedValue> { struct
298 static OffsetInstantiatedValue getEmptyKey() { in getEmptyKey()
304 static OffsetInstantiatedValue getTombstoneKey() { in getTombstoneKey()
310 static unsigned getHashValue(const OffsetInstantiatedValue &OVal) { in getHashValue()
315 static bool isEqual(const OffsetInstantiatedValue &LHS, in isEqual()
DMemorySSA.cpp196 template <> struct DenseMapInfo<MemoryLocOrCall> { struct
197 static inline MemoryLocOrCall getEmptyKey() { in getEmptyKey()
201 static inline MemoryLocOrCall getTombstoneKey() { in getTombstoneKey()
205 static unsigned getHashValue(const MemoryLocOrCall &MLOC) { in getHashValue()
220 static bool isEqual(const MemoryLocOrCall &LHS, const MemoryLocOrCall &RHS) { in isEqual()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
DDenseMapInfo.h43 struct DenseMapInfo { struct
/freebsd-12-stable/contrib/llvm-project/lld/COFF/
DChunks.h561 struct DenseMapInfo { struct
562 static ChunkAndOffset getEmptyKey() { in getEmptyKey()
565 static ChunkAndOffset getTombstoneKey() { in getTombstoneKey()
568 static unsigned getHashValue(const ChunkAndOffset &co) { in getHashValue()
572 static bool isEqual(const ChunkAndOffset &lhs, const ChunkAndOffset &rhs) { in isEqual()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DGVNSink.cpp315 template <typename ModelledPHI> struct DenseMapInfo { struct
316 static inline ModelledPHI &getEmptyKey() { in getEmptyKey()
321 static inline ModelledPHI &getTombstoneKey() { in getTombstoneKey()
326 static unsigned getHashValue(const ModelledPHI &V) { return V.hash(); } in getHashValue()
328 static bool isEqual(const ModelledPHI &LHS, const ModelledPHI &RHS) { in isEqual()
DEarlyCSE.cpp147 template <> struct DenseMapInfo<SimpleValue> { struct
148 static inline SimpleValue getEmptyKey() { in getEmptyKey()
152 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
473 template <> struct DenseMapInfo<CallValue> { struct
474 static inline CallValue getEmptyKey() { in getEmptyKey()
478 static inline CallValue getTombstoneKey() { in getTombstoneKey()
DGVN.cpp158 template <> struct DenseMapInfo<GVN::Expression> { struct
159 static inline GVN::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
160 static inline GVN::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
162 static unsigned getHashValue(const GVN::Expression &e) { in getHashValue()
168 static bool isEqual(const GVN::Expression &LHS, const GVN::Expression &RHS) { in isEqual()
DNewGVN.cpp445 template <> struct DenseMapInfo<const Expression *> { struct
446 static const Expression *getEmptyKey() { in getEmptyKey()
452 static const Expression *getTombstoneKey() { in getTombstoneKey()
458 static unsigned getHashValue(const Expression *E) { in getHashValue()
462 static unsigned getHashValue(const ExactEqualsExpression &E) { in getHashValue()
466 static bool isEqual(const ExactEqualsExpression &LHS, const Expression *RHS) { in isEqual()
472 static bool isEqual(const Expression *LHS, const Expression *RHS) { in isEqual()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp1211 template <> struct DenseMapInfo<PrivateMethodKey> { struct
1212 using InterfaceInfo = DenseMapInfo<const ObjCInterfaceDecl *>;
1213 using SelectorInfo = DenseMapInfo<Selector>;
1215 static inline PrivateMethodKey getEmptyKey() { in getEmptyKey()
1219 static inline PrivateMethodKey getTombstoneKey() { in getTombstoneKey()
1224 static unsigned getHashValue(const PrivateMethodKey &Key) { in getHashValue()
1231 static bool isEqual(const PrivateMethodKey &LHS, in isEqual()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp320 template <> struct DenseMapInfo<VTableSlot> { struct
321 static VTableSlot getEmptyKey() { in getEmptyKey()
325 static VTableSlot getTombstoneKey() { in getTombstoneKey()
329 static unsigned getHashValue(const VTableSlot &I) { in getHashValue()
333 static bool isEqual(const VTableSlot &LHS, in isEqual()
339 template <> struct DenseMapInfo<VTableSlotSummary> { struct
340 static VTableSlotSummary getEmptyKey() { in getEmptyKey()
344 static VTableSlotSummary getTombstoneKey() { in getTombstoneKey()
348 static unsigned getHashValue(const VTableSlotSummary &I) { in getHashValue()
352 static bool isEqual(const VTableSlotSummary &LHS, in isEqual()
DAttributorAttributes.cpp792 struct DenseMapInfo<AAPointerInfo::Access> : DenseMapInfo<Instruction *> { struct
793 using Access = AAPointerInfo::Access;
802 struct DenseMapInfo<AA::PointerInfo ::OffsetAndSize> struct
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1026 struct DenseMapInfo<LoweredPHIRecord> { struct
1027 static inline LoweredPHIRecord getEmptyKey() { in getEmptyKey()
1030 static inline LoweredPHIRecord getTombstoneKey() { in getTombstoneKey()
1033 static unsigned getHashValue(const LoweredPHIRecord &Val) { in getHashValue()
1037 static bool isEqual(const LoweredPHIRecord &LHS, in isEqual()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp92 struct DenseMapInfo<std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>> { struct
93 using TOCKey = std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>;
95 static inline TOCKey getEmptyKey() { in getEmptyKey()
98 static inline TOCKey getTombstoneKey() { in getTombstoneKey()
101 static unsigned getHashValue(const TOCKey &PairVal) { in getHashValue()
106 static bool isEqual(const TOCKey &A, const TOCKey &B) { return A == B; } in isEqual()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
DMCDwarf.cpp1794 template <> struct DenseMapInfo<CIEKey> { struct
1795 static CIEKey getEmptyKey() { return CIEKey::getEmptyKey(); } in getEmptyKey()
1796 static CIEKey getTombstoneKey() { return CIEKey::getTombstoneKey(); } in getTombstoneKey()
1798 static unsigned getHashValue(const CIEKey &Key) { in getHashValue()
1804 static bool isEqual(const CIEKey &LHS, const CIEKey &RHS) { in isEqual()
/freebsd-12-stable/contrib/llvm-project/clang/lib/ARCMigrate/
DObjCMT.cpp2043 template<> struct DenseMapInfo<EditEntry> { struct
2044 static inline EditEntry getEmptyKey() { in getEmptyKey()
2049 static inline EditEntry getTombstoneKey() { in getTombstoneKey()
2054 static unsigned getHashValue(const EditEntry& Val) { in getHashValue()
2058 static bool isEqual(const EditEntry &LHS, const EditEntry &RHS) { in isEqual()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaStmt.cpp4316 template <> struct DenseMapInfo<CatchHandlerType> { struct
4317 static CatchHandlerType getEmptyKey() { in getEmptyKey()
4322 static CatchHandlerType getTombstoneKey() { in getTombstoneKey()
4327 static unsigned getHashValue(const CatchHandlerType &Base) { in getHashValue()
4331 static bool isEqual(const CatchHandlerType &LHS, in isEqual()