LLVM 20.0.0git
|
#include "llvm/Support/Parallel.h"
Public Member Functions | |
TaskGroup () | |
~TaskGroup () | |
void | spawn (std::function< void()> f) |
void | sync () const |
bool | isParallel () const |
Definition at line 89 of file Parallel.h.
llvm::parallel::TaskGroup::TaskGroup | ( | ) |
Definition at line 181 of file Parallel.cpp.
llvm::parallel::TaskGroup::~TaskGroup | ( | ) |
Definition at line 188 of file Parallel.cpp.
References llvm::parallel::detail::Latch::sync().
|
inline |
Definition at line 104 of file Parallel.h.
void llvm::parallel::TaskGroup::spawn | ( | std::function< void()> | f | ) |
Definition at line 194 of file Parallel.cpp.
References llvm::parallel::detail::Latch::dec(), F, and llvm::parallel::detail::Latch::inc().
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::assignOffsets(), llvm::dwarf_linker::parallel::TypeUnit::createDIETree(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::emitCommonSectionsAndWriteCompileUnitsToTheOutput(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::link(), and llvm::parallelFor().
|
inline |
Definition at line 102 of file Parallel.h.