|
clang
5.0.0
|
Entity that registers the offloading constants that were emitted so far. More...
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 361 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 461 of file CGOpenMPRuntime.h.
|
inline |
Definition at line 407 of file CGOpenMPRuntime.h.
| void clang::CodeGen::OffloadEntriesInfoManagerTy::actOnTargetRegionEntriesInfo | ( | const OffloadTargetRegionEntryInfoActTy & | Action | ) |
Referenced by clang::CodeGen::createOffloadEntriesAndInfoMetadata().
| 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.
Referenced by clang::CodeGen::scanForTargetRegionsFunctions().
| void clang::CodeGen::OffloadEntriesInfoManagerTy::initializeTargetRegionEntryInfo | ( | unsigned | DeviceID, |
| unsigned | FileID, | ||
| StringRef | ParentName, | ||
| unsigned | LineNum, | ||
| unsigned | Order | ||
| ) |
Initialize target region entry.
Referenced by clang::CodeGen::loadOffloadInfoMetadata().
| 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 406 of file CGOpenMPRuntime.h.
Referenced by clang::CodeGen::createOffloadEntriesAndInfoMetadata().
1.8.6