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