aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorMichael Hayes <mhayes@redhat.com>2001-01-01 00:14:30 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2001-01-01 00:14:30 +0000
commit8529a489d600279cd32ff2e1b243f17c3e6e951c (patch)
treefbcf4ecff631ebd616ca8a333bb022d2435e757b /gcc/loop.h
parent2b872543ba3c1398f8b84d905e58b02ee2353cde (diff)
downloadgcc-8529a489d600279cd32ff2e1b243f17c3e6e951c.zip
gcc-8529a489d600279cd32ff2e1b243f17c3e6e951c.tar.gz
gcc-8529a489d600279cd32ff2e1b243f17c3e6e951c.tar.bz2
loop.h (REGNO_FIRST_LUID, [...]): Define.
* 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. From-SVN: r38575
Diffstat (limited to 'gcc/loop.h')
-rw-r--r--gcc/loop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/loop.h b/gcc/loop.h
index 441d3a5..4687cdb 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