Home
last modified time | relevance | path

Searched refs:Allocators (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/compiler-rt/lib/xray/
Dxray_profiling.cpp43 atomic_uintptr_t Allocators; member
55 thread_local FunctionCallTrie::Allocators::Buffers ThreadBuffers;
56 thread_local std::aligned_storage<sizeof(FunctionCallTrie::Allocators),
57 alignof(FunctionCallTrie::Allocators)>::type
88 uptr Allocators = 0; in getThreadLocalData() local
89 if (atomic_compare_exchange_strong(&TLD.Allocators, &Allocators, 1, in getThreadLocalData()
94 atomic_store(&TLD.Allocators, 0, memory_order_release); in getThreadLocalData()
128 new (&AllocatorsStorage) FunctionCallTrie::Allocators( in getThreadLocalData()
130 Allocators = reinterpret_cast<uptr>( in getThreadLocalData()
131 reinterpret_cast<FunctionCallTrie::Allocators *>(&AllocatorsStorage)); in getThreadLocalData()
[all …]
Dxray_function_call_trie.h135 struct Allocators { struct
160 Allocators() = default; argument
161 Allocators(const Allocators &) = delete;
162 Allocators &operator=(const Allocators &) = delete; argument
171 explicit Allocators(Buffers &B) XRAY_NEVER_INSTRUMENT { in Allocators() argument
193 explicit Allocators(uptr Max) XRAY_NEVER_INSTRUMENT { in Allocators() argument
211 Allocators(Allocators &&O) XRAY_NEVER_INSTRUMENT { in Allocators() function
240 Allocators &operator=(Allocators &&O) XRAY_NEVER_INSTRUMENT {
294 ~Allocators() XRAY_NEVER_INSTRUMENT { in ~Allocators() argument
306 static Allocators InitAllocators() XRAY_NEVER_INSTRUMENT { in InitAllocators()
[all …]
Dxray_profile_collector.cpp61 FunctionCallTrie::Allocators::Buffers Buffers;
62 FunctionCallTrie::Allocators Allocators; member
109 FunctionCallTrie::Allocators &&A, in post()
110 FunctionCallTrie::Allocators::Buffers &&B, in post()
117 A.~Allocators(); in post()
136 A.~Allocators(); in post()
Dxray_profile_collector.h40 FunctionCallTrie::Allocators &&A,
41 FunctionCallTrie::Allocators::Buffers &&B, tid_t TId);
/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dprofile_collector_test.cpp116 FunctionCallTrie::Allocators::Buffers Buffers; in TEST()
122 auto Allocators = FunctionCallTrie::InitAllocatorsFromBuffers(Buffers); in TEST() local
123 FunctionCallTrie T(Allocators); in TEST()
135 profileCollectorService::post(&BQ, std::move(T), std::move(Allocators), in TEST()
186 thread_local FunctionCallTrie::Allocators::Buffers Buffers = [] { in threadProcessing()
187 FunctionCallTrie::Allocators::Buffers B; in threadProcessing()
195 thread_local auto Allocators = in threadProcessing() local
198 FunctionCallTrie T(Allocators); in threadProcessing()
205 profileCollectorService::post(&BQ, std::move(T), std::move(Allocators), in threadProcessing()
Dfunction_call_trie_test.cpp22 FunctionCallTrie::Allocators Allocators = FunctionCallTrie::InitAllocators(); in TEST() local
23 FunctionCallTrie Trie(Allocators); in TEST()
313 typename std::aligned_storage<sizeof(FunctionCallTrie::Allocators), in TEST()
314 alignof(FunctionCallTrie::Allocators)>::type in TEST()
317 FunctionCallTrie::Allocators(FunctionCallTrie::InitAllocators()); in TEST()
319 reinterpret_cast<FunctionCallTrie::Allocators *>(&AllocatorsStorage); in TEST()
332 A->~Allocators(); in TEST()
333 new (A) FunctionCallTrie::Allocators(FunctionCallTrie::InitAllocators()); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h207 auto I = Allocators.find(Id); in handleCreateRemoteAllocator()
208 if (I != Allocators.end()) in handleCreateRemoteAllocator()
212 Allocators[Id] = Allocator(); in handleCreateRemoteAllocator()
236 auto I = Allocators.find(Id); in handleDestroyRemoteAllocator()
237 if (I == Allocators.end()) in handleDestroyRemoteAllocator()
240 Allocators.erase(I); in handleDestroyRemoteAllocator()
378 auto I = Allocators.find(Id); in handleReserveMem()
379 if (I == Allocators.end()) in handleReserveMem()
399 auto I = Allocators.find(Id); in handleSetProtections()
400 if (I == Allocators.end()) in handleSetProtections()
[all …]
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h222 auto I = Allocators.find(Id); in handleCreateRemoteAllocator()
223 if (I != Allocators.end()) in handleCreateRemoteAllocator()
227 Allocators[Id] = Allocator(); in handleCreateRemoteAllocator()
251 auto I = Allocators.find(Id); in handleDestroyRemoteAllocator()
252 if (I == Allocators.end()) in handleDestroyRemoteAllocator()
255 Allocators.erase(I); in handleDestroyRemoteAllocator()
392 auto I = Allocators.find(Id); in handleReserveMem()
393 if (I == Allocators.end()) in handleReserveMem()
413 auto I = Allocators.find(Id); in handleSetProtections()
414 if (I == Allocators.end()) in handleSetProtections()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h227 auto I = Allocators.find(Id); in handleCreateRemoteAllocator()
228 if (I != Allocators.end()) in handleCreateRemoteAllocator()
231 Allocators[Id] = Allocator(); in handleCreateRemoteAllocator()
253 auto I = Allocators.find(Id); in handleDestroyRemoteAllocator()
254 if (I == Allocators.end()) in handleDestroyRemoteAllocator()
256 Allocators.erase(I); in handleDestroyRemoteAllocator()
389 auto I = Allocators.find(Id); in handleReserveMem()
390 if (I == Allocators.end()) in handleReserveMem()
408 auto I = Allocators.find(Id); in handleSetProtections()
409 if (I == Allocators.end()) in handleSetProtections()
[all …]
/external/perfetto/src/profiling/memory/
DCHANGELOG.md4 * Support Custom Allocators. This allows developers to instrument their
/external/swiftshader/third_party/subzero/docs/
DALLOCATION.rst86 Allocators and TLS
/external/llvm-project/libcxx/docs/
DCxx1zStatusIssuesStatus.csv2 "`2016 <https://wg21.link/LWG2016>`__","Allocators must be no-throw swappable","Urbana","|Complete|…
88 "`2447 <https://wg21.link/LWG2447>`__","Allocators and ``volatile``\ -qualified value types","Kona"…
126 "`2579 <https://wg21.link/LWG2579>`__","Inconsistency wrt Allocators in ``basic_string``\ assignme…
DCxx2aStatusIssuesStatus.csv4 "`2593 <https://wg21.link/LWG2593>`__","Moved-from state of Allocators","Toronto","",""
/external/python/cpython3/Doc/c-api/
Dmemory.rst334 Default Memory Allocators
357 Customize Memory Allocators
/external/fmtlib/doc/
Dapi.rst343 Custom Allocators
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp6324 ArrayRef<std::pair<const Expr *, const Expr *>> Allocators; member in __anon8f021c723b11::OMPUsesAllocatorsActionTy
6328 ArrayRef<std::pair<const Expr *, const Expr *>> Allocators) in OMPUsesAllocatorsActionTy() argument
6329 : Allocators(Allocators) {} in OMPUsesAllocatorsActionTy()
6333 for (const auto &AllocatorData : Allocators) { in Enter()
6341 for (const auto &AllocatorData : Allocators) { in Exit()
6355 SmallVector<std::pair<const Expr *, const Expr *>, 4> Allocators; in emitTargetOutlinedFunction() local
6361 Allocators.emplace_back(D.Allocator, D.AllocatorTraits); in emitTargetOutlinedFunction()
6364 OMPUsesAllocatorsActionTy UsesAllocatorAction(Allocators); in emitTargetOutlinedFunction()
/external/python/cpython3/Doc/whatsnew/
D3.4.rst1803 PEP 445: Customization of CPython Memory Allocators