Home
last modified time | relevance | path

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

12

/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()
H A DSimplifyCFG.cpp7416 template <> struct DenseMapInfo<const SwitchSuccWrapper *> { struct
7417 static const SwitchSuccWrapper *getEmptyKey() { in getEmptyKey()
7421 static const SwitchSuccWrapper *getTombstoneKey() { in getTombstoneKey()
7425 static unsigned getHashValue(const SwitchSuccWrapper *SSW) { in getHashValue()
7449 static bool isEqual(const SwitchSuccWrapper *LHS, in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp209 template <> struct DenseMapInfo<SlotWithTag> { struct
210 static inline SlotWithTag getEmptyKey() { return {-2, -2}; } in getEmptyKey()
211 static inline SlotWithTag getTombstoneKey() { return {-3, -3}; } in getTombstoneKey()
212 static unsigned getHashValue(const SlotWithTag &V) { in getHashValue()
216 static bool isEqual(const SlotWithTag &A, const SlotWithTag &B) { in isEqual()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A 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()
H A DExprConstant.cpp784 template<> struct DenseMapInfo<ObjectUnderConstruction> { struct
785 using Base = DenseMapInfo<APValue::LValueBase>;
786 static ObjectUnderConstruction getEmptyKey() { in getEmptyKey()
788 static ObjectUnderConstruction getTombstoneKey() { in getTombstoneKey()
791 static unsigned getHashValue(const ObjectUnderConstruction &Object) { in getHashValue()
794 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/utils/TableGen/Basic/
H A DRuntimeLibcallsEmitter.cpp39 template <> struct DenseMapInfo<PredicateWithCC, void> { struct
40 static inline PredicateWithCC getEmptyKey() { in getEmptyKey()
45 static inline PredicateWithCC getTombstoneKey() { in getTombstoneKey()
50 static unsigned getHashValue(const PredicateWithCC Val) { in getHashValue()
56 static bool isEqual(PredicateWithCC LHS, PredicateWithCC RHS) { in isEqual()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h53 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()
514 template <> struct DenseMapInfo<CallValue> { struct
515 static inline CallValue getEmptyKey() { in getEmptyKey()
519 static inline CallValue getTombstoneKey() { in getTombstoneKey()
585 template <> struct DenseMapInfo<GEPValue> { struct
586 static inline GEPValue getEmptyKey() { in getEmptyKey()
590 static inline GEPValue getTombstoneKey() { in getTombstoneKey()
H A DGVNSink.cpp260 template <typename ModelledPHI> struct DenseMapInfo { struct
261 static inline ModelledPHI &getEmptyKey() { in getEmptyKey()
266 static inline ModelledPHI &getTombstoneKey() { in getTombstoneKey()
271 static unsigned getHashValue(const ModelledPHI &V) { return V.hash(); } in getHashValue()
273 static bool isEqual(const ModelledPHI &LHS, const ModelledPHI &RHS) { in isEqual()
H A DNewGVN.cpp452 template <> struct DenseMapInfo<const Expression *> { struct
453 static const Expression *getEmptyKey() { in getEmptyKey()
459 static const Expression *getTombstoneKey() { in getTombstoneKey()
465 static unsigned getHashValue(const Expression *E) { in getHashValue()
469 static unsigned getHashValue(const ExactEqualsExpression &E) { in getHashValue()
473 static bool isEqual(const ExactEqualsExpression &LHS, const Expression *RHS) { in isEqual()
479 static bool isEqual(const Expression *LHS, const Expression *RHS) { in isEqual()
H A DGVN.cpp175 template <> struct DenseMapInfo<GVNPass::Expression> { struct
176 static inline GVNPass::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
177 static inline GVNPass::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
179 static unsigned getHashValue(const GVNPass::Expression &E) { in getHashValue()
185 static bool isEqual(const GVNPass::Expression &LHS, in isEqual()
/freebsd/contrib/llvm-project/lld/COFF/
H A DChunks.h699 struct DenseMapInfo { struct
700 static ChunkAndOffset getEmptyKey() { in getEmptyKey()
703 static ChunkAndOffset getTombstoneKey() { in getTombstoneKey()
706 static unsigned getHashValue(const ChunkAndOffset &co) { in getHashValue()
710 static bool isEqual(const ChunkAndOffset &lhs, const ChunkAndOffset &rhs) { in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp637 template <> struct llvm::DenseMapInfo<SpecSig> { struct in llvm
638 static inline SpecSig getEmptyKey() { return {~0U, {}}; } in getEmptyKey()
640 static inline SpecSig getTombstoneKey() { return {~1U, {}}; } in getTombstoneKey()
642 static unsigned getHashValue(const SpecSig &S) { in getHashValue()
646 static bool isEqual(const SpecSig &LHS, const SpecSig &RHS) { in isEqual()
H A DWholeProgramDevirt.cpp365 template <> struct DenseMapInfo<VTableSlot> { struct
366 static VTableSlot getEmptyKey() { in getEmptyKey()
370 static VTableSlot getTombstoneKey() { in getTombstoneKey()
374 static unsigned getHashValue(const VTableSlot &I) { in getHashValue()
378 static bool isEqual(const VTableSlot &LHS, in isEqual()
384 template <> struct DenseMapInfo<VTableSlotSummary> { struct
385 static VTableSlotSummary getEmptyKey() { in getEmptyKey()
389 static VTableSlotSummary getTombstoneKey() { in getTombstoneKey()
393 static unsigned getHashValue(const VTableSlotSummary &I) { in getHashValue()
397 static bool isEqual(const VTableSlotSummary &LHS, in isEqual()
H A DAttributorAttributes.cpp747 struct DenseMapInfo<AAPointerInfo::Access> : DenseMapInfo<Instruction *> { struct
748 using Access = AAPointerInfo::Access;
756 template <> struct DenseMapInfo<AA::RangeTy> { struct
757 static inline AA::RangeTy getEmptyKey() { in getEmptyKey()
762 static inline AA::RangeTy getTombstoneKey() { in getTombstoneKey()
767 static unsigned getHashValue(const AA::RangeTy &Range) { in getHashValue()
773 static bool isEqual(const AA::RangeTy &A, const AA::RangeTy B) { in isEqual()
3462 template <typename ToTy> struct DenseMapInfo<ReachabilityQueryInfo<ToTy> *> { struct
3463 using InstSetDMI = DenseMapInfo<const AA::InstExclusionSetTy *>;
3464 using PairDMI = DenseMapInfo<std::pair<const Instruction *, const ToTy *>>;
[all …]
H A DMemProfContextDisambiguation.cpp1018 struct DenseMapInfo<typename CallsiteContextGraph< struct
1022 struct DenseMapInfo<typename CallsiteContextGraph< struct
1026 struct DenseMapInfo<IndexCall> struct
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1225 template <> struct DenseMapInfo<PrivateMethodKey> { struct
1226 using InterfaceInfo = DenseMapInfo<const ObjCInterfaceDecl *>;
1227 using SelectorInfo = DenseMapInfo<Selector>;
1229 static inline PrivateMethodKey getEmptyKey() { in getEmptyKey()
1233 static inline PrivateMethodKey getTombstoneKey() { in getTombstoneKey()
1238 static unsigned getHashValue(const PrivateMethodKey &Key) { in getHashValue()
1245 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.cpp1073 struct DenseMapInfo<LoweredPHIRecord> { struct
1074 static inline LoweredPHIRecord getEmptyKey() { in getEmptyKey()
1077 static inline LoweredPHIRecord getTombstoneKey() { in getTombstoneKey()
1080 static unsigned getHashValue(const LoweredPHIRecord &Val) { in getHashValue()
1084 static bool isEqual(const LoweredPHIRecord &LHS, in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp109 struct DenseMapInfo<std::pair<const MCSymbol *, PPCMCExpr::Specifier>> { struct
110 using TOCKey = std::pair<const MCSymbol *, PPCMCExpr::Specifier>;
112 static inline TOCKey getEmptyKey() { return {nullptr, PPC::S_None}; } in getEmptyKey()
113 static inline TOCKey getTombstoneKey() { in getTombstoneKey()
116 static unsigned getHashValue(const TOCKey &PairVal) { in getHashValue()
121 static bool isEqual(const TOCKey &A, const TOCKey &B) { return A == B; } in isEqual()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaConcept.cpp1857 template <> struct llvm::DenseMapInfo<llvm::FoldingSetNodeID> { struct in llvm
1859 static FoldingSetNodeID getEmptyKey() { in getEmptyKey()
1865 static FoldingSetNodeID getTombstoneKey() { in getTombstoneKey()
1873 static unsigned getHashValue(const FoldingSetNodeID &Val) { in getHashValue()
1877 static bool isEqual(const FoldingSetNodeID &LHS, in isEqual()
H A DSemaStmt.cpp4239 template <> struct DenseMapInfo<CatchHandlerType> { struct
4240 static CatchHandlerType getEmptyKey() { in getEmptyKey()
4245 static CatchHandlerType getTombstoneKey() { in getTombstoneKey()
4250 static unsigned getHashValue(const CatchHandlerType &Base) { in getHashValue()
4254 static bool isEqual(const CatchHandlerType &LHS, in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp70 template <> struct llvm::DenseMapInfo<VariableID> { struct in llvm
71 using Wrapped = DenseMapInfo<unsigned>;
72 static inline VariableID getEmptyKey() { in getEmptyKey()
75 static inline VariableID getTombstoneKey() { in getTombstoneKey()
78 static unsigned getHashValue(const VariableID &Val) { in getHashValue()
81 static bool isEqual(const VariableID &LHS, const VariableID &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()

12