What is Function inlining?

Replacing a function call with the body of the called function. It removes call overhead and enables further optimizations but enlarges the code.

Field: Compilers

Questions that mention Function inlining (1)

  1. Which pair gives the advantage and drawback of function inlining?

Related terms

Constant folding Abstract syntax tree Basic block Common subexpression elimination Control-flow graph Instruction scheduling Intermediate representation JIT compilation Lexical analysis LLVM

Back to the glossary