clang
15.0.0git
|
Struct that keeps all the relevant information that should be kept throughout a 'target data' region. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGOpenMPRuntime.h"
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 | |
llvm::Value * | BasePointersArray = nullptr |
The array of base pointer passed to the runtime library. More... | |
llvm::Value * | PointersArray = nullptr |
The array of section pointers passed to the runtime library. More... | |
llvm::Value * | SizesArray = nullptr |
The array of sizes passed to the runtime library. More... | |
llvm::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. More... | |
llvm::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. More... | |
llvm::Value * | MappersArray = nullptr |
The array of user-defined mappers passed to the runtime library. More... | |
llvm::Value * | MapNamesArray = nullptr |
The array of original declaration names of mapped pointers sent to the runtime library for debugging. More... | |
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... | |
llvm::DenseMap< const ValueDecl *, Address > | CaptureDeviceAddrMap |
Map between the a declaration of a capture and the corresponding base pointer address where the runtime returns the device pointers. More... | |
Struct that keeps all the relevant information that should be kept throughout a 'target data' region.
Definition at line 1659 of file CGOpenMPRuntime.h.
|
inlineexplicit |
Definition at line 1694 of file CGOpenMPRuntime.h.
|
inlineexplicit |
Definition at line 1695 of file CGOpenMPRuntime.h.
|
inline |
Clear information about the data arrays.
Definition at line 1700 of file CGOpenMPRuntime.h.
References BasePointersArray, HasMapper, MapNamesArray, MappersArray, MapTypesArray, MapTypesArrayEnd, NumberOfPtrs, PointersArray, and SizesArray.
Referenced by emitOffloadingArrays().
|
inline |
Return true if the current target data information has valid arrays.
Definition at line 1712 of file CGOpenMPRuntime.h.
References BasePointersArray, HasMapper, MappersArray, MapTypesArray, NumberOfPtrs, PointersArray, and SizesArray.
|
inline |
Definition at line 1716 of file CGOpenMPRuntime.h.
|
inline |
Definition at line 1717 of file CGOpenMPRuntime.h.
llvm::Value* clang::CodeGen::CGOpenMPRuntime::TargetDataInfo::BasePointersArray = nullptr |
The array of base pointer passed to the runtime library.
Definition at line 1668 of file CGOpenMPRuntime.h.
Referenced by clearArrayInfo(), emitOffloadingArrays(), clang::CodeGen::CGOpenMPRuntime::emitTargetCall(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall(), and isValid().
llvm::DenseMap<const ValueDecl *, Address> clang::CodeGen::CGOpenMPRuntime::TargetDataInfo::CaptureDeviceAddrMap |
Map between the a declaration of a capture and the corresponding base pointer address where the runtime returns the device pointers.
Definition at line 1692 of file CGOpenMPRuntime.h.
Indicate whether any user-defined mapper exists.
Definition at line 1687 of file CGOpenMPRuntime.h.
Referenced by clearArrayInfo(), and isValid().
llvm::Value* clang::CodeGen::CGOpenMPRuntime::TargetDataInfo::MapNamesArray = nullptr |
The array of original declaration names of mapped pointers sent to the runtime library for debugging.
Definition at line 1685 of file CGOpenMPRuntime.h.
Referenced by clearArrayInfo(), clang::CodeGen::CGOpenMPRuntime::emitTargetCall(), and clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall().
llvm::Value* clang::CodeGen::CGOpenMPRuntime::TargetDataInfo::MappersArray = nullptr |
The array of user-defined mappers passed to the runtime library.
Definition at line 1682 of file CGOpenMPRuntime.h.
Referenced by clearArrayInfo(), emitOffloadingArrays(), clang::CodeGen::CGOpenMPRuntime::emitTargetCall(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall(), and isValid().
llvm::Value* clang::CodeGen::CGOpenMPRuntime::TargetDataInfo::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 1676 of file CGOpenMPRuntime.h.
Referenced by clearArrayInfo(), clang::CodeGen::CGOpenMPRuntime::emitTargetCall(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall(), and isValid().
llvm::Value* clang::CodeGen::CGOpenMPRuntime::TargetDataInfo::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 1680 of file CGOpenMPRuntime.h.
Referenced by clearArrayInfo().
unsigned clang::CodeGen::CGOpenMPRuntime::TargetDataInfo::NumberOfPtrs = 0u |
The total number of pointers passed to the runtime library.
Definition at line 1689 of file CGOpenMPRuntime.h.
Referenced by clearArrayInfo(), emitNonContiguousDescriptor(), emitOffloadingArrays(), clang::CodeGen::CGOpenMPRuntime::emitTargetCall(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall(), and isValid().
llvm::Value* clang::CodeGen::CGOpenMPRuntime::TargetDataInfo::PointersArray = nullptr |
The array of section pointers passed to the runtime library.
Definition at line 1670 of file CGOpenMPRuntime.h.
Referenced by clearArrayInfo(), emitNonContiguousDescriptor(), emitOffloadingArrays(), clang::CodeGen::CGOpenMPRuntime::emitTargetCall(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall(), and isValid().
llvm::Value* clang::CodeGen::CGOpenMPRuntime::TargetDataInfo::SizesArray = nullptr |
The array of sizes passed to the runtime library.
Definition at line 1672 of file CGOpenMPRuntime.h.
Referenced by clearArrayInfo(), emitOffloadingArrays(), clang::CodeGen::CGOpenMPRuntime::emitTargetCall(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall(), and isValid().