createPGOFuncNameVar overloads
Synopses
Declared in <llvm/ProfileData/InstrProf.h>
Create the global variable that stores F's PGO function name.
GlobalVariable*
createPGOFuncNameVar(
Function& F,
StringRef PGOFuncName);
Create a PGO function‐name global variable in module M.
GlobalVariable*
createPGOFuncNameVar(
Module& M,
GlobalValue::LinkageTypes Linkage,
StringRef PGOFuncName);
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. |
M |
Module that receives the name variable. |
Linkage |
Linkage of the created variable. |
Created with MrDocs