Lines Matching defs:Allocators
43 atomic_uintptr_t Allocators;
54 thread_local FunctionCallTrie::Allocators::Buffers ThreadBuffers;
55 alignas(FunctionCallTrie::Allocators) thread_local std::byte
56 AllocatorsStorage[sizeof(FunctionCallTrie::Allocators)];
85 uptr Allocators = 0;
86 if (atomic_compare_exchange_strong(&TLD.Allocators, &Allocators, 1,
91 atomic_store(&TLD.Allocators, 0, memory_order_release);
125 new (&AllocatorsStorage) FunctionCallTrie::Allocators(
127 Allocators = reinterpret_cast<uptr>(
128 reinterpret_cast<FunctionCallTrie::Allocators *>(&AllocatorsStorage));
129 atomic_store(&TLD.Allocators, Allocators, memory_order_release);
132 if (Allocators == 1)
138 FunctionCallTrie(*reinterpret_cast<FunctionCallTrie::Allocators *>(
139 atomic_load_relaxed(&TLD.Allocators)));
157 auto Allocators = atomic_exchange(&TLD.Allocators, 0, memory_order_acq_rel);
158 if (Allocators ==
160 reinterpret_cast<FunctionCallTrie::Allocators *>(&AllocatorsStorage)))
161 reinterpret_cast<FunctionCallTrie::Allocators *>(Allocators)->~Allocators();
177 uptr A = atomic_exchange(&T.Allocators, 0, memory_order_acq_rel);
180 reinterpret_cast<FunctionCallTrie::Allocators *>(&AllocatorsStorage)))
183 auto Allocators = reinterpret_cast<FunctionCallTrie::Allocators *>(A);
184 DCHECK_NE(Allocators, nullptr);
187 profileCollectorService::post(BQ, std::move(*FCT), std::move(*Allocators),
191 ThreadBuffers = FunctionCallTrie::Allocators::Buffers{};
435 if (atomic_load_relaxed(&T->Allocators) == 0)