LLVM 20.0.0git
|
Data structure to contain the information needed to uniquely identify a target entry. More...
#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"
Public Member Functions | |
TargetRegionEntryInfo () | |
TargetRegionEntryInfo (StringRef ParentName, unsigned DeviceID, unsigned FileID, unsigned Line, unsigned Count=0) | |
bool | operator< (const TargetRegionEntryInfo &RHS) const |
Static Public Member Functions | |
static void | getTargetRegionEntryFnName (SmallVectorImpl< char > &Name, StringRef ParentName, unsigned DeviceID, unsigned FileID, unsigned Line, unsigned Count) |
Public Attributes | |
std::string | ParentName |
unsigned | DeviceID |
unsigned | FileID |
unsigned | Line |
unsigned | Count |
Static Public Attributes | |
static constexpr const char * | KernelNamePrefix = "__omp_offloading_" |
The prefix used for kernel names. | |
Data structure to contain the information needed to uniquely identify a target entry.
Definition at line 203 of file OMPIRBuilder.h.
|
inline |
Definition at line 213 of file OMPIRBuilder.h.
|
inline |
Definition at line 214 of file OMPIRBuilder.h.
|
static |
Definition at line 9262 of file OMPIRBuilder.cpp.
References llvm::format(), Name, and OS.
Referenced by llvm::OffloadEntriesInfoManager::getTargetRegionEntryFnName().
|
inline |
Definition at line 224 of file OMPIRBuilder.h.
References Count, DeviceID, FileID, Line, ParentName, and RHS.
unsigned llvm::TargetRegionEntryInfo::Count |
Definition at line 211 of file OMPIRBuilder.h.
Referenced by llvm::OffloadEntriesInfoManager::hasTargetRegionEntryInfo(), operator<(), and llvm::OffloadEntriesInfoManager::registerTargetRegionEntryInfo().
unsigned llvm::TargetRegionEntryInfo::DeviceID |
Definition at line 208 of file OMPIRBuilder.h.
Referenced by llvm::OffloadEntriesInfoManager::getTargetRegionEntryFnName(), and operator<().
unsigned llvm::TargetRegionEntryInfo::FileID |
Definition at line 209 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::getAddrOfDeclareTargetVar(), llvm::OffloadEntriesInfoManager::getTargetRegionEntryFnName(), and operator<().
|
staticconstexpr |
The prefix used for kernel names.
Definition at line 205 of file OMPIRBuilder.h.
Referenced by llvm::omp::deconstructOpenMPKernelName().
unsigned llvm::TargetRegionEntryInfo::Line |
Definition at line 210 of file OMPIRBuilder.h.
Referenced by llvm::OffloadEntriesInfoManager::getTargetRegionEntryFnName(), and operator<().
std::string llvm::TargetRegionEntryInfo::ParentName |
Definition at line 207 of file OMPIRBuilder.h.
Referenced by llvm::OpenMPIRBuilder::createOffloadEntriesAndInfoMetadata(), llvm::OffloadEntriesInfoManager::getTargetRegionEntryFnName(), and operator<().