Expand description

Function inlining.

Function inlining is pretty hairy so these passes must be maintained with care.

Functions

Inline all calls made from a specific function, effectively removing all Call instructions.

Inline a function to a specific call site within another function.

Inline function calls based on a provided heuristic predicate.

A utility to get a predicate which can be passed to inline_some_function_calls() based on certain sizes of the function. If a constraint is None then any size is assumed to be acceptable.