factor/basis/compiler/cfg/scheduling/scheduling-docs.factor

11 lines
592 B
Factor

USING: compiler.cfg compiler.cfg.height help.markup help.syntax sequences ;
IN: compiler.cfg.scheduling
HELP: number-insns
{ $values { "insns" sequence } }
{ $description "Assigns a sequence number to the " { $slot "insn#" } " slot of each instruction in the sequence." } ;
HELP: schedule-instructions
{ $values { "cfg" cfg } { "cfg'" cfg } }
{ $description "Performs a instruction scheduling optimization pass over the CFG to attempt to reduce the number of spills. The step must be performed after " { $link normalize-height } " or else invalid peeks might be inserted into the CFG." } ;