class GenericNamedTaskImpl

Declaration

template <typename FnT>
class GenericNamedTaskImpl : public GenericNamedTask { /* full declaration omitted */ };

Description

Generic task implementation.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h:58

Inherits from: GenericNamedTask

Templates

FnT

Member Variables

private FnT Fn
private const char* Desc
private std::string DescBuffer

Inherited from GenericNamedTask:

public static ID
public static DefaultDescription

Method Overview

Methods

GenericNamedTaskImpl<FnT>(FnT&& Fn,
                          std::string DescBuffer)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h:60

Parameters

FnT&& Fn
std::string DescBuffer

GenericNamedTaskImpl<FnT>(FnT&& Fn,
                          const char* Desc)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h:63

Parameters

FnT&& Fn
const char* Desc

void printDescription(llvm::raw_ostream& OS)

Description

Description of the task to be performed. Used for logging.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h:67

Parameters

llvm::raw_ostream& OS

void run()

Description

Run the task.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h:68