From 38109dab82b39697d2a062dda597e01446a72c15 Mon Sep 17 00:00:00 2001 From: Gabor Loki Date: Mon, 16 Jan 2006 15:56:47 +0000 Subject: rtl-factoring.c: Add sequence abstraction algorithm. 2006-01-16 Gabor Loki * rtl-factoring.c : Add sequence abstraction algorithm. * cfgcleanup.c (outgoing_edges_match): Extra checks. (try_crossjump_to_edge): Avoid deleting preserve label when redirecting ABNORMAL edges. (block_has_preserve_label): New function. * common.opt: Register new pass. * Makefile.in: Ditto. * passes.c: Ditto. * timevar.def: Ditto. * tree-pass.h: Ditto. * emit-rtl.c (make_jump_insn_raw): Remove forward decl. * rtl.h (make_jump_insn_raw): Add forward decl. * doc/invoke.texi: Add documentation for -frtl-abstract-sequences. From-SVN: r109750 --- gcc/doc/invoke.texi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gcc/doc/invoke.texi') diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 032f3ad..97914537 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -326,7 +326,8 @@ Objective-C and Objective-C++ Dialects}. -fregmove -frename-registers @gol -freorder-blocks -freorder-blocks-and-partition -freorder-functions @gol -frerun-cse-after-loop -frerun-loop-opt @gol --frounding-math -fschedule-insns -fschedule-insns2 @gol +-frounding-math -frtl-abstract-sequences @gol +-fschedule-insns -fschedule-insns2 @gol -fno-sched-interblock -fno-sched-spec -fsched-spec-load @gol -fsched-spec-load-dangerous @gol -fsched-stalled-insns=@var{n} -fsched-stalled-insns-dep=@var{n} @gol @@ -5530,6 +5531,14 @@ Future versions of GCC may provide finer control of this setting using C99's @code{FENV_ACCESS} pragma. This command line option will be used to specify the default state for @code{FENV_ACCESS}. +@item -frtl-abstract-sequences +@opindex frtl-abstract-sequences +It is a size optimization method. This option is to find identical +sequences of code, which can be turned into pseudo-procedures and +then replace all occurrences with calls to the newly created +subroutine. It is kind of an opposite of @option{-finline-functions}. +This optimization runs at RTL level. + @item -fsignaling-nans @opindex fsignaling-nans Compile code assuming that IEEE signaling NaNs may generate user-visible -- cgit v1.1