The src/inlining
Directory
Namespace inlining
, delivered for TC-EXTS. Inline and prune functions.
File: local.am (src/inlining/)
This is a Makefile configuration relative to the
src/inlining/
directory. It is responsible for the integration into thelibtc
library with everything exported from theinlining
module.
File: libinlining.* (src/inlining/)
The interface of the
inlining
module. It exports two procedures,inline_expand
andprune
.
File: tasks.* (src/inlining/)
Tasks related to the
inlining
module (see: The src/task Directory).
File: inliner.* (src/inlining/)
The
inlining::Inliner
visitor. Performs inline expansion of functions. Inherits fromastclone::Cloner
, so the result is a modified copy of the inputAST
.
File: pruner.* (src/inlining/)
The
inlining::Pruner
visitor. Prunes useless function declarations within anAST
. Inherits fromastclone::Cloner
, so the result is a modified copy of the inputAST
.