clang
6.0.0
|
Entity that registers the offloading constants that were emitted so far. More...
#include "/work/www-prereleases/6.0.0/rc2/docsbuild/llvm.src/tools/clang/lib/CodeGen/CGOpenMPRuntime.h"
Classes | |
class | OffloadEntryInfo |
Base class of the entries info. More... | |
class | OffloadEntryInfoTargetRegion |
Target region entries related. More... | |
Public Types | |
typedef llvm::function_ref< void(unsigned, unsigned, StringRef, unsigned, OffloadEntryInfoTargetRegion &)> | OffloadTargetRegionEntryInfoActTy |
brief Applies action Action on all registered entries. More... | |
Public Member Functions | |
bool | empty () const |
Return true if a there are no entries defined. More... | |
unsigned | size () const |
Return number of entries defined so far. More... | |
OffloadEntriesInfoManagerTy (CodeGenModule &CGM) | |
void | initializeTargetRegionEntryInfo (unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned LineNum, unsigned Order) |
Initialize target region entry. More... | |
void | registerTargetRegionEntryInfo (unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned LineNum, llvm::Constant *Addr, llvm::Constant *ID, int32_t Flags) |
Register target region entry. More... | |
bool | hasTargetRegionEntryInfo (unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned LineNum) const |
Return true if a target region entry with the provided information exists. More... | |
void | actOnTargetRegionEntriesInfo (const OffloadTargetRegionEntryInfoActTy &Action) |
Entity that registers the offloading constants that were emitted so far.
Definition at line 370 of file CGOpenMPRuntime.h.
typedef llvm::function_ref<void(unsigned, unsigned, StringRef, unsigned, OffloadEntryInfoTargetRegion &)> clang::CodeGen::OffloadEntriesInfoManagerTy::OffloadTargetRegionEntryInfoActTy |
brief Applies action Action on all registered entries.
Definition at line 470 of file CGOpenMPRuntime.h.
|
inline |
Definition at line 416 of file CGOpenMPRuntime.h.
void clang::CodeGen::OffloadEntriesInfoManagerTy::actOnTargetRegionEntriesInfo | ( | const OffloadTargetRegionEntryInfoActTy & | Action | ) |
bool clang::CodeGen::OffloadEntriesInfoManagerTy::empty | ( | ) | const |
Return true if a there are no entries defined.
Referenced by clang::CodeGen::createOffloadEntriesAndInfoMetadata(), and clang::CodeGen::createOffloadingBinaryDescriptorRegistration().
bool clang::CodeGen::OffloadEntriesInfoManagerTy::hasTargetRegionEntryInfo | ( | unsigned | DeviceID, |
unsigned | FileID, | ||
StringRef | ParentName, | ||
unsigned | LineNum | ||
) | const |
Return true if a target region entry with the provided information exists.
void clang::CodeGen::OffloadEntriesInfoManagerTy::initializeTargetRegionEntryInfo | ( | unsigned | DeviceID, |
unsigned | FileID, | ||
StringRef | ParentName, | ||
unsigned | LineNum, | ||
unsigned | Order | ||
) |
Initialize target region entry.
void clang::CodeGen::OffloadEntriesInfoManagerTy::registerTargetRegionEntryInfo | ( | unsigned | DeviceID, |
unsigned | FileID, | ||
StringRef | ParentName, | ||
unsigned | LineNum, | ||
llvm::Constant * | Addr, | ||
llvm::Constant * | ID, | ||
int32_t | Flags | ||
) |
Register target region entry.
Referenced by clang::CodeGen::CGOpenMPRuntime::emitTargetOutlinedFunctionHelper().
|
inline |
Return number of entries defined so far.
Definition at line 415 of file CGOpenMPRuntime.h.
Referenced by clang::CodeGen::createOffloadEntriesAndInfoMetadata().