clang  11.0.0git
Public Member Functions | Public Attributes | List of all members
clang::CodeGen::TargetDataInfo Class Reference

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

#include "/opt/doxygen-docs/src/clang/lib/CodeGen/CGOpenMPRuntime.h"

Collaboration diagram for clang::CodeGen::TargetDataInfo:
Collaboration graph
[legend]

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::ValueBasePointersArray = nullptr
 The array of base pointer passed to the runtime library. More...
 
llvm::ValuePointersArray = nullptr
 The array of section pointers passed to the runtime library. More...
 
llvm::ValueSizesArray = nullptr
 The array of sizes passed to the runtime library. More...
 
llvm::ValueMapTypesArray = 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 *, AddressCaptureDeviceAddrMap
 Map between the a declaration of a capture and the corresponding base pointer address where the runtime returns the device pointers. More...
 

Detailed Description

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

Definition at line 1604 of file CGOpenMPRuntime.h.

Constructor & Destructor Documentation

◆ TargetDataInfo() [1/2]

clang::CodeGen::TargetDataInfo::TargetDataInfo ( )
inlineexplicit

Definition at line 1623 of file CGOpenMPRuntime.h.

◆ TargetDataInfo() [2/2]

clang::CodeGen::TargetDataInfo::TargetDataInfo ( bool  RequiresDevicePointerInfo)
inlineexplicit

Definition at line 1624 of file CGOpenMPRuntime.h.

Member Function Documentation

◆ clearArrayInfo()

void clang::CodeGen::TargetDataInfo::clearArrayInfo ( )
inline

Clear information about the data arrays.

Definition at line 1627 of file CGOpenMPRuntime.h.

◆ isValid()

bool clang::CodeGen::TargetDataInfo::isValid ( )
inline

Return true if the current target data information has valid arrays.

Definition at line 1635 of file CGOpenMPRuntime.h.

◆ requiresDevicePointerInfo()

bool clang::CodeGen::TargetDataInfo::requiresDevicePointerInfo ( )
inline

Member Data Documentation

◆ BasePointersArray

llvm::Value* clang::CodeGen::TargetDataInfo::BasePointersArray = nullptr

The array of base pointer passed to the runtime library.

Definition at line 1610 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().

◆ CaptureDeviceAddrMap

llvm::DenseMap<const ValueDecl *, Address> clang::CodeGen::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 1621 of file CGOpenMPRuntime.h.

◆ MapTypesArray

llvm::Value* clang::CodeGen::TargetDataInfo::MapTypesArray = nullptr

The array of map types passed to the runtime library.

Definition at line 1616 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().

◆ NumberOfPtrs

unsigned clang::CodeGen::TargetDataInfo::NumberOfPtrs = 0u

The total number of pointers passed to the runtime library.

Definition at line 1618 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().

◆ PointersArray

llvm::Value* clang::CodeGen::TargetDataInfo::PointersArray = nullptr

The array of section pointers passed to the runtime library.

Definition at line 1612 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().

◆ SizesArray

llvm::Value* clang::CodeGen::TargetDataInfo::SizesArray = nullptr

The array of sizes passed to the runtime library.

Definition at line 1614 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::emitRequiresDirectiveRegFun(), and clang::CodeGen::emitTargetNumIterationsCall().


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