LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
llvm::TargetRegionEntryInfo Struct Reference

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 charKernelNamePrefix = "__omp_offloading_"
 The prefix used for kernel names.
 

Detailed Description

Data structure to contain the information needed to uniquely identify a target entry.

Definition at line 203 of file OMPIRBuilder.h.

Constructor & Destructor Documentation

◆ TargetRegionEntryInfo() [1/2]

llvm::TargetRegionEntryInfo::TargetRegionEntryInfo ( )
inline

Definition at line 213 of file OMPIRBuilder.h.

◆ TargetRegionEntryInfo() [2/2]

llvm::TargetRegionEntryInfo::TargetRegionEntryInfo ( StringRef  ParentName,
unsigned  DeviceID,
unsigned  FileID,
unsigned  Line,
unsigned  Count = 0 
)
inline

Definition at line 214 of file OMPIRBuilder.h.

Member Function Documentation

◆ getTargetRegionEntryFnName()

void TargetRegionEntryInfo::getTargetRegionEntryFnName ( SmallVectorImpl< char > &  Name,
StringRef  ParentName,
unsigned  DeviceID,
unsigned  FileID,
unsigned  Line,
unsigned  Count 
)
static

Definition at line 9262 of file OMPIRBuilder.cpp.

References llvm::format(), Name, and OS.

Referenced by llvm::OffloadEntriesInfoManager::getTargetRegionEntryFnName().

◆ operator<()

bool llvm::TargetRegionEntryInfo::operator< ( const TargetRegionEntryInfo RHS) const
inline

Definition at line 224 of file OMPIRBuilder.h.

References Count, DeviceID, FileID, Line, ParentName, and RHS.

Member Data Documentation

◆ Count

unsigned llvm::TargetRegionEntryInfo::Count

◆ DeviceID

unsigned llvm::TargetRegionEntryInfo::DeviceID

◆ FileID

unsigned llvm::TargetRegionEntryInfo::FileID

◆ KernelNamePrefix

constexpr const char* llvm::TargetRegionEntryInfo::KernelNamePrefix = "__omp_offloading_"
staticconstexpr

The prefix used for kernel names.

Definition at line 205 of file OMPIRBuilder.h.

Referenced by llvm::omp::deconstructOpenMPKernelName().

◆ Line

unsigned llvm::TargetRegionEntryInfo::Line

◆ ParentName

std::string llvm::TargetRegionEntryInfo::ParentName

The documentation for this struct was generated from the following files: