diff options
author | Ayal Zaks <zaks@il.ibm.com> | 2004-05-25 12:55:06 +0000 |
---|---|---|
committer | Mostafa Hagog <hagog@gcc.gnu.org> | 2004-05-25 12:55:06 +0000 |
commit | e56261981bc8ad88515fda18d846bf61bf6c2353 (patch) | |
tree | ba0032753f675cc964af30f84d718202207f1c63 /gcc/cfglayout.c | |
parent | 2f93eea8612d4ced2eeee52db5ce66bd75303455 (diff) | |
download | gcc-e56261981bc8ad88515fda18d846bf61bf6c2353.zip gcc-e56261981bc8ad88515fda18d846bf61bf6c2353.tar.gz gcc-e56261981bc8ad88515fda18d846bf61bf6c2353.tar.bz2 |
ddg.h, [...]: New files.
* ddg.h, ddg.c, modulo-sched.c: New files.
* cfglayout.c (duplicate_insn_chain): Remove "static" and push
internals to "dupicate_insn".
(duplicate_insn): New function.
* cfglayout.h (duplicate_insn_chain, duplicate_insn): New
declarations.
* common.opt (fmodulo-sched): New flag.
* df.c (df_bb_regno_last_use_find, df_bb_regno_first_def_find):
Remove static and forward declaration.
(df_find_def, df_reg_used, df_bb_regno_last_def_find): New
functions.
* df.h (df_bb_regno_last_use_find, df_bb_regno_first_def_find,
df_bb_regno_last_def_find, df_find_def, df_reg_used): New
declarations.
* flags.h (flag_modulo_sched): New flag.
* opts.c (common_handle_option): Handle modulo-sched flag.
* params.def (max-sms-loop-number, sms-max-ii-factor,
sms-dfa-history, sms-loop-average-count-threshold): New
parameters.
* params.h (MAX_SMS_LOOP_NUMBER, SMS_MAX_II_FACTOR,
SMS_DFA_HISTORY, SMS_LOOP_AVERAGE_COUNT_THRESHOLD): New
parameters.
* passes.c ("sms", "sms-vcg"): New dumps.
(rest_of_handle_sched): Call sms_schedule.
* rtl.h (sms_schedule): New declaration.
* timevar.def (TV_SMS): New.
* toplev.c (flag_modulo_sched): Initialize.
(f_options): Handle -fmodulo-sched option.
* docs/invoke.texi: Document -fmodulo-sched & -dm options.
* docs/passes.texi: Document new SMS pass.f toplev.c doc/invoke.texi doc/passes.texi
Co-Authored-By: Mostafa Hagog <mustafa@il.ibm.com>
From-SVN: r82235
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r-- | gcc/cfglayout.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 8a57c68..899aa1a 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -54,7 +54,6 @@ static void change_scope (rtx, tree, tree); void verify_insn_chain (void); static void fixup_fallthru_exit_predecessor (void); -static rtx duplicate_insn_chain (rtx, rtx); static tree insn_scope (rtx); static void update_unlikely_executed_notes (basic_block); @@ -973,7 +972,7 @@ cfg_layout_can_duplicate_bb_p (basic_block bb) return true; } -static rtx +rtx duplicate_insn_chain (rtx from, rtx to) { rtx insn, last; |