Searched refs:Allocators (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_profiling.cpp | 43 atomic_uintptr_t Allocators; member 54 thread_local FunctionCallTrie::Allocators::Buffers ThreadBuffers; 55 alignas(FunctionCallTrie::Allocators) thread_local std::byte 56 AllocatorsStorage[sizeof(FunctionCallTrie::Allocators)]; 85 uptr Allocators = 0; in getThreadLocalData() local 86 if (atomic_compare_exchange_strong(&TLD.Allocators, &Allocators, 1, in getThreadLocalData() 91 atomic_store(&TLD.Allocators, 0, memory_order_release); in getThreadLocalData() 125 new (&AllocatorsStorage) FunctionCallTrie::Allocators( in getThreadLocalData() 127 Allocators = reinterpret_cast<uptr>( in getThreadLocalData() 128 reinterpret_cast<FunctionCallTrie::Allocators *>(&AllocatorsStorage)); in getThreadLocalData() [all …]
|
H A D | xray_function_call_trie.h | 135 struct Allocators { struct 156 Allocators() = default; argument 157 Allocators(const Allocators &) = delete; 158 Allocators &operator=(const Allocators &) = delete; argument 167 explicit Allocators(Buffers &B) XRAY_NEVER_INSTRUMENT { in Allocators() argument 189 explicit Allocators(uptr Max) XRAY_NEVER_INSTRUMENT { in Allocators() argument 207 Allocators(Allocators &&O) XRAY_NEVER_INSTRUMENT { in Allocators() function 236 Allocators &operator=(Allocators &&O) XRAY_NEVER_INSTRUMENT { 290 ~Allocators() XRAY_NEVER_INSTRUMENT { in ~Allocators() argument 302 static Allocators InitAllocators() XRAY_NEVER_INSTRUMENT { in InitAllocators() [all …]
|
H A D | xray_profile_collector.cpp | 61 FunctionCallTrie::Allocators::Buffers Buffers; 62 FunctionCallTrie::Allocators Allocators; member 106 FunctionCallTrie::Allocators &&A, in post() 107 FunctionCallTrie::Allocators::Buffers &&B, in post() 114 A.~Allocators(); in post() 133 A.~Allocators(); in post()
|
H A D | xray_profile_collector.h | 40 FunctionCallTrie::Allocators &&A, 41 FunctionCallTrie::Allocators::Buffers &&B, tid_t TId);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | PerThreadBumpPtrAllocator.h | 32 Allocators(std::make_unique<AllocatorTy[]>(NumOfAllocators)) {} in PerThreadAllocator() 45 return Allocators[getThreadIndex()].Allocate(Size, Alignment); in Allocate() 52 return Allocators[getThreadIndex()].Deallocate(Ptr, Size, Alignment); in Deallocate() 58 return Allocators[getThreadIndex()]; in getThreadLocalAllocator() 72 Allocators[Idx].Reset(); in Reset() 80 TotalMemory += Allocators[Idx].getTotalMemory(); in getTotalMemory() 90 BytesAllocated += Allocators[Idx].getBytesAllocated(); in getBytesAllocated() 98 Allocators[Idx].setRedZoneSize(NewSize); in setRedZoneSize() 105 Allocators[Idx].PrintStats(); in PrintStats() 112 std::unique_ptr<AllocatorTy[]> Allocators; variable
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | ClauseT.h | 1185 using Allocators = ListT<AllocatorSpec>; // Not a spec name 1187 Allocators v;
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 5803 ArrayRef<std::pair<const Expr *, const Expr *>> Allocators; member in __anon93cce0fb2711::OMPUsesAllocatorsActionTy 5807 ArrayRef<std::pair<const Expr *, const Expr *>> Allocators) in OMPUsesAllocatorsActionTy() argument 5808 : Allocators(Allocators) {} in OMPUsesAllocatorsActionTy() 5812 for (const auto &AllocatorData : Allocators) { in Enter() 5820 for (const auto &AllocatorData : Allocators) { in Exit() 5834 SmallVector<std::pair<const Expr *, const Expr *>, 4> Allocators; in emitTargetOutlinedFunction() local 5840 Allocators.emplace_back(D.Allocator, D.AllocatorTraits); in emitTargetOutlinedFunction() 5843 OMPUsesAllocatorsActionTy UsesAllocatorAction(Allocators); in emitTargetOutlinedFunction()
|