Home
last modified time | relevance | path

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

/llvm-project/mlir/lib/Support/
H A DStorageUniquer.cpp251 struct StorageUniquerImpl { struct
252 using BaseStorage = StorageUniquer::BaseStorage;
253 using StorageAllocator = StorageUniquer::StorageAllocator;
260 bool hasParametricStorage(TypeID id) { return parametricUniquers.count(id); } in hasParametricStorage()
264 getOrCreate(TypeID id, unsigned hashValue, in getOrCreate()
278 mutate(TypeID id, BaseStorage *storage, in mutate()
290 StorageAllocator &getThreadSafeAllocator() { in getThreadSafeAllocator()
318 BaseStorage *getSingleton(TypeID id) { in getSingleton()
325 bool hasSingleton(TypeID id) const { return singletonInstances.count(id); } in hasSingleton()
334 ThreadLocalCache<StorageAllocator *> threadSafeAllocator;
[all …]