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 in <llvm/ProfileData/InstrProf.h>
bool
canRenameComdatFunc(
Function const& F,
bool CheckAddressTaken = false);