Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_profiling.cpp43 atomic_uintptr_t Allocators; member
88 uptr Allocators = 0; in getThreadLocalData() local
89 if (atomic_compare_exchange_strong(&TLD.Allocators, &Allocators, 1, in getThreadLocalData()
130 Allocators = reinterpret_cast<uptr>( in getThreadLocalData()
132 atomic_store(&TLD.Allocators, Allocators, memory_order_release); in getThreadLocalData()
135 if (Allocators == 1) in getThreadLocalData()
160 auto Allocators = atomic_exchange(&TLD.Allocators, 0, memory_order_acq_rel); in cleanupTLD() local
161 if (Allocators == in cleanupTLD()
164 reinterpret_cast<FunctionCallTrie::Allocators *>(Allocators)->~Allocators(); in cleanupTLD()
186 auto Allocators = reinterpret_cast<FunctionCallTrie::Allocators *>(A); in postCurrentThreadFCT() local
[all …]
H A Dxray_function_call_trie.h135 struct Allocators { struct
160 Allocators() = default; argument
161 Allocators(const Allocators &) = delete;
162 Allocators &operator=(const Allocators &) = delete; argument
193 explicit Allocators(uptr Max) XRAY_NEVER_INSTRUMENT { in Allocators() function
211 Allocators(Allocators &&O) XRAY_NEVER_INSTRUMENT { in Allocators() argument
240 Allocators &operator=(Allocators &&O) XRAY_NEVER_INSTRUMENT {
294 ~Allocators() XRAY_NEVER_INSTRUMENT { in ~Allocators() argument
311 Allocators A(Max); in InitAllocatorsCustom()
315 static Allocators
[all …]
H A 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()
H A Dxray_profile_collector.h40 FunctionCallTrie::Allocators &&A,
41 FunctionCallTrie::Allocators::Buffers &&B, tid_t TId);
/llvm-project-15.0.7/compiler-rt/lib/xray/tests/unit/
H A 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()
H A 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()
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx17Issues.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…
H A DCxx20Issues.csv4 "`2593 <https://wg21.link/LWG2593>`__","Moved-from state of Allocators","Toronto","",""
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp6307 ArrayRef<std::pair<const Expr *, const Expr *>> Allocators; member in __anond842882b2b11::OMPUsesAllocatorsActionTy
6311 ArrayRef<std::pair<const Expr *, const Expr *>> Allocators) in OMPUsesAllocatorsActionTy() argument
6312 : Allocators(Allocators) {} in OMPUsesAllocatorsActionTy()
6316 for (const auto &AllocatorData : Allocators) { in Enter()
6324 for (const auto &AllocatorData : Allocators) { in Exit()
6338 SmallVector<std::pair<const Expr *, const Expr *>, 4> Allocators; in emitTargetOutlinedFunction() local
6344 Allocators.emplace_back(D.Allocator, D.AllocatorTraits); in emitTargetOutlinedFunction()
6347 OMPUsesAllocatorsActionTy UsesAllocatorAction(Allocators); in emitTargetOutlinedFunction()