sched-int.h (struct _haifa_deps_insn_data): New members cond and reverse_cond.
authorBernd Schmidt <bernds@codesourcery.com>
Fri, 27 May 2011 14:17:36 +0000 (14:17 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 27 May 2011 14:17:36 +0000 (14:17 +0000)
commitb0bd15f7aa9e9eecc4d97f6c0165c32c3055922e
treec11396d3bdf8e3a81e9606d61321ebfaf8526942
parentf90aae43b8261a69582d438c98157dc1632b6685
sched-int.h (struct _haifa_deps_insn_data): New members cond and reverse_cond.

* sched-int.h (struct _haifa_deps_insn_data): New members cond
and reverse_cond.
(INSN_COND, INSN_REVERSE_COND): New macros.
* sched-deps.c (deps_analyze_insn): Call sched_get_condition_with_rev
once.
(sched_get_condition_with_rev): Cache the results, and look them up
if possible.
(sched_analyze_insn): Destroy INSN_COND of previous insns if they
are clobbered by the current insn.
* target.def (exposed_pipline): New sched data hook.
* doc/tm.texi.in: TARGET_SCHED_EXPOSED_PIPELINE: Add hook.
* doc/tm.texi: Regenerate.

From-SVN: r174336
gcc/ChangeLog
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/sched-deps.c
gcc/sched-int.h
gcc/target.def