diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-30 19:25:49 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-30 19:25:49 +0000 |
commit | c7b4d9b2f01b8cf46a73a12fe5b67a9c947f71f8 (patch) | |
tree | 7bba91477b083c590808e6d2b1df353f8eabf850 /gcc/target.def | |
parent | 7d3126c95f9915410f1ea929356482696cec6b80 (diff) | |
download | gcc-c7b4d9b2f01b8cf46a73a12fe5b67a9c947f71f8.tar.gz |
PR rtl-optimization/38449:
* hooks.c (hook_bool_const_rtx_const_rtx_true): New function.
* hooks.h (hook_bool_const_rtx_const_rtx_true): Declare.
* target.def: Merge in definitions and documentation for
TARGET_CAN_FOLLOW_JUMP.
* doc/tm.texi.in: Add documentation locations for the above.
* doc/tm.texi: Regenerate.
* reorg.c (follow_jumps): New parameters jump and crossing.
Changed all callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191878 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.def')
-rw-r--r-- | gcc/target.def | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/target.def b/gcc/target.def index 8922c783e04..2d79290b311 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -1350,6 +1350,17 @@ DEFHOOK bool, (void), hook_bool_void_false) +/* True if FOLLOWER may be modified to follow FOLLOWEE. */ +DEFHOOK +(can_follow_jump, + "FOLLOWER and FOLLOWEE are JUMP_INSN instructions;\ + return true if FOLLOWER may be modified to follow FOLLOWEE;\ + false, if it can't.\ + For example, on some targets, certain kinds of branches can't be made to\ + follow through a hot/cold partitioning.", + bool, (const_rtx follower, const_rtx followee), + hook_bool_const_rtx_const_rtx_true) + /* Return a register class for which branch target register optimizations should be applied. */ DEFHOOK |