Return the estimated profile count of Node in F, if available.

Synopsis

Declared in <llvm/Analysis/BlockFrequencyInfoImpl.h>

std::optional<uint64_t>
getBlockProfileCount(
    Function const& F,
    BlockNode const& Node) const;

Return Value

The estimated profile count, or nullopt if unavailable.

Parameters

Name

Description

F

Function providing the entry count scale.

Node

Block whose profile count is requested.

Created with MrDocs