Documentation
Utility words used by CFG optimization

Words

Macro words
WordStack effect
apply-passes( passes -- quot: ( obj -- ) )


Ordinary words
WordStack effect
(skip-empty-blocks)( visited bb -- visited bb' )
<copy>( dst src -- insn )
back-edge?( from to -- ? )
block>cfg( bb -- cfg )
cfg-has-phis?( cfg -- ? )
connect-Nto1-bbs( froms to -- )
connect-bbs( from to -- )
each-non-phi( ... bb quot: ( ... insn -- ... ) -- ... )
each-phi( ... bb quot: ( ... ##phi -- ... ) -- ... )
empty-block?( bb -- ? )
has-phis?( bb -- ? )
heap-members( heap -- seq )
heap-pop-while( heap quot: ( key -- ? ) -- values )
if-has-phis( ..a bb quot: ( ..a bb -- ..b ) -- ..b )
insert-basic-block( from to insns -- )
insns>block( insns n -- bb )
insns>cfg( insns -- cfg )
loop-entry?( bb -- ? )
predecessor( bb -- pred )
skip-empty-blocks( bb -- bb' )
slurp/replenish-deque( ... deque quot: ( ... obj -- ... seq ) -- ... )
update-predecessors( from to bb -- )
update-successors( from to bb -- )


Files