translation.backendopt.inline

  • name: inline
  • description: Do basic inlining and malloc removal
  • command-line: –translation-backendopt-inline
  • command-line for negation: –no-translation-backendopt-inline
  • option type: boolean option
  • default: True

Inline flowgraphs based on an heuristic, the default one considers essentially the a weight for the flowgraph based on the number of low-level operations in them (see –inline-threshold ).

Some amount of inlining in order to have RPython builtin type helpers inlined is needed for malloc removal (–translation-backendopt-mallocs) to be effective.

This optimization is used by default.