LLVM 22.0.0git
llvm::parallel::TaskGroup Class Reference

#include "llvm/Support/Parallel.h"

Public Member Functions

LLVM_ABI TaskGroup ()
LLVM_ABI ~TaskGroup ()
LLVM_ABI void spawn (std::function< void()> f)
void sync () const
bool isParallel () const

Detailed Description

Definition at line 90 of file Parallel.h.

Constructor & Destructor Documentation

◆ TaskGroup()

llvm::parallel::TaskGroup::TaskGroup ( )

Definition at line 181 of file Parallel.cpp.

References llvm::parallel::strategy, and TaskGroup().

Referenced by TaskGroup().

◆ ~TaskGroup()

llvm::parallel::TaskGroup::~TaskGroup ( )

Definition at line 188 of file Parallel.cpp.

References ~TaskGroup().

Referenced by ~TaskGroup().

Member Function Documentation

◆ isParallel()

bool llvm::parallel::TaskGroup::isParallel ( ) const
inline

Definition at line 105 of file Parallel.h.

◆ spawn()

◆ sync()

void llvm::parallel::TaskGroup::sync ( ) const
inline

Definition at line 103 of file Parallel.h.


The documentation for this class was generated from the following files: