Home
last modified time | relevance | path

Searched refs:initFn (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/mlir/include/mlir/Support/
DStorageUniquer.h151 function_ref<void(Storage *)> initFn) { in registerSingletonStorageType() argument
154 if (initFn) in registerSingletonStorageType()
155 initFn(storage); in registerSingletonStorageType()
165 void registerSingletonStorageType(function_ref<void(Storage *)> initFn = {}) {
166 registerSingletonStorageType<Storage>(TypeID::get<Storage>(), initFn);
175 Storage *get(function_ref<void(Storage *)> initFn, TypeID id, in get() argument
191 if (initFn) in get()
192 initFn(storage); in get()
202 Storage *get(function_ref<void(Storage *)> initFn, Args &&...args) { in get() argument
203 return get<Storage>(initFn, TypeID::get<Storage>(), in get()
/external/zstd/programs/
Dbenchfn.c123 if (p.initFn != NULL) p.initFn(p.initPayload); in BMK_benchFunction()
Dbenchfn.h71 BMK_initFn_t initFn; /* (*initFn)(initPayload) is run once per run, at the beginning. */ member
Dbenchzstd.c405 cbp.initFn = local_initCCtx; /* BMK_initCCtx */ in BMK_benchMemAdvancedNoAlloc()
424 dbp.initFn = local_initDCtx; in BMK_benchMemAdvancedNoAlloc()
/external/zstd/tests/
Dfullbench.c624 bp.initFn = NULL; in benchMem()
Dparamgrill.c1598 cbp.initFn = local_initCCtx; in BMK_benchMemInvertible()
1616 dbp.initFn = local_initDCtx; in BMK_benchMemInvertible()
/external/zstd/contrib/largeNbDicts/
DlargeNbDicts.c689 .initFn = NULL, in benchMem()