]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/common.opt
separate shrink-wrap: New command-line flag, status flag, hooks, and doc
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Oct 2016 15:19:46 +0000 (15:19 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Oct 2016 15:19:46 +0000 (15:19 +0000)
commit9be10499533b6a6bfa5e48f9a9f0137aafe04c7d
tree2139db30e23ce186bfb8b73a5ad44c4cba876943
parent9b20a7726a36078e5ba523c56784598bea0d396c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241059 138bc75d-0d04-0410-961f-82ee72b054a4
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