LLVM 18.0.0git
|
Struct that keeps the information that should be kept throughout a 'target data' region. More...
#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"
Public Member Functions | |
TargetDataInfo () | |
TargetDataInfo (bool RequiresDevicePointerInfo, bool SeparateBeginEndCalls) | |
void | clearArrayInfo () |
Clear information about the data arrays. | |
bool | isValid () |
Return true if the current target data information has valid arrays. | |
bool | requiresDevicePointerInfo () |
bool | separateBeginEndCalls () |
Public Attributes | |
TargetDataRTArgs | RTArgs |
SmallMapVector< const Value *, std::pair< Value *, Value * >, 4 > | DevicePtrInfoMap |
bool | HasMapper = false |
Indicate whether any user-defined mapper exists. | |
unsigned | NumberOfPtrs = 0u |
The total number of pointers passed to the runtime library. | |
Struct that keeps the information that should be kept throughout a 'target data' region.
Definition at line 1612 of file OMPIRBuilder.h.
|
inlineexplicit |
Definition at line 1630 of file OMPIRBuilder.h.
|
inlineexplicit |
Definition at line 1631 of file OMPIRBuilder.h.
|
inline |
Clear information about the data arrays.
Definition at line 1636 of file OMPIRBuilder.h.
References HasMapper, NumberOfPtrs, and RTArgs.
|
inline |
Return true if the current target data information has valid arrays.
Definition at line 1642 of file OMPIRBuilder.h.
References llvm::OpenMPIRBuilder::TargetDataRTArgs::BasePointersArray, HasMapper, llvm::OpenMPIRBuilder::TargetDataRTArgs::MappersArray, llvm::OpenMPIRBuilder::TargetDataRTArgs::MapTypesArray, NumberOfPtrs, llvm::OpenMPIRBuilder::TargetDataRTArgs::PointersArray, RTArgs, and llvm::OpenMPIRBuilder::TargetDataRTArgs::SizesArray.
|
inline |
Definition at line 1647 of file OMPIRBuilder.h.
|
inline |
Definition at line 1648 of file OMPIRBuilder.h.
SmallMapVector<const Value *, std::pair<Value *, Value *>, 4> llvm::OpenMPIRBuilder::TargetDataInfo::DevicePtrInfoMap |
Definition at line 1623 of file OMPIRBuilder.h.
bool llvm::OpenMPIRBuilder::TargetDataInfo::HasMapper = false |
Indicate whether any user-defined mapper exists.
Definition at line 1626 of file OMPIRBuilder.h.
Referenced by clearArrayInfo(), and isValid().
unsigned llvm::OpenMPIRBuilder::TargetDataInfo::NumberOfPtrs = 0u |
The total number of pointers passed to the runtime library.
Definition at line 1628 of file OMPIRBuilder.h.
Referenced by clearArrayInfo(), and isValid().
TargetDataRTArgs llvm::OpenMPIRBuilder::TargetDataInfo::RTArgs |
Definition at line 1620 of file OMPIRBuilder.h.
Referenced by clearArrayInfo(), and isValid().