Return the number of calls of CalledFunction by CallerFunction.

Synopsis

Declared in <llvm/Analysis/HeatUtils.h>

uint64_t
getNumOfCalls(
    Function const& CallerFunction,
    Function const& CalledFunction);

Return Value

Number of calls from CallerFunction to CalledFunction.

Parameters

Name

Description

CallerFunction

Function that may contain call sites.

CalledFunction

Function whose call sites are counted.

Created with MrDocs