llvm::SampleProfileInference

Sample profile inference pass.

Synopsis

Declared in <llvm/Transforms/Utils/SampleProfileInference.h>

template<typename FT>
class SampleProfileInference;

Type Aliases

NameDescription
BasicBlockT Basic block type obtained by stripping the pointer from NodeRef.
BlockEdgeMap Map from each basic block to its successors in the CFG.
BlockWeightMap Map from basic blocks to their weights.
Edge Directed edge between two basic blocks.
EdgeWeightMap Map from edges to their weights.
FunctionT Function type provided as the class template argument.
NodeRef Graph node reference type for FT.

Member Functions

NameDescription
SampleProfileInference [constructor]Constructors
apply Apply the profile inference algorithm for a given function.