13#ifndef LLVM_ANALYSIS_SYNTHETICCOUNTSUTILS_H
14#define LLVM_ANALYSIS_SYNTHETICCOUNTSUTILS_H
33 using SccTy = std::vector<NodeRef>;
This file defines the little GraphTraits<X> template class that should be specialized by classes that...
Class with methods to propagate synthetic entry counts.
typename CGT::NodeRef NodeRef
std::vector< NodeRef > SccTy
typename CGT::EdgeRef EdgeRef
static void propagate(const CallGraphType &CG, GetProfCountTy GetProfCount, AddCountTy AddCount)
Propgate synthetic entry counts on a callgraph CG.
An efficient, type-erasing, non-owning reference to a callable.
This is an optimization pass for GlobalISel generic memory operations.
typename GraphType::UnknownGraphTypeError NodeRef