compiler.cfg.value-numbering.*: new docs
							parent
							
								
									9fac53989a
								
							
						
					
					
						commit
						249483fc4f
					
				| 
						 | 
				
			
			@ -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:"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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." } ;
 | 
			
		||||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
		Loading…
	
		Reference in New Issue