diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-11 14:44:43 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-11 14:44:43 +0000 |
commit | 45844fba558d9cd2d3f302d6075d63341c22c477 (patch) | |
tree | 66574671f93758ef60b73e400bdf79190a95ce9f /gcc/sched-int.h | |
parent | 29583316940d5e79244acf013fb8ce1f772d2c9e (diff) | |
download | gcc-45844fba558d9cd2d3f302d6075d63341c22c477.tar.gz |
2009-05-11 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r147379
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@147380 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r-- | gcc/sched-int.h | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h index f7a54b67127..1b6a0345a01 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -1,7 +1,8 @@ /* Instruction scheduling pass. This file contains definitions used internally in the scheduler. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + Free Software Foundation, Inc. This file is part of GCC. @@ -425,6 +426,24 @@ enum reg_pending_barrier_mode TRUE_BARRIER }; +/* Whether a register movement is associated with a call. */ +enum post_call_group +{ + not_post_call, + post_call, + post_call_initial +}; + +/* Insns which affect pseudo-registers. */ +struct deps_reg +{ + rtx uses; + rtx sets; + rtx clobbers; + int uses_length; + int clobbers_length; +}; + /* Describe state of dependencies used during sched_analyze phase. */ struct deps { @@ -488,7 +507,7 @@ struct deps /* Used to keep post-call pseudo/hard reg movements together with the call. */ - enum { not_post_call, post_call, post_call_initial } in_post_call_group_p; + enum post_call_group in_post_call_group_p; /* The maximum register number for the following arrays. Before reload this is max_reg_num; after reload it is FIRST_PSEUDO_REGISTER. */ @@ -498,14 +517,7 @@ struct deps N within the current basic block; or zero, if there is no such insn. Needed for new registers which may be introduced by splitting insns. */ - struct deps_reg - { - rtx uses; - rtx sets; - rtx clobbers; - int uses_length; - int clobbers_length; - } *reg_last; + struct deps_reg *reg_last; /* Element N is set for each register that has any nonzero element in reg_last[N].{uses,sets,clobbers}. */ |