ΒΆllvm::GlobalVariable* createPGOFuncNameVar(
llvm::Function& F,
llvm::StringRef PGOFuncName)
llvm::GlobalVariable* createPGOFuncNameVar(
llvm::Function& F,
llvm::StringRef PGOFuncName)
Description
Create and return the global variable for function name used in PGO instrumentation. \c FuncName is the name of the function returned by \c getPGOFuncName call.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:183
Parameters
- llvm::Function& F
- llvm::StringRef PGOFuncName