Return the PGO name for global variable V.

Synopsis

Declared in <llvm/ProfileData/InstrProf.h>

std::string
getPGOName(
    GlobalVariable const& V,
    bool InLTO = false);

Return Value

PGO name for V.

Parameters

Name

Description

V

Global variable whose PGO name is formed.

InLTO

Whether this is called from LTO optimization passes.

Created with MrDocs