LLVM 20.0.0git
|
#include "llvm/Support/Parallel.h"
Public Member Functions | |
TaskGroup () | |
~TaskGroup () | |
void | spawn (std::function< void()> f, bool Sequential=false) |
void | sync () const |
bool | isParallel () const |
Definition at line 89 of file Parallel.h.
llvm::parallel::TaskGroup::TaskGroup | ( | ) |
Definition at line 204 of file Parallel.cpp.
llvm::parallel::TaskGroup::~TaskGroup | ( | ) |
Definition at line 211 of file Parallel.cpp.
References llvm::parallel::detail::Latch::sync().
|
inline |
Definition at line 106 of file Parallel.h.
void llvm::parallel::TaskGroup::spawn | ( | std::function< void()> | f, |
bool | Sequential = false |
||
) |
Definition at line 217 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 104 of file Parallel.h.