llvm::setExplicitlyUnknownFunctionEntryCount

Analogous to setExplicitlyUnknownBranchWeights, but for functions and their entry counts.

Synopsis

Declared in <llvm/IR/ProfDataUtils.h>

void
setExplicitlyUnknownFunctionEntryCount(
    Function& F,
    StringRef PassName);

Parameters

NameDescription
FThe function whose entry count is marked unknown.
PassNameThe pass name (typically DEBUG_TYPE) recorded for debugging.