LLVM  17.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::OpenMPIRBuilder::TargetDataInfo Class Reference

Struct that keeps the information that should be kept throughout a 'target data' region. More...

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

Collaboration diagram for llvm::OpenMPIRBuilder::TargetDataInfo:
Collaboration graph
[legend]

Public Member Functions

 TargetDataInfo ()
 
 TargetDataInfo (bool RequiresDevicePointerInfo, bool SeparateBeginEndCalls)
 
void clearArrayInfo ()
 Clear information about the data arrays. More...
 
bool isValid ()
 Return true if the current target data information has valid arrays. More...
 
bool requiresDevicePointerInfo ()
 
bool separateBeginEndCalls ()
 

Public Attributes

TargetDataRTArgs RTArgs
 
bool HasMapper = false
 Indicate whether any user-defined mapper exists. More...
 
unsigned NumberOfPtrs = 0u
 The total number of pointers passed to the runtime library. More...
 

Detailed Description

Struct that keeps the information that should be kept throughout a 'target data' region.

Definition at line 1158 of file OMPIRBuilder.h.

Constructor & Destructor Documentation

◆ TargetDataInfo() [1/2]

llvm::OpenMPIRBuilder::TargetDataInfo::TargetDataInfo ( )
inlineexplicit

Definition at line 1173 of file OMPIRBuilder.h.

◆ TargetDataInfo() [2/2]

llvm::OpenMPIRBuilder::TargetDataInfo::TargetDataInfo ( bool  RequiresDevicePointerInfo,
bool  SeparateBeginEndCalls 
)
inlineexplicit

Definition at line 1174 of file OMPIRBuilder.h.

Member Function Documentation

◆ clearArrayInfo()

void llvm::OpenMPIRBuilder::TargetDataInfo::clearArrayInfo ( )
inline

Clear information about the data arrays.

Definition at line 1179 of file OMPIRBuilder.h.

References HasMapper, NumberOfPtrs, and RTArgs.

◆ isValid()

bool llvm::OpenMPIRBuilder::TargetDataInfo::isValid ( )
inline

◆ requiresDevicePointerInfo()

bool llvm::OpenMPIRBuilder::TargetDataInfo::requiresDevicePointerInfo ( )
inline

Definition at line 1190 of file OMPIRBuilder.h.

◆ separateBeginEndCalls()

bool llvm::OpenMPIRBuilder::TargetDataInfo::separateBeginEndCalls ( )
inline

Definition at line 1191 of file OMPIRBuilder.h.

Member Data Documentation

◆ HasMapper

bool llvm::OpenMPIRBuilder::TargetDataInfo::HasMapper = false

Indicate whether any user-defined mapper exists.

Definition at line 1169 of file OMPIRBuilder.h.

Referenced by clearArrayInfo(), and isValid().

◆ NumberOfPtrs

unsigned llvm::OpenMPIRBuilder::TargetDataInfo::NumberOfPtrs = 0u

The total number of pointers passed to the runtime library.

Definition at line 1171 of file OMPIRBuilder.h.

Referenced by clearArrayInfo(), and isValid().

◆ RTArgs

TargetDataRTArgs llvm::OpenMPIRBuilder::TargetDataInfo::RTArgs

Definition at line 1166 of file OMPIRBuilder.h.

Referenced by clearArrayInfo(), and isValid().


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