Home
last modified time | relevance | path

Searched refs:ctorFn (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Support/
H A DStorageUniquer.cpp98 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in getOrCreateUnsafe() argument
102 storage = ctorFn(shard.allocator); in getOrCreateUnsafe()
141 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in getOrCreate() argument
145 return getOrCreateUnsafe(shard, lookupKey, ctorFn); in getOrCreate()
164 return localInst = getOrCreateUnsafe(shard, lookupKey, ctorFn); in getOrCreate()
240 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) {
242 return getOrCreateUnsafe(shard, lookupKey, ctorFn);
280 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in getOrCreate()
285 ctorFn); in getOrCreate()
348 return impl->getOrCreate(id, hashValue, isEqual, ctorFn); in getParametricStorageTypeImpl()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DStorageUniquer.h171 auto ctorFn = [&](StorageAllocator &allocator) { in registerSingletonStorageType()
177 registerSingletonImpl(id, ctorFn); in registerSingletonStorageType()
209 auto ctorFn = [&](StorageAllocator &allocator) { in get()
218 getParametricStorageTypeImpl(id, hashValue, isEqual, ctorFn)); in get()
266 function_ref<BaseStorage *(StorageAllocator &)> ctorFn);
282 function_ref<BaseStorage *(StorageAllocator &)> ctorFn);