separate shrink-wrap: New command-line flag, status flag, hooks, and doc
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 12 Oct 2016 15:19:46 +0000 (17:19 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 12 Oct 2016 15:19:46 +0000 (17:19 +0200)
commit20a6ece021473dc7f182b751bcbdaa6ad9762375
tree2139db30e23ce186bfb8b73a5ad44c4cba876943
parent56b31d3e8235beccc7ccf9fb534888a9ab949a0c
separate shrink-wrap: New command-line flag, status flag, hooks, and doc

This patch adds a new command-line flag "-fshrink-wrap-separate", a status
flag "shrink_wrapped_separate", hooks for abstracting the target components,
and documentation for all those.

* common.opt (-fshrink-wrap-separate): New flag.
* doc/invoke.texi: Document it.
* doc/tm.texi.in (Shrink-wrapping separate components): New subsection.
* doc/tm.texi: Regenerate.
* emit-rtl.h (struct rtl_data): New field shrink_wrapped_separate.
* target.def (shrink_wrap): New hook vector.
(get_separate_components, components_for_bb, disqualify_components,
emit_prologue_components, emit_epilogue_components,
set_handled_components): New hooks.

From-SVN: r241059
gcc/ChangeLog
gcc/common.opt
gcc/doc/invoke.texi
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/emit-rtl.h
gcc/target.def