Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A 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()
/netbsd-src/external/apache2/llvm/dist/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.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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A 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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A 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()
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DDenseMapInfo.h47 struct DenseMapInfo { struct
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1172 template <> struct DenseMapInfo<PrivateMethodKey> { struct
1173 using InterfaceInfo = DenseMapInfo<const ObjCInterfaceDecl *>;
1174 using SelectorInfo = DenseMapInfo<Selector>;
1176 static inline PrivateMethodKey getEmptyKey() { in getEmptyKey()
1180 static inline PrivateMethodKey getTombstoneKey() { in getTombstoneKey()
1185 static unsigned getHashValue(const PrivateMethodKey &Key) { in getHashValue()
1192 static bool isEqual(const PrivateMethodKey &LHS, in isEqual()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A 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()
H A 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()
H A DGVN.cpp159 template <> struct DenseMapInfo<GVN::Expression> { struct
160 static inline GVN::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
161 static inline GVN::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
163 static unsigned getHashValue(const GVN::Expression &e) { in getHashValue()
169 static bool isEqual(const GVN::Expression &LHS, const GVN::Expression &RHS) { in isEqual()
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A 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()
/netbsd-src/external/apache2/llvm/dist/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.cpp1466 template <> struct DenseMapInfo<CXCursor> { struct
1475 return llvm::DenseMapInfo<std::pair<const void *, const void *>>:: in getHashValue()
1478 static inline bool isEqual(const CXCursor &x, const CXCursor &y) { in isEqual()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp87 struct DenseMapInfo<std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>> { struct
88 using TOCKey = std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>;
90 static inline TOCKey getEmptyKey() { in getEmptyKey()
93 static inline TOCKey getTombstoneKey() { in getTombstoneKey()
96 static unsigned getHashValue(const TOCKey &PairVal) { in getHashValue()
101 static bool isEqual(const TOCKey &A, const TOCKey &B) { return A == B; } in isEqual()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCDwarf.cpp1829 template <> struct DenseMapInfo<CIEKey> { struct
1830 static CIEKey getEmptyKey() { return CIEKey::getEmptyKey(); } in getEmptyKey()
1831 static CIEKey getTombstoneKey() { return CIEKey::getTombstoneKey(); } in getTombstoneKey()
1833 static unsigned getHashValue(const CIEKey &Key) { in getHashValue()
1839 static bool isEqual(const CIEKey &LHS, const CIEKey &RHS) { in isEqual()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp4368 template <> struct DenseMapInfo<CatchHandlerType> { struct
4369 static CatchHandlerType getEmptyKey() { in getEmptyKey()
4374 static CatchHandlerType getTombstoneKey() { in getTombstoneKey()
4379 static unsigned getHashValue(const CatchHandlerType &Base) { in getHashValue()
4383 static bool isEqual(const CatchHandlerType &LHS, in isEqual()