llvm::TargetRegionEntryInfo::getTargetRegionEntryFnName

Append the offload kernel function name for the given fields to Name.

Synopsis

Declared in <llvm/Frontend/OpenMP/OMPIRBuilder.h>

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

Parameters

NameDescription
NameDestination buffer receiving the kernel function name.
ParentNameParent function or region name containing the target entry.
DeviceIDTarget device identifier.
FileIDSource file identifier assigned by the virtual file system.
LineSource line number of the target entry.
CountDuplicate-entry count at the same source location.