Handbook
Glossary
optimize-cfg ( cfg -- )
Vocabulary
compiler
.
cfg
.
optimizer
Inputs
cfg
an
object
Outputs
None
Definition
USING:
compiler.cfg.alias-analysis
compiler.cfg.block-joining
compiler.cfg.branch-splitting
compiler.cfg.copy-prop
compiler.cfg.dce
compiler.cfg.ssa.construction
compiler.cfg.tco
compiler.cfg.useless-conditionals
compiler.cfg.utilities
compiler.cfg.value-numbering
;
IN:
compiler.cfg.optimizer
:
optimize-cfg
( cfg -- )
{
optimize-tail-calls
delete-useless-conditionals
split-branches
join-blocks
construct-ssa
alias-analysis
value-numbering
copy-propagation
eliminate-dead-code
}
apply-passes
;