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 2231 of file OMPIRBuilder.h.

Constructor & Destructor Documentation

◆ TargetKernelArgs() [1/2]

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

Definition at line 2248 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 2249 of file OMPIRBuilder.h.

Member Data Documentation

◆ DynCGGroupMem

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

The size of the dynamic shared memory.

Definition at line 2243 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 2245 of file OMPIRBuilder.h.

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

◆ NumIterations

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

The number of iterations.

Definition at line 2237 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 2233 of file OMPIRBuilder.h.

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

◆ NumTeams

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

The number of teams.

Definition at line 2239 of file OMPIRBuilder.h.

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

◆ NumThreads

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

The number of threads.

Definition at line 2241 of file OMPIRBuilder.h.

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

◆ RTArgs

TargetDataRTArgs llvm::OpenMPIRBuilder::TargetKernelArgs::RTArgs

Arguments passed to the runtime library.

Definition at line 2235 of file OMPIRBuilder.h.

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


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