Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCanonicalizeFreezeInLoops.cpp107 template <> struct DenseMapInfo<FrozenIndPHIInfo> { struct
108 static inline FrozenIndPHIInfo getEmptyKey() { in getEmptyKey()
113 static inline FrozenIndPHIInfo getTombstoneKey() { in getTombstoneKey()
118 static unsigned getHashValue(const FrozenIndPHIInfo &Val) { in getHashValue()
122 static bool isEqual(const FrozenIndPHIInfo &LHS, in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp219 return hash_combine(DenseMapInfo<int>::getHashValue(V.FI), in getHashValue() argument
216 template <> struct DenseMapInfo<SlotWithTag> { global() struct
217 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument
218 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument
223 isEqualllvm::DenseMapInfo isEqual() argument
/freebsd/contrib/llvm-project/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()
H A DExprConstant.cpp765 template<> struct DenseMapInfo<ObjectUnderConstruction> { struct
766 using Base = DenseMapInfo<APValue::LValueBase>;
767 static ObjectUnderConstruction getEmptyKey() { in getEmptyKey()
769 static ObjectUnderConstruction getTombstoneKey() { in getTombstoneKey()
772 static unsigned getHashValue(const ObjectUnderConstruction &Object) { in getHashValue()
775 static bool isEqual(const ObjectUnderConstruction &LHS, in isEqual()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h52 struct DenseMapInfo { struct
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp159 template <> struct DenseMapInfo<SimpleValue> { struct
160 static inline SimpleValue getEmptyKey() { in getEmptyKey()
164 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
519 template <> struct DenseMapInfo<CallValue> { struct
520 static inline CallValue getEmptyKey() { in getEmptyKey()
524 static inline CallValue getTombstoneKey() { in getTombstoneKey()
590 template <> struct DenseMapInfo<GEPValue> { struct
591 static inline GEPValue getEmptyKey() { in getEmptyKey()
595 static inline GEPValue getTombstoneKey() { in getTombstoneKey()
H A DGVNSink.cpp341 template <typename ModelledPHI> struct DenseMapInfo { struct
342 static inline ModelledPHI &getEmptyKey() { in getEmptyKey()
347 static inline ModelledPHI &getTombstoneKey() { in getTombstoneKey()
352 static unsigned getHashValue(const ModelledPHI &V) { return V.hash(); } in getHashValue()
354 static bool isEqual(const ModelledPHI &LHS, const ModelledPHI &RHS) { in isEqual()
H A DNewGVN.cpp441 template <> struct DenseMapInfo<const Expression *> { struct
442 static const Expression *getEmptyKey() { in getEmptyKey()
448 static const Expression *getTombstoneKey() { in getTombstoneKey()
454 static unsigned getHashValue(const Expression *E) { in getHashValue()
458 static unsigned getHashValue(const ExactEqualsExpression &E) { in getHashValue()
462 static bool isEqual(const ExactEqualsExpression &LHS, const Expression *RHS) { in isEqual()
468 static bool isEqual(const Expression *LHS, const Expression *RHS) { in isEqual()
H A DGVN.cpp169 template <> struct DenseMapInfo<GVNPass::Expression> { struct
170 static inline GVNPass::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
171 static inline GVNPass::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
173 static unsigned getHashValue(const GVNPass::Expression &e) { in getHashValue()
179 static bool isEqual(const GVNPass::Expression &LHS, in isEqual()
/freebsd/contrib/llvm-project/lld/COFF/
H A DChunks.h655 struct DenseMapInfo { struct
656 static ChunkAndOffset getEmptyKey() { in getEmptyKey()
659 static ChunkAndOffset getTombstoneKey() { in getTombstoneKey()
662 static unsigned getHashValue(const ChunkAndOffset &co) { in getHashValue()
666 static bool isEqual(const ChunkAndOffset &lhs, const ChunkAndOffset &rhs) { in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp599 template <> struct llvm::DenseMapInfo<SpecSig> { struct in llvm
600 static inline SpecSig getEmptyKey() { return {~0U, {}}; } in getEmptyKey()
602 static inline SpecSig getTombstoneKey() { return {~1U, {}}; } in getTombstoneKey()
604 static unsigned getHashValue(const SpecSig &S) { in getHashValue()
608 static bool isEqual(const SpecSig &LHS, const SpecSig &RHS) { in isEqual()
H A DWholeProgramDevirt.cpp331 template <> struct DenseMapInfo<VTableSlot> { struct
332 static VTableSlot getEmptyKey() { in getEmptyKey()
336 static VTableSlot getTombstoneKey() { in getTombstoneKey()
340 static unsigned getHashValue(const VTableSlot &I) { in getHashValue()
344 static bool isEqual(const VTableSlot &LHS, in isEqual()
350 template <> struct DenseMapInfo<VTableSlotSummary> { struct
351 static VTableSlotSummary getEmptyKey() { in getEmptyKey()
355 static VTableSlotSummary getTombstoneKey() { in getTombstoneKey()
359 static unsigned getHashValue(const VTableSlotSummary &I) { in getHashValue()
363 static bool isEqual(const VTableSlotSummary &LHS, in isEqual()
H A DAttributorAttributes.cpp743 struct DenseMapInfo<AAPointerInfo::Access> : DenseMapInfo<Instruction *> { struct
744 using Access = AAPointerInfo::Access;
752 template <> struct DenseMapInfo<AA::RangeTy> { struct
753 static inline AA::RangeTy getEmptyKey() { in getEmptyKey()
758 static inline AA::RangeTy getTombstoneKey() { in getTombstoneKey()
763 static unsigned getHashValue(const AA::RangeTy &Range) { in getHashValue()
769 static bool isEqual(const AA::RangeTy &A, const AA::RangeTy B) { in isEqual()
3420 template <typename ToTy> struct DenseMapInfo<ReachabilityQueryInfo<ToTy> *> { struct
3421 using InstSetDMI = DenseMapInfo<const AA::InstExclusionSetTy *>;
3422 using PairDMI = DenseMapInfo<std::pair<const Instruction *, const ToTy *>>;
[all …]
H A DMemProfContextDisambiguation.cpp784 struct DenseMapInfo<typename CallsiteContextGraph< struct
788 struct DenseMapInfo<typename CallsiteContextGraph< struct
792 struct DenseMapInfo<IndexCall> struct
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1205 template <> struct DenseMapInfo<PrivateMethodKey> { struct
1206 using InterfaceInfo = DenseMapInfo<const ObjCInterfaceDecl *>;
1207 using SelectorInfo = DenseMapInfo<Selector>;
1209 static inline PrivateMethodKey getEmptyKey() { in getEmptyKey()
1213 static inline PrivateMethodKey getTombstoneKey() { in getTombstoneKey()
1218 static unsigned getHashValue(const PrivateMethodKey &Key) { in getHashValue()
1225 static bool isEqual(const PrivateMethodKey &LHS, in isEqual()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h63 struct DenseMapInfo { struct
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1070 struct DenseMapInfo<LoweredPHIRecord> { struct
1071 static inline LoweredPHIRecord getEmptyKey() { in getEmptyKey()
1074 static inline LoweredPHIRecord getTombstoneKey() { in getTombstoneKey()
1077 static unsigned getHashValue(const LoweredPHIRecord &Val) { in getHashValue()
1081 static bool isEqual(const LoweredPHIRecord &LHS, in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp108 struct DenseMapInfo<std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>> { struct
109 using TOCKey = std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>;
111 static inline TOCKey getEmptyKey() { in getEmptyKey()
114 static inline TOCKey getTombstoneKey() { in getTombstoneKey()
117 static unsigned getHashValue(const TOCKey &PairVal) { in getHashValue()
122 static bool isEqual(const TOCKey &A, const TOCKey &B) { return A == B; } in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp69 template <> struct llvm::DenseMapInfo<VariableID> { struct in llvm
70 using Wrapped = DenseMapInfo<unsigned>;
71 static inline VariableID getEmptyKey() { in getEmptyKey()
74 static inline VariableID getTombstoneKey() { in getTombstoneKey()
77 static unsigned getHashValue(const VariableID &Val) { in getHashValue()
80 static bool isEqual(const VariableID &LHS, const VariableID &RHS) { in isEqual()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp2037 template<> struct DenseMapInfo<EditEntry> { struct
2038 static inline EditEntry getEmptyKey() { in getEmptyKey()
2043 static inline EditEntry getTombstoneKey() { in getTombstoneKey()
2048 static unsigned getHashValue(const EditEntry& Val) { in getHashValue()
2052 static bool isEqual(const EditEntry &LHS, const EditEntry &RHS) { in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSA.cpp219 template <> struct DenseMapInfo<MemoryLocOrCall> { struct
220 static inline MemoryLocOrCall getEmptyKey() { in getEmptyKey()
224 static inline MemoryLocOrCall getTombstoneKey() { in getTombstoneKey()
228 static unsigned getHashValue(const MemoryLocOrCall &MLOC) { in getHashValue()
243 static bool isEqual(const MemoryLocOrCall &LHS, const MemoryLocOrCall &RHS) { in isEqual()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4119 template <> struct DenseMapInfo<CatchHandlerType> { struct
4120 static CatchHandlerType getEmptyKey() { in getEmptyKey()
4125 static CatchHandlerType getTombstoneKey() { in getTombstoneKey()
4130 static unsigned getHashValue(const CatchHandlerType &Base) { in getHashValue()
4134 static bool isEqual(const CatchHandlerType &LHS, in isEqual()