Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Support/
DStorageUniquer.cpp238 struct StorageUniquerImpl { struct
239 using BaseStorage = StorageUniquer::BaseStorage;
240 using StorageAllocator = StorageUniquer::StorageAllocator;
247 bool hasParametricStorage(TypeID id) { return parametricUniquers.count(id); } in hasParametricStorage()
251 getOrCreate(TypeID id, unsigned hashValue, in getOrCreate()
264 mutate(TypeID id, BaseStorage *storage, in mutate()
277 BaseStorage *getSingleton(TypeID id) { in getSingleton()
284 bool hasSingleton(TypeID id) const { return singletonInstances.count(id); } in hasSingleton()
292 parametricUniquers;
296 DenseMap<TypeID, BaseStorage *> singletonInstances;
[all …]