compiler.tree.dead-code.simple vocabulary
Factor handbook ยป Vocabulary index


Summary
Dead code elimination for straight-line code

Words

Ordinary words
WordStack effect
(simplify-call)( #call -- new-word/f )
dead-flushable-call?( #call -- ? )
define-simplifications( word seq -- )
drop-dead-outputs( node -- #shuffle )
drop-dead-values( outputs -- #shuffle )
drop-values( inputs outputs mapping-keys mapping-values -- #shuffle )
filter-corresponding( new old -- old' )
filter-live( values -- values' )
filter-mapping( assoc -- assoc' )
flushable-call?( #call -- ? )
look-at-mapping( value inputs outputs -- )
maybe-drop-dead-outputs( node -- nodes )
out-d-matches?( out-d seq -- ? )
remove-flushable-call( #call -- node )
simplify-call( #call -- nodes )
some-outputs-dead?( #call -- ? )


Files


Metadata files