Home
last modified time | relevance | path

Searched refs:memory_pool (Results 1 – 25 of 41) sorted by relevance

12

/aosp_15_r20/external/google-fruit/src/
H A Dbinding_normalization.cpp273 FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool, in normalizeBindingsWithUndoableBindingCompression() argument
287 std::move(toplevel_entries), fixed_size_allocator_data, memory_pool, in normalizeBindingsWithUndoableBindingCompression()
293 …[&fully_expanded_components_with_no_args, &memory_pool](LazyComponentWithNoArgsSet& fully_expanded… in normalizeBindingsWithUndoableBindingCompression()
295 …expanded_components = NormalizedComponentStorage::createLazyComponentWithNoArgsSet(0, memory_pool); in normalizeBindingsWithUndoableBindingCompression()
297 …[&fully_expanded_components_with_args, &memory_pool](LazyComponentWithArgsSet& fully_expanded_comp… in normalizeBindingsWithUndoableBindingCompression()
299 …y_expanded_components = NormalizedComponentStorage::createLazyComponentWithArgsSet(0, memory_pool); in normalizeBindingsWithUndoableBindingCompression()
301 …[&component_with_no_args_replacements, &memory_pool](LazyComponentWithNoArgsReplacementMap& compon… in normalizeBindingsWithUndoableBindingCompression()
303 …acements = NormalizedComponentStorage::createLazyComponentWithNoArgsReplacementMap(0, memory_pool); in normalizeBindingsWithUndoableBindingCompression()
305 …[&component_with_args_replacements, &memory_pool](LazyComponentWithArgsReplacementMap& component_r… in normalizeBindingsWithUndoableBindingCompression()
307 …placements = NormalizedComponentStorage::createLazyComponentWithArgsReplacementMap(0, memory_pool); in normalizeBindingsWithUndoableBindingCompression()
[all …]
H A Dnormalized_component_storage.cpp42 … MemoryPool& memory_pool, WithPermanentCompression) in NormalizedComponentStorage() argument
56 …s_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in NormalizedComponentStorage()
58 … fixed_size_allocator_data, memory_pool, in NormalizedComponentStorage()
63 memory_pool); in NormalizedComponentStorage()
68 … MemoryPool& memory_pool, WithUndoableCompression) in NormalizedComponentStorage() argument
82 …s_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in NormalizedComponentStorage()
84 …std::move(component).release(), fixed_size_allocator_data, memory_pool, normalized_component_memor… in NormalizedComponentStorage()
91 memory_pool); in NormalizedComponentStorage()
H A Dinjector_storage.cpp68 MemoryPool& memory_pool) in InjectorStorage() argument
70 …std::move(component), exposed_types, memory_pool, NormalizedComponentStorage::WithPermanentCompres… in InjectorStorage()
73 (DummyNode<TypeId, NormalizedBinding>*)nullptr, memory_pool), in InjectorStorage()
82 MemoryPool& memory_pool) { in InjectorStorage() argument
86 …_t new_bindings_vector = new_bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in InjectorStorage()
88 …BindingNormalization::normalizeBindingsAndAddTo(std::move(component).release(), memory_pool, norma… in InjectorStorage()
94 BindingDataNodeIter{new_bindings_vector.end()}, memory_pool); in InjectorStorage()
H A Dnormalized_component_storage_holder.cpp27 MemoryPool& memory_pool, WithUndoableCompression) in NormalizedComponentStorageHolder() argument
28 : storage(new NormalizedComponentStorage(std::move(component), exposed_types, memory_pool, in NormalizedComponentStorageHolder()
/aosp_15_r20/external/google-fruit/include/fruit/impl/normalized_component_storage/
H A Dnormalized_component_storage.defn.h26 …lizedComponentStorage::createLazyComponentWithNoArgsSet(size_t capacity, MemoryPool& memory_pool) { in createLazyComponentWithNoArgsSet() argument
28 capacity, memory_pool, NormalizedComponentStorage::HashLazyComponentWithNoArgs(), in createLazyComponentWithNoArgsSet()
33 NormalizedComponentStorage::createLazyComponentWithArgsSet(size_t capacity, MemoryPool& memory_pool in createLazyComponentWithArgsSet() argument
35 capacity, memory_pool, NormalizedComponentStorage::HashLazyComponentWithArgs(), in createLazyComponentWithArgsSet()
40 …entStorage::createLazyComponentWithNoArgsReplacementMap(size_t capacity, MemoryPool& memory_pool) { in createLazyComponentWithNoArgsReplacementMap() argument
42 capacity, memory_pool, NormalizedComponentStorage::HashLazyComponentWithNoArgs(), in createLazyComponentWithNoArgsReplacementMap()
47 …onentStorage::createLazyComponentWithArgsReplacementMap(size_t capacity, MemoryPool& memory_pool) { in createLazyComponentWithArgsReplacementMap() argument
49 capacity, memory_pool, NormalizedComponentStorage::HashLazyComponentWithArgs(), in createLazyComponentWithArgsReplacementMap()
H A Dbinding_normalization.h63 … FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool,
75 … FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool,
88 FixedSizeVector<ComponentStorageEntry>&& toplevel_entries, MemoryPool& memory_pool,
117 … MemoryPool& memory_pool, MemoryPool& memory_pool_for_fully_expanded_components_maps,
138 … FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool,
162 … MemoryPool& memory_pool, const multibindings_vector_t& multibindings_vector,
269 MemoryPool& memory_pool; member
289 … NormalizedComponentStorage::createLazyComponentWithNoArgsSet(20 /* capacity */, memory_pool);
291 NormalizedComponentStorage::createLazyComponentWithArgsSet(20 /* capacity */, memory_pool);
303 … MemoryPool& memory_pool, MemoryPool& memory_pool_for_fully_expanded_components_maps,
H A Dnormalized_component_storage.h93 …yComponentWithNoArgsSet createLazyComponentWithNoArgsSet(size_t capacity, MemoryPool& memory_pool);
94 … LazyComponentWithArgsSet createLazyComponentWithArgsSet(size_t capacity, MemoryPool& memory_pool);
97 … MemoryPool& memory_pool);
99 … MemoryPool& memory_pool);
148 … const std::vector<TypeId, ArenaAllocator<TypeId>>& exposed_types, MemoryPool& memory_pool,
155 … const std::vector<TypeId, ArenaAllocator<TypeId>>& exposed_types, MemoryPool& memory_pool,
H A Dbinding_normalization.templates.h36 MemoryPool& memory_pool, // NOLINT(bugprone-easily-swappable-parameters) in BindingNormalizationContext() argument
41 : fixed_size_allocator_data(fixed_size_allocator_data), memory_pool(memory_pool), in BindingNormalizationContext()
46 ArenaAllocator<ComponentStorageEntry>(memory_pool)) { in BindingNormalizationContext()
76 … MemoryPool& memory_pool, // NOLINT(bugprone-easily-swappable-parameters) in normalizeBindings() argument
86 Context context(toplevel_entries, fixed_size_allocator_data, memory_pool, in normalizeBindings()
558 …hArenaAllocator<TypeId, BindingCompressionInfo>&& compressed_bindings_map, MemoryPool& memory_pool, in performBindingCompression() argument
563 result_t result = result_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in performBindingCompression()
672 FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool, in normalizeBindingsWithBindingCompression() argument
684 … createHashMapWithArenaAllocator<TypeId, ComponentStorageEntry>(20 /* capacity */, memory_pool); in normalizeBindingsWithBindingCompression()
687 … createHashMapWithArenaAllocator<TypeId, BindingCompressionInfo>(20 /* capacity */, memory_pool); in normalizeBindingsWithBindingCompression()
[all …]
/aosp_15_r20/external/google-fruit/include/fruit/impl/util/
H A Dhash_helpers.defn.h37 …etWithArenaAllocator<T> createHashSetWithArenaAllocator(size_t capacity, MemoryPool& memory_pool) { in createHashSetWithArenaAllocator() argument
38 …ithArenaAllocator<T>(capacity, std::hash<T>(), std::equal_to<T>(), ArenaAllocator<T>(memory_pool)); in createHashSetWithArenaAllocator()
43 createHashSetWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher h… in createHashSetWithArenaAllocatorAndCustomFunctors() argument
46 ArenaAllocator<T>(memory_pool)); in createHashSetWithArenaAllocatorAndCustomFunctors()
61 … MemoryPool& memory_pool) { in createHashMapWithArenaAllocator() argument
62 …return createHashMapWithArenaAllocatorAndCustomFunctors<Key, Value>(capacity, memory_pool, std::ha… in createHashMapWithArenaAllocator()
68 createHashMapWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher h… in createHashMapWithArenaAllocatorAndCustomFunctors() argument
71 … capacity, hasher, equality_comparator, ArenaAllocator<std::pair<const Key, Value>>{memory_pool}); in createHashMapWithArenaAllocatorAndCustomFunctors()
H A Dtype_info.defn.h149 std::vector<TypeId, ArenaAllocator<TypeId>> operator()(MemoryPool& memory_pool) {
150 …r<TypeId>>(std::initializer_list<TypeId>{getTypeId<Ts>()...}, ArenaAllocator<TypeId>{memory_pool});
155 std::vector<TypeId, ArenaAllocator<TypeId>> getTypeIdsForList(MemoryPool& memory_pool) {
156 return GetTypeIdsForListHelper<L>()(memory_pool);
H A Dhash_helpers.h78 …SetWithArenaAllocator<T> createHashSetWithArenaAllocator(size_t capacity, MemoryPool& memory_pool);
82 createHashSetWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher, …
91 …enaAllocator<Key, Value> createHashMapWithArenaAllocator(size_t capacity, MemoryPool& memory_pool);
95 createHashMapWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher, …
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dmemory_pool.c21 void memory_pool_init(struct memory_pool * pool) in memory_pool_init()
23 memset(pool, 0, sizeof(struct memory_pool)); in memory_pool_init()
27 void memory_pool_destroy(struct memory_pool * pool) in memory_pool_destroy()
36 static void refill_pool(struct memory_pool * pool) in refill_pool()
54 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) in memory_pool_malloc()
H A Dmemory_pool.h20 struct memory_pool { struct
28 void memory_pool_init(struct memory_pool * pool); argument
29 void memory_pool_destroy(struct memory_pool * pool);
30 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes);
H A Dradeon_list.h9 struct memory_pool;
17 struct rc_list * rc_list(struct memory_pool * pool, void * item);
/aosp_15_r20/external/google-fruit/include/fruit/impl/
H A Dinjector.defn.h32 fruit::impl::MemoryPool memory_pool; in Injector() local
36 fruit::impl::ArenaAllocator<fruit::impl::TypeId>(memory_pool)); in Injector()
38 new fruit::impl::InjectorStorage(std::move(component.storage), exposed_types, memory_pool)); in Injector()
98 fruit::impl::MemoryPool memory_pool; in Injector() local
100 *(normalized_component.storage.storage), std::move(component.storage), memory_pool)); in Injector()
H A Dnormalized_component.defn.h38 fruit::impl::MemoryPool memory_pool) in NormalizedComponent() argument
42 fruit::impl::meta::Type<Params>...)>::Ps)>>(memory_pool), in NormalizedComponent()
43memory_pool, fruit::impl::NormalizedComponentStorageHolder::WithUndoableCompression()) {} in NormalizedComponent()
/aosp_15_r20/external/google-fruit/include/fruit/impl/data_structures/
H A Dsemistatic_graph.templates.h84 …taticGraph<NodeId, Node>::SemistaticGraph(NodeIter first, NodeIter last, MemoryPool& memory_pool) { in SemistaticGraph() argument
87 …enaAllocator<NodeId> node_ids = createHashSetWithArenaAllocator<NodeId>(last - first, memory_pool); in SemistaticGraph()
103 memory_pool); in SemistaticGraph()
142 MemoryPool& memory_pool) in SemistaticGraph() argument
154 node_ids_t node_ids = node_ids_t(ArenaAllocator<node_ids_elem_t>(memory_pool)); in SemistaticGraph()
H A Darena_allocator.defn.h26 inline ArenaAllocator<T>::ArenaAllocator(MemoryPool& memory_pool) : pool(&memory_pool) {} in ArenaAllocator() argument
H A Dsemistatic_graph.h190 SemistaticGraph(NodeIter first, NodeIter last, MemoryPool& memory_pool);
206 SemistaticGraph(const SemistaticGraph& x, NodeIter first, NodeIter last, MemoryPool& memory_pool);
H A Dsemistatic_map.templates.h47 MemoryPool& memory_pool) { in SemistaticMap() argument
51 …r<Unsigned, ArenaAllocator<Unsigned>> count(num_buckets, 0, ArenaAllocator<Unsigned>(memory_pool)); in SemistaticMap()
/aosp_15_r20/external/google-fruit/tests/
H A Dtest_common.cpp28 …ctor<SimpleNode>::iterator first, std::vector<SimpleNode>::iterator last, MemoryPool& memory_pool);
29 …ctor<SimpleNode>::iterator first, std::vector<SimpleNode>::iterator last, MemoryPool& memory_pool);
/aosp_15_r20/external/pytorch/torch/_inductor/codegen/
H A Dmemory_planning.py467 can_expand=config.memory_pool != "none",
475 if pools and config.memory_pool in ("outputs", "combined"):
484 can_expand=config.memory_pool == "combined",
709 assert config.memory_pool in ("none", "intermediates", "outputs", "combined")
719 if group.is_output and config.memory_pool != "combined":
/aosp_15_r20/external/webrtc/sdk/objc/unittests/
H A Dnalu_rewriter_xctest.mm229 CMMemoryPoolRef memory_pool = CMMemoryPoolCreate(nil);
237 memory_pool);
259 CMMemoryPoolInvalidate(memory_pool);
260 CFRelease(memory_pool);
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/
H A Dmeson.build46 'compiler/memory_pool.c',
47 'compiler/memory_pool.h',
/aosp_15_r20/external/webrtc/sdk/objc/components/video_codec/
H A Dnalu_rewriter.cc138 CMMemoryPoolRef memory_pool) { in H264AnnexBBufferToCMSampleBuffer() argument
164 CFAllocatorRef block_allocator = CMMemoryPoolGetAllocator(memory_pool); in H264AnnexBBufferToCMSampleBuffer()

12