llvm::getInlineParams

Generate the parameters to tune the inline cost analysis based on command line options.

Synopsis

Declared in <llvm/Analysis/InlineCost.h>

InlineParams
getInlineParams(int Threshold);

Description

If -inline-threshold option is not explicitly passed, Threshold is used as the default threshold.

Return Value

InlineParams with Threshold as the default when unset.

Parameters

NameDescription
ThresholdDefault inline threshold when -inline-threshold is unset.