class SyntheticCountsUtils

Declaration

template <typename CallGraphType>
class SyntheticCountsUtils { /* full declaration omitted */ };

Description

Class with methods to propagate synthetic entry counts. This class is templated on the type of the call graph and designed to work with the traditional per-module callgraph and the summary callgraphs used in ThinLTO. This contains only static methods and alias templates.

Declared at: llvm/include/llvm/Analysis/SyntheticCountsUtils.h:30

Templates

CallGraphType

Method Overview

  • public static void propagate(const CallGraphType & CG, llvm::SyntheticCountsUtils::GetProfCountTy GetProfCount, llvm::SyntheticCountsUtils::AddCountTy AddCount)

Methods

ΒΆstatic void propagate(
    const CallGraphType& CG,
    llvm::SyntheticCountsUtils::GetProfCountTy
        GetProfCount,
    llvm::SyntheticCountsUtils::AddCountTy
        AddCount)

Declared at: llvm/include/llvm/Analysis/SyntheticCountsUtils.h:43

Parameters

const CallGraphType& CG
llvm::SyntheticCountsUtils::GetProfCountTy GetProfCount
llvm::SyntheticCountsUtils::AddCountTy AddCount