llvm::parallelForEach

parallelForEach overloads

Synopses

Declared in <llvm/Support/Parallel.h>

Apply Fn to each element of range R, possibly in parallel.

template<
    class RangeTy,
    class FuncTy>
void
parallelForEach(
    RangeTy&& R,
    FuncTy Fn);
» more...

Apply Fn to each element in []Begin, End), possibly in parallel.

template<
    class IterTy,
    class FuncTy>
void
parallelForEach(
    IterTy Begin,
    IterTy End,
    FuncTy Fn);
» more...

Parameters

NameDescription
RRange whose elements are visited.
FnCallable invoked once per element.
BeginBeginning of the random-access range.
EndEnd of the random-access range.