| 
									
										
										
										
											2010-04-27 10:51:00 -04:00
										 |  |  | ! Copyright (C) 2008, 2010 Slava Pestov. | 
					
						
							| 
									
										
										
										
											2008-10-22 19:41:37 -04:00
										 |  |  | ! See http://factorcode.org/license.txt for BSD license. | 
					
						
							| 
									
										
										
										
											2014-12-10 17:40:45 -05:00
										 |  |  | USING: | 
					
						
							|  |  |  | compiler.cfg.alias-analysis | 
					
						
							| 
									
										
										
										
											2009-07-16 03:17:58 -04:00
										 |  |  | compiler.cfg.block-joining | 
					
						
							| 
									
										
										
										
											2014-12-10 17:40:45 -05:00
										 |  |  | compiler.cfg.branch-splitting | 
					
						
							|  |  |  | compiler.cfg.copy-prop | 
					
						
							|  |  |  | compiler.cfg.dce | 
					
						
							| 
									
										
										
										
											2009-07-28 10:34:08 -04:00
										 |  |  | compiler.cfg.ssa.construction | 
					
						
							| 
									
										
										
										
											2014-12-10 17:40:45 -05:00
										 |  |  | compiler.cfg.tco | 
					
						
							|  |  |  | compiler.cfg.useless-conditionals | 
					
						
							|  |  |  | compiler.cfg.utilities | 
					
						
							| 
									
										
										
										
											2008-10-22 22:59:07 -04:00
										 |  |  | compiler.cfg.value-numbering | 
					
						
							| 
									
										
										
										
											2014-12-07 21:36:52 -05:00
										 |  |  | kernel sequences ;
 | 
					
						
							| 
									
										
										
										
											2008-10-22 19:41:37 -04:00
										 |  |  | IN: compiler.cfg.optimizer | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-12-11 15:48:43 -05:00
										 |  |  | : optimize-cfg ( cfg -- )
 | 
					
						
							|  |  |  |     { | 
					
						
							| 
									
										
										
										
											2014-12-07 21:36:52 -05:00
										 |  |  |         optimize-tail-calls | 
					
						
							|  |  |  |         delete-useless-conditionals | 
					
						
							|  |  |  |         split-branches | 
					
						
							|  |  |  |         join-blocks | 
					
						
							|  |  |  |         construct-ssa | 
					
						
							|  |  |  |         alias-analysis | 
					
						
							|  |  |  |         value-numbering | 
					
						
							|  |  |  |         copy-propagation | 
					
						
							|  |  |  |         eliminate-dead-code | 
					
						
							| 
									
										
										
										
											2014-12-10 17:40:45 -05:00
										 |  |  |     } apply-passes ;
 |