Lines Matching defs:DenseMapInfo
727 struct DenseMapInfo<T, std::enable_if_t<std::is_base_of_v<A, T>>> { struct
728 static inline T getEmptyKey() { return {static_cast<int>(~0)}; } in getEmptyKey()
729 static inline T getTombstoneKey() { return {static_cast<int>(~0U - 1)}; } in getTombstoneKey()
730 static unsigned getHashValue(const T &Val) { return Val.value; } in getHashValue()
731 static bool isEqual(const T &LHS, const T &RHS) { in isEqual()
736 template <> struct DenseMapInfo<AlwaysEqType> { struct
737 using T = AlwaysEqType;
738 static inline T getEmptyKey() { return {}; } in getEmptyKey()
739 static inline T getTombstoneKey() { return {}; } in getTombstoneKey()
740 static unsigned getHashValue(const T &Val) { return 0; } in getHashValue()
741 static bool isEqual(const T &LHS, const T &RHS) { in isEqual()