Handbook
Glossary
optimize-tree ( nodes -- nodes' )
Vocabulary
compiler
.
tree
.
optimizer
Inputs
nodes
an
object
Outputs
nodes'
an
object
Definition
USING:
compiler.tree.cleanup
compiler.tree.dead-code
compiler.tree.def-use
compiler.tree.escape-analysis
compiler.tree.escape-analysis.check
compiler.tree.finalization
compiler.tree.identities
compiler.tree.modular-arithmetic
compiler.tree.normalization
compiler.tree.propagation
compiler.tree.recursive
compiler.tree.tuple-unboxing
kernel
namespaces
;
IN:
compiler.tree.optimizer
:
optimize-tree
( nodes -- nodes' )
[
analyze-recursive
normalize
propagate
cleanup-tree
dup
run-escape-analysis?
[
escape-analysis
unbox-tuples
]
when
apply-identities
compute-def-use
remove-dead-code
?check
compute-def-use
optimize-modular-arithmetic
finalize
]
with-scope
;