llvm::InstrProfReader::accumulateCounts

Compute the sum of counts and return in Sum.

Synopsis

Declared in <llvm/ProfileData/InstrProfReader.h>

void
accumulateCounts(
    CountSumOrPercent& Sum,
    bool IsCS);

Parameters

NameDescription
SumOutput accumulator that receives the summed counts.
IsCSWhether to accumulate context-sensitive profile counts.