Searched refs:ctorFn (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/mlir/lib/Support/ |
D | StorageUniquer.cpp | 95 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in getOrCreateUnsafe() argument 99 storage = ctorFn(shard.allocator); in getOrCreateUnsafe() 124 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in getOrCreate() argument 128 return getOrCreateUnsafe(shard, lookupKey, ctorFn); in getOrCreate() 147 return localInst = getOrCreateUnsafe(shard, lookupKey, ctorFn); in getOrCreate() 216 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { 218 return getOrCreateUnsafe(shard, lookupKey, ctorFn); 253 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in getOrCreate() 258 ctorFn); in getOrCreate() 320 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) -> BaseStorage * { in getParametricStorageTypeImpl() argument [all …]
|
/external/llvm-project/mlir/include/mlir/Support/ |
D | StorageUniquer.h | 152 auto ctorFn = [&](StorageAllocator &allocator) { in registerSingletonStorageType() 158 registerSingletonImpl(id, ctorFn); in registerSingletonStorageType() 189 auto ctorFn = [&](StorageAllocator &allocator) { in get() 198 getParametricStorageTypeImpl(id, hashValue, isEqual, ctorFn)); in get() 244 function_ref<BaseStorage *(StorageAllocator &)> ctorFn); 258 function_ref<BaseStorage *(StorageAllocator &)> ctorFn);
|