diff options
author | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-01 00:14:30 +0000 |
---|---|---|
committer | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-01 00:14:30 +0000 |
commit | 23e52523089ace013e66309eef8bbd03fa2b7dce (patch) | |
tree | fbcf4ecff631ebd616ca8a333bb022d2435e757b /gcc/loop.h | |
parent | 43f006d8ddf2b64f2a7c4497902af8c20f5feaf1 (diff) | |
download | gcc-23e52523089ace013e66309eef8bbd03fa2b7dce.tar.gz |
* loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
* loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
direct access to uid_luid array.
* unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38575 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/loop.h b/gcc/loop.h index 441d3a5b58d..4687cdba786 100644 --- a/gcc/loop.h +++ b/gcc/loop.h @@ -44,6 +44,10 @@ Boston, MA 02111-1307, USA. */ (INSN_UID (INSN) < max_uid_for_loop ? uid_luid[INSN_UID (INSN)] \ : (abort (), -1)) +#define REGNO_FIRST_LUID(REGNO) uid_luid[REGNO_FIRST_UID (REGNO)] +#define REGNO_LAST_LUID(REGNO) uid_luid[REGNO_LAST_UID (REGNO)] + + /* A "basic induction variable" or biv is a pseudo reg that is set (within this loop) only by incrementing or decrementing it. */ /* A "general induction variable" or giv is a pseudo reg whose |