llvm::applyFlowInference

applyFlowInference overloads

Synopses

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

Apply the profile inference algorithm to Func with default parameters.

void
applyFlowInference(FlowFunction& Func);
» more...

Apply the profile inference algorithm to Func with custom Params.

void
applyFlowInference(
    ProfiParams const& Params,
    FlowFunction& Func);
» more...

Parameters

NameDescription
FuncFlow function whose block and jump flows are inferred in place.
ParamsInference cost and policy parameters.