LLVM 24.0.0git
llvm::OpenMPIRBuilder::TargetDataRTArgs Struct Reference

Container for the arguments used to pass data to the runtime library. More...

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

Classes

struct  NonContiguousDescriptor

Public Member Functions

 TargetDataRTArgs ()=default
 TargetDataRTArgs (Value *BasePointersArray, Value *PointersArray, Value *SizesArray, Value *MapTypesArray, Value *MapTypesArrayEnd, Value *MappersArray, Value *MapNamesArray)

Public Attributes

Value * BasePointersArray = nullptr
 The array of base pointer passed to the runtime library.
Value * PointersArray = nullptr
 The array of section pointers passed to the runtime library.
Value * SizesArray = nullptr
 The array of sizes passed to the runtime library.
Value * MapTypesArray = nullptr
 The array of map types passed to the runtime library for the beginning of the region or for the entire region if there are no separate map types for the region end.
Value * MapTypesArrayEnd = nullptr
 The array of map types passed to the runtime library for the end of the region, or nullptr if there are no separate map types for the region end.
Value * MappersArray = nullptr
 The array of user-defined mappers passed to the runtime library.
Value * MapNamesArray = nullptr
 The array of original declaration names of mapped pointers sent to the runtime library for debugging.
SmallVector< NonContiguousDescriptor, 2 > NonContiguousDescriptors
 Descriptors referenced by PointersArray need their own task-private copies when the runtime call is deferred.

Detailed Description

Container for the arguments used to pass data to the runtime library.

Definition at line 2877 of file OMPIRBuilder.h.

Constructor & Destructor Documentation

◆ TargetDataRTArgs() [1/2]

llvm::OpenMPIRBuilder::TargetDataRTArgs::TargetDataRTArgs ( )
explicitdefault

◆ TargetDataRTArgs() [2/2]

llvm::OpenMPIRBuilder::TargetDataRTArgs::TargetDataRTArgs ( Value * BasePointersArray,
Value * PointersArray,
Value * SizesArray,
Value * MapTypesArray,
Value * MapTypesArrayEnd,
Value * MappersArray,
Value * MapNamesArray )
inlineexplicit

Member Data Documentation

◆ BasePointersArray

Value* llvm::OpenMPIRBuilder::TargetDataRTArgs::BasePointersArray = nullptr

◆ MapNamesArray

Value* llvm::OpenMPIRBuilder::TargetDataRTArgs::MapNamesArray = nullptr

The array of original declaration names of mapped pointers sent to the runtime library for debugging.

Definition at line 2896 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::createTargetData(), llvm::OpenMPIRBuilder::emitOffloadingArraysArgument(), llvm::OpenMPIRBuilder::emitTargetTask(), llvm::OpenMPIRBuilder::getKernelArgsVector(), and TargetDataRTArgs().

◆ MappersArray

Value* llvm::OpenMPIRBuilder::TargetDataRTArgs::MappersArray = nullptr

◆ MapTypesArray

Value* llvm::OpenMPIRBuilder::TargetDataRTArgs::MapTypesArray = nullptr

The array of map types passed to the runtime library for the beginning of the region or for the entire region if there are no separate map types for the region end.

Definition at line 2887 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::createTargetData(), llvm::OpenMPIRBuilder::emitOffloadingArraysArgument(), llvm::OpenMPIRBuilder::emitTargetTask(), llvm::OpenMPIRBuilder::getKernelArgsVector(), and TargetDataRTArgs().

◆ MapTypesArrayEnd

Value* llvm::OpenMPIRBuilder::TargetDataRTArgs::MapTypesArrayEnd = nullptr

The array of map types passed to the runtime library for the end of the region, or nullptr if there are no separate map types for the region end.

Definition at line 2891 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::emitTargetTask(), and TargetDataRTArgs().

◆ NonContiguousDescriptors

SmallVector<NonContiguousDescriptor, 2> llvm::OpenMPIRBuilder::TargetDataRTArgs::NonContiguousDescriptors

Descriptors referenced by PointersArray need their own task-private copies when the runtime call is deferred.

Definition at line 2905 of file OMPIRBuilder.h.

Referenced by llvm::OpenMPIRBuilder::emitOffloadingArraysArgument(), and llvm::OpenMPIRBuilder::emitTargetTask().

◆ PointersArray

Value* llvm::OpenMPIRBuilder::TargetDataRTArgs::PointersArray = nullptr

◆ SizesArray

Value* llvm::OpenMPIRBuilder::TargetDataRTArgs::SizesArray = nullptr

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