LLVM 23.0.0git
llvm::OpenMPIRBuilder::DependenciesInfo Struct Reference

A struct to pack static and dynamic dependency information for a task. More...

#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"

Public Member Functions

 DependenciesInfo ()
 DependenciesInfo (SmallVector< DependData > D)
bool empty () const

Public Attributes

SmallVector< DependDataDeps
ValueNumDeps
ValueDepArray

Detailed Description

A struct to pack static and dynamic dependency information for a task.

For fixed-count (non-iterator) dependencies, callers populate Deps and the builder allocates and fills the kmp_depend_info array internally. For iterator-based dependencies, the caller pre-builds the array and sets NumDeps and DepArray directly.

Definition at line 1520 of file OMPIRBuilder.h.

Constructor & Destructor Documentation

◆ DependenciesInfo() [1/2]

llvm::OpenMPIRBuilder::DependenciesInfo::DependenciesInfo ( )
inline

Definition at line 1525 of file OMPIRBuilder.h.

References DepArray, Deps, and NumDeps.

◆ DependenciesInfo() [2/2]

llvm::OpenMPIRBuilder::DependenciesInfo::DependenciesInfo ( SmallVector< DependData > D)
inline

Definition at line 1526 of file OMPIRBuilder.h.

References D(), DepArray, Deps, llvm::move(), and NumDeps.

Member Function Documentation

◆ empty()

bool llvm::OpenMPIRBuilder::DependenciesInfo::empty ( ) const
inline

Definition at line 1529 of file OMPIRBuilder.h.

References DepArray, and Deps.

Referenced by emitTargetCall().

Member Data Documentation

◆ DepArray

Value* llvm::OpenMPIRBuilder::DependenciesInfo::DepArray

◆ Deps

SmallVector<DependData> llvm::OpenMPIRBuilder::DependenciesInfo::Deps

◆ NumDeps

Value* llvm::OpenMPIRBuilder::DependenciesInfo::NumDeps

The documentation for this struct was generated from the following file: