llvm::canRenameComdatFunc

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.

Synopsis

Declared in <llvm/ProfileData/InstrProf.h>

bool
canRenameComdatFunc(
    Function const& F,
    bool CheckAddressTaken = false);