|
clang
3.8.0
|
Entity that registers the offloading constants that were emitted so far. More...
#include <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, 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 ColNum, unsigned Order) |
| Initialize target region entry. More... | |
| void | registerTargetRegionEntryInfo (unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned LineNum, unsigned ColNum, llvm::Constant *Addr, llvm::Constant *ID) |
| Register target region entry. More... | |
| bool | hasTargetRegionEntryInfo (unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned LineNum, unsigned ColNum) 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 326 of file CGOpenMPRuntime.h.
| typedef llvm::function_ref<void(unsigned, unsigned, StringRef, unsigned, unsigned, OffloadEntryInfoTargetRegion &)> clang::OffloadEntriesInfoManagerTy::OffloadTargetRegionEntryInfoActTy |
brief Applies action Action on all registered entries.
Definition at line 419 of file CGOpenMPRuntime.h.
|
inline |
Definition at line 365 of file CGOpenMPRuntime.h.
| void clang::OffloadEntriesInfoManagerTy::actOnTargetRegionEntriesInfo | ( | const OffloadTargetRegionEntryInfoActTy & | Action | ) |
Referenced by clang::createOffloadEntriesAndInfoMetadata().
| bool clang::OffloadEntriesInfoManagerTy::empty | ( | ) | const |
Return true if a there are no entries defined.
Referenced by clang::createOffloadEntriesAndInfoMetadata(), and clang::createOffloadingBinaryDescriptorRegistration().
| bool clang::OffloadEntriesInfoManagerTy::hasTargetRegionEntryInfo | ( | unsigned | DeviceID, |
| unsigned | FileID, | ||
| StringRef | ParentName, | ||
| unsigned | LineNum, | ||
| unsigned | ColNum | ||
| ) | const |
Return true if a target region entry with the provided information exists.
Referenced by clang::scanForTargetRegionsFunctions().
| void clang::OffloadEntriesInfoManagerTy::initializeTargetRegionEntryInfo | ( | unsigned | DeviceID, |
| unsigned | FileID, | ||
| StringRef | ParentName, | ||
| unsigned | LineNum, | ||
| unsigned | ColNum, | ||
| unsigned | Order | ||
| ) |
Initialize target region entry.
Referenced by clang::loadOffloadInfoMetadata().
| void clang::OffloadEntriesInfoManagerTy::registerTargetRegionEntryInfo | ( | unsigned | DeviceID, |
| unsigned | FileID, | ||
| StringRef | ParentName, | ||
| unsigned | LineNum, | ||
| unsigned | ColNum, | ||
| llvm::Constant * | Addr, | ||
| llvm::Constant * | ID | ||
| ) |
Register target region entry.
Referenced by clang::emitTargetOutlinedFunction().
|
inline |
Return number of entries defined so far.
Definition at line 364 of file CGOpenMPRuntime.h.
Referenced by clang::createOffloadEntriesAndInfoMetadata().
1.8.6