LLVM 22.0.0git
|
Namespaces | |
namespace | detail |
Classes | |
class | PerThreadAllocator |
PerThreadAllocator is used in conjunction with ThreadPoolExecutor to allow per-thread allocations. More... | |
class | TaskGroup |
Typedefs | |
using | PerThreadBumpPtrAllocator = PerThreadAllocator<BumpPtrAllocator> |
Functions | |
unsigned | getThreadIndex () |
size_t | getThreadCount () |
Variables | |
LLVM_ABI ThreadPoolStrategy | strategy |
Definition at line 115 of file PerThreadBumpPtrAllocator.h.
|
inline |
Definition at line 56 of file Parallel.h.
References getThreadCount().
Referenced by getThreadCount(), and llvm::parallel::PerThreadAllocator< BumpPtrAllocator >::PerThreadAllocator().
|
inline |
Definition at line 55 of file Parallel.h.
References getThreadIndex().
Referenced by llvm::parallel::PerThreadAllocator< BumpPtrAllocator >::Allocate(), llvm::parallel::PerThreadAllocator< BumpPtrAllocator >::Deallocate(), getThreadIndex(), and llvm::parallel::PerThreadAllocator< BumpPtrAllocator >::getThreadLocalAllocator().
|
extern |
Definition at line 19 of file Parallel.cpp.
Referenced by llvm::ConcurrentHashTableByPtr< KeyTy, KeyDataTy, AllocatorTy, Info >::ConcurrentHashTableByPtr(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::link(), llvm::parallelFor(), llvm::parallelSort(), llvm::parallelTransformReduce(), and llvm::parallel::TaskGroup::TaskGroup().