summaryrefslogtreecommitdiff
path: root/gcc/regs.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-12-27 20:21:34 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-12-27 20:21:34 +0000
commit52b01c8a60afcaddfea7bebbae6c790f157d80cd (patch)
tree86d9a0aa4a25d986d34dc3fbcd5f2b12934290ed /gcc/regs.h
parentd4c332ffa62e663e4f889e250b9ef03d041ecbde (diff)
downloadgcc-52b01c8a60afcaddfea7bebbae6c790f157d80cd.tar.gz
(reg_rtx_no, regno_pointer_{flag_length,align): New decls.
(REGNO_POINTER_ALIGN): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10866 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regs.h')
-rw-r--r--gcc/regs.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/regs.h b/gcc/regs.h
index daa012e95b5..17293d68497 100644
--- a/gcc/regs.h
+++ b/gcc/regs.h
@@ -1,5 +1,5 @@
/* Define per-register tables for data flow info and register allocation.
- Copyright (C) 1987, 1993, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -136,12 +136,23 @@ extern int *regno_last_uid;
extern int *regno_last_note_uid;
+/* This is reset to LAST_VIRTUAL_REGISTER + 1 at the start of each function.
+ After rtl generation, it is 1 plus the largest register number used. */
+
+extern int reg_rtx_no;
+
/* Vector indexed by regno; contains 1 for a register is considered a pointer.
Reloading, etc. will use a pointer register rather than a non-pointer
as the base register in an address, when there is a choice of two regs. */
extern char *regno_pointer_flag;
#define REGNO_POINTER_FLAG(REGNO) regno_pointer_flag[REGNO]
+extern int regno_pointer_flag_length;
+
+/* Similarly, contains the alignment in bytes for a register that contains
+ a pointer, if known. */
+extern char *regno_pointer_align;
+#define REGNO_POINTER_ALIGN(REGNO) regno_pointer_align[REGNO]
/* List made of EXPR_LIST rtx's which gives pairs of pseudo registers
that have to go in the same hard reg. */