compiler.tree.def-use vocabulary
Factor handbook ยป Vocabulary index


Documentation
Def/use chain construction

Metadata
Parents:compiler.tree
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
definition tuplevalue node uses
multiple-defs-error tuple
no-def-error tuplevalue


Generic words
WordStack effect
node-defs-values( node -- values )
node-uses-values( node -- values )


Symbol words
def-use


Ordinary words
WordStack effect
(def-of)( value def-use -- definition )
(def-value)( node value def-use -- )
<definition>( node value -- definition )
compute-def-use( node -- node )
def-of( value -- definition )
def-value( node value -- )
def-values( node values -- )
defined-by( value -- node )
multiple-defs-error( -- * )
no-def-error( value -- * )
node-def-use( node -- )
use-value( node value -- )
use-values( node values -- )
used-by( value -- nodes )


Class predicate words
WordStack effect
definition?( object -- ? )
multiple-defs-error?( object -- ? )
no-def-error?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
compiler.tree.def-use.simplifiedVariant form of def-use chains used by modular arithmetic optimization