LLVM 23.0.0git
llvm::offloading::sycl Namespace Reference

Classes

struct  SymbolTableEntry
struct  SymbolTableHeader
 Serialized symbol table stored in the "symbols" entry of a SYCL OffloadBinary. More...

Functions

LLVM_ABI void writeSymbolTable (ArrayRef< StringRef > Names, SmallString< 0 > &Out)
 Serialize Names into Out.
template<typename Fn>
void forEachSymbol (StringRef Symbols, Fn &&Callback)
 Invoke Callback with a StringRef for each symbol in Symbols, the raw serialized symbol-table blob.

Function Documentation

◆ forEachSymbol()

template<typename Fn>
void llvm::offloading::sycl::forEachSymbol ( StringRef Symbols,
Fn && Callback )

Invoke Callback with a StringRef for each symbol in Symbols, the raw serialized symbol-table blob.

Definition at line 209 of file Utility.h.

References assert(), llvm::sampleprof::Base, and I.

◆ writeSymbolTable()