Create the global variable that stores F's PGO function name.
Synopsis
Declared in <llvm/ProfileData/InstrProf.h>
GlobalVariable*
createPGOFuncNameVar(
Function& F,
StringRef PGOFuncName);
Description
PGOFuncName is the IRPGO name for LLVM IR instrumentation or the PGO name for front‐end instrumentation.
Return Value
Newly created PGO function‐name global variable.
Parameters
Name |
Description |
F |
Function that owns the name variable. |
PGOFuncName |
PGO name string stored in the variable. |
Created with MrDocs