aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@st.com>2005-07-07 11:48:15 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2005-07-07 12:48:15 +0100
commit8ddf681af74e5404974fb47b0b9874de49a3b07d (patch)
treee7a18c9a6876b4eaa648b82269a93800d9c41279 /gcc/targhooks.h
parent6d057022743cd9dd0e46c494f0d9449cb7e5aad0 (diff)
downloadgcc-8ddf681af74e5404974fb47b0b9874de49a3b07d.zip
gcc-8ddf681af74e5404974fb47b0b9874de49a3b07d.tar.gz
gcc-8ddf681af74e5404974fb47b0b9874de49a3b07d.tar.bz2
hooks.c (hook_bool_rtx_int_false): New function.
* hooks.c (hook_bool_rtx_int_false): New function. * hooks.h (hook_bool_rtx_int_false): Declare. * target-def.h (TARGET_COMMUTATIVE_P): Define. (TARGET_INITIALIZER): Add TARGET_COMMUTATIVE_P. * target.h (struct gcc_target): Add commutative_p member. * targhooks.c (hook_bool_rtx_commutative_p): New function. * targhooks.h (hook_bool_rtx_commutative_p): Declare. * pa.c (TARGET_COMMUTATIVE_P): Redefine. (pa_commutative_p): New function. * jump.c (target.h): Include. (rtx_renumbered_equal_p): Use targetm.commutative_p. * doc/tm.texi: Document TARGET_COMMUTATIVE_P. From-SVN: r101706
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r--gcc/targhooks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index 80c49c8..ad52648 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -66,3 +66,4 @@ extern int hook_int_CUMULATIVE_ARGS_mode_tree_bool_0
(CUMULATIVE_ARGS *, enum machine_mode, tree, bool);
extern const char *hook_invalid_arg_for_unprototyped_fn
(tree, tree, tree);
+extern bool hook_bool_rtx_commutative_p (rtx, int);