compiler.cfg.value-numbering.*: new docs

locals-and-roots
Björn Lindqvist 2016-05-24 17:20:39 +02:00
parent 9fac53989a
commit 249483fc4f
3 changed files with 18 additions and 1 deletions

View File

@ -7,7 +7,7 @@ HELP: >test-branch
HELP: rewrite-into-test?
{ $values { "insn" insn } { "?" boolean } }
{ $description "Whether the comparison instruction can be rewritten into a test instruction." } ;
{ $description "Whether the comparison instruction can be trivially rewritten into a test instruction." } ;
ARTICLE: "compiler.cfg.value-numbering.comparisons" "Comparisons GVN"
"Optimizations performed here:"

View File

@ -0,0 +1,6 @@
USING: compiler.cfg.instructions help.markup help.syntax kernel ;
IN: compiler.cfg.value-numbering.math
HELP: diagonal?
{ $values { "insn" insn } { "?" boolean } }
{ $description "Whether the two inputs to the 'insn' performing a binary operation has the same value number or not." } ;

View File

@ -0,0 +1,11 @@
USING: help.markup help.syntax kernel math ;
IN: compiler.cfg.value-numbering.rewrite
HELP: vreg-immediate-arithmetic?
{ $values { "vreg" "vreg" } { "?" boolean } }
{ $description "Checks if the 'vreg' is an immediate value in " { $link fixnum } " range." } ;
ARTICLE: "compiler.cfg.value-numbering.rewrite" "Value numbering utilities"
"Value numbering utilities" ;
ABOUT: "compiler.cfg.value-numbering.rewrite"