llvm::getPrefetchTargetSymbolName

Return the symbol name for a prefetch target.

Synopsis

Declared in <llvm/CodeGen/InsertCodePrefetch.h>

SmallString<128>
getPrefetchTargetSymbolName(
    StringRef FunctionName,
    UniqueBBID const& BBID,
    unsigned int CallsiteIndex);

Return Value

The symbol name for the prefetch target.

Parameters

NameDescription
FunctionNameName of the function containing the prefetch target.
BBIDUnique basic-block ID of the prefetch target.
CallsiteIndexCall-site index within the basic block.