LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::OpenMPIRBuilder::TargetKernelArgs Struct Reference

Data structure that contains the needed information to construct the kernel args vector. More...

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

Public Member Functions

 TargetKernelArgs ()
 
 TargetKernelArgs (unsigned NumTargetItems, TargetDataRTArgs RTArgs, Value *NumIterations, ArrayRef< Value * > NumTeams, ArrayRef< Value * > NumThreads, Value *DynCGGroupMem, bool HasNoWait)
 

Public Attributes

unsigned NumTargetItems = 0
 Number of arguments passed to the runtime library.
 
TargetDataRTArgs RTArgs
 Arguments passed to the runtime library.
 
ValueNumIterations = nullptr
 The number of iterations.
 
ArrayRef< Value * > NumTeams
 The number of teams.
 
ArrayRef< Value * > NumThreads
 The number of threads.
 
ValueDynCGGroupMem = nullptr
 The size of the dynamic shared memory.
 
bool HasNoWait = false
 True if the kernel has 'no wait' clause.
 

Detailed Description

Data structure that contains the needed information to construct the kernel args vector.

Definition at line 2188 of file OMPIRBuilder.h.

Constructor & Destructor Documentation

◆ TargetKernelArgs() [1/2]

llvm::OpenMPIRBuilder::TargetKernelArgs::TargetKernelArgs ( )
inline

Definition at line 2205 of file OMPIRBuilder.h.

◆ TargetKernelArgs() [2/2]

llvm::OpenMPIRBuilder::TargetKernelArgs::TargetKernelArgs ( unsigned  NumTargetItems,
TargetDataRTArgs  RTArgs,
Value NumIterations,
ArrayRef< Value * >  NumTeams,
ArrayRef< Value * >  NumThreads,
Value DynCGGroupMem,
bool  HasNoWait 
)
inline

Definition at line 2206 of file OMPIRBuilder.h.

Member Data Documentation

◆ DynCGGroupMem

Value* llvm::OpenMPIRBuilder::TargetKernelArgs::DynCGGroupMem = nullptr

The size of the dynamic shared memory.

Definition at line 2200 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::getKernelArgsVector().

◆ HasNoWait

bool llvm::OpenMPIRBuilder::TargetKernelArgs::HasNoWait = false

True if the kernel has 'no wait' clause.

Definition at line 2202 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::getKernelArgsVector().

◆ NumIterations

Value* llvm::OpenMPIRBuilder::TargetKernelArgs::NumIterations = nullptr

The number of iterations.

Definition at line 2194 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::getKernelArgsVector().

◆ NumTargetItems

unsigned llvm::OpenMPIRBuilder::TargetKernelArgs::NumTargetItems = 0

Number of arguments passed to the runtime library.

Definition at line 2190 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::getKernelArgsVector().

◆ NumTeams

ArrayRef<Value *> llvm::OpenMPIRBuilder::TargetKernelArgs::NumTeams

The number of teams.

Definition at line 2196 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::getKernelArgsVector().

◆ NumThreads

ArrayRef<Value *> llvm::OpenMPIRBuilder::TargetKernelArgs::NumThreads

The number of threads.

Definition at line 2198 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::getKernelArgsVector().

◆ RTArgs

TargetDataRTArgs llvm::OpenMPIRBuilder::TargetKernelArgs::RTArgs

Arguments passed to the runtime library.

Definition at line 2192 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::getKernelArgsVector().


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