clang
10.0.0git
|
Struct that keeps all the relevant information that should be kept throughout a 'target data' region. More...
#include "/work/www-prereleases/10.0.0/rc2/docsbuild/clang/lib/CodeGen/CGOpenMPRuntime.h"
Public Member Functions | |
TargetDataInfo () | |
TargetDataInfo (bool RequiresDevicePointerInfo) | |
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 () |
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. 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 1538 of file CGOpenMPRuntime.h.
|
inlineexplicit |
Definition at line 1557 of file CGOpenMPRuntime.h.
|
inlineexplicit |
Definition at line 1558 of file CGOpenMPRuntime.h.
|
inline |
Clear information about the data arrays.
Definition at line 1561 of file CGOpenMPRuntime.h.
|
inline |
Return true if the current target data information has valid arrays.
Definition at line 1569 of file CGOpenMPRuntime.h.
|
inline |
Definition at line 1573 of file CGOpenMPRuntime.h.
References clang::CodeGen::emitDeclareSimdFunction(), clang::CodeGen::emitDoacrossInit(), clang::CodeGen::emitDoacrossOrdered(), clang::CodeGen::emitTargetDataCalls(), and clang::CodeGen::emitTargetDataStandAloneCall().
llvm::Value* clang::CodeGen::TargetDataInfo::BasePointersArray = nullptr |
The array of base pointer passed to the runtime library.
Definition at line 1544 of file CGOpenMPRuntime.h.
Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().
Map between the a declaration of a capture and the corresponding base pointer address where the runtime returns the device pointers.
Definition at line 1555 of file CGOpenMPRuntime.h.
llvm::Value* clang::CodeGen::TargetDataInfo::MapTypesArray = nullptr |
The array of map types passed to the runtime library.
Definition at line 1550 of file CGOpenMPRuntime.h.
Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().
unsigned clang::CodeGen::TargetDataInfo::NumberOfPtrs = 0u |
The total number of pointers passed to the runtime library.
Definition at line 1552 of file CGOpenMPRuntime.h.
Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().
llvm::Value* clang::CodeGen::TargetDataInfo::PointersArray = nullptr |
The array of section pointers passed to the runtime library.
Definition at line 1546 of file CGOpenMPRuntime.h.
Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().
llvm::Value* clang::CodeGen::TargetDataInfo::SizesArray = nullptr |
The array of sizes passed to the runtime library.
Definition at line 1548 of file CGOpenMPRuntime.h.
Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().