Home
last modified time | relevance | path

Searched refs:LookupKey (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Support/
H A DStorageUniquer.cpp31 struct LookupKey { struct in __anon95dc17a30111::ParametricStorageUniquer
61 static inline unsigned getHashValue(const LookupKey &key) { in getHashValue()
69 static inline bool isEqual(const LookupKey &lhs, const HashedStorage &rhs) { in isEqual()
97 getOrCreateUnsafe(Shard &shard, LookupKey &key, in getOrCreateUnsafe()
143 ParametricStorageUniquer::LookupKey lookupKey{hashValue, isEqual}; in getOrCreate()
241 ParametricStorageUniquer::LookupKey lookupKey{hashValue, isEqual};
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DDenseSet.h220 const LookupKeyT &LookupKey) { in insert_as() argument
221 return TheMap.insert_as({V, detail::DenseSetEmpty()}, LookupKey); in insert_as()
224 std::pair<iterator, bool> insert_as(ValueT &&V, const LookupKeyT &LookupKey) { in insert_as() argument
225 return TheMap.insert_as({std::move(V), detail::DenseSetEmpty()}, LookupKey); in insert_as()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantsContext.h559 using LookupKey = std::pair<TypeClass *, ValType>;
562 using LookupKeyHashed = std::pair<unsigned, LookupKey>;
578 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
585 static unsigned getHashValue(const LookupKey &Val) {
593 static bool isEqual(const LookupKey &LHS, const ConstantClass *RHS) {
634 LookupKey Key(Ty, V);
662 LookupKey Key(CP->getType(), ValType(Operands, CP));
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DHashTable.h315 auto LookupKey = Traits.storageKeyToLookupKey(Buckets[I].first); in grow() local
316 NewMap.set_as_internal(LookupKey, Buckets[I].second, Traits, in grow()