ΒΆbool canRenameComdatFunc(
const llvm::Function& F,
bool CheckAddressTaken = false)
bool canRenameComdatFunc(
const llvm::Function& F,
bool CheckAddressTaken = false)
Description
Check if we can safely rename this Comdat function. Instances of the same comdat function may have different control flows thus can not share the same counter variable.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:230
Parameters
- const llvm::Function& F
- bool CheckAddressTaken = false