ΒΆllvm::InlineParams getInlineParams(
unsigned int OptLevel,
unsigned int SizeOptLevel)
llvm::InlineParams getInlineParams(
unsigned int OptLevel,
unsigned int SizeOptLevel)
Description
Generate the parameters to tune the inline cost analysis based on command line options. If -inline-threshold option is not explicitly passed, the default threshold is computed from \p OptLevel and \p SizeOptLevel. An \p OptLevel value above 3 is considered an aggressive optimization mode.\p SizeOptLevel of 1 corresponds to the -Os flag and 2 corresponds to the -Oz flag.
Declared at: llvm/include/llvm/Analysis/InlineCost.h:198
Parameters
- unsigned int OptLevel
- unsigned int SizeOptLevel