diff options
author | Adrian Straetling <straetling@de.ibm.com> | 2005-05-25 11:52:13 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2005-05-25 11:52:13 +0000 |
commit | a71a498df01ba32349bed4e72631433be1ff4a2a (patch) | |
tree | f896023adb7eb858c67b994bbe4eac93db8874ba /gcc/targhooks.h | |
parent | be62afb4d55d42c776c13a70800f3d0300f9bb6a (diff) | |
download | gcc-a71a498df01ba32349bed4e72631433be1ff4a2a.zip gcc-a71a498df01ba32349bed4e72631433be1ff4a2a.tar.gz gcc-a71a498df01ba32349bed4e72631433be1ff4a2a.tar.bz2 |
loop-doloop.c: Include "target.h".
2005-05-25 Adrian Straetling <straetling@de.ibm.com>
* loop-doloop.c: Include "target.h".
(doloop_valid_p): Move tests to function in targhooks.c.
* target.h (struct gcc_target): New target hook
"insn_valid_within_doloop".
* target-def.h: Define default value for "insn_valid_within_doloop".
(TARGET_INITIALIZER): Insert new target hook into initializer.
* targhooks.c (default_insn_valid_within_doloop): New function.
* targhooks.h (default_insn_valid_within_doloop): Declare.
* hooks.c (hook_bool_rtx_true): New function.
* hooks.h (hook_bool_rtx_true): Declare.
* doc/tm.texi: Add documentation for new target hook.
From-SVN: r100143
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r-- | gcc/targhooks.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h index ae6cf53..b4906ae 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -46,6 +46,8 @@ extern void default_unwind_emit (FILE *, rtx); extern bool default_scalar_mode_supported_p (enum machine_mode); +extern bool default_insn_valid_within_doloop (rtx); + /* These are here, and not in hooks.[ch], because not all users of hooks.h include tm.h, and thus we don't have CUMULATIVE_ARGS. */ |