diff options
author | crux <crux@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-14 18:36:18 +0000 |
---|---|---|
committer | crux <crux@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-14 18:36:18 +0000 |
commit | 1617c2760b30669bfd9368d928b5a082a99fb649 (patch) | |
tree | 096b43f896f53dc9a7da616fc0b4de3800ddcee1 /gcc/varray.h | |
parent | 166163adcbf7469c56e662765fd24054e4ab1511 (diff) | |
download | gcc-1617c2760b30669bfd9368d928b5a082a99fb649.tar.gz |
Add cselib; use it in loop and reload_cse_regs
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32538 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varray.h')
-rw-r--r-- | gcc/varray.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/varray.h b/gcc/varray.h index d08bfa94ca2..69482a9a315 100644 --- a/gcc/varray.h +++ b/gcc/varray.h @@ -76,6 +76,7 @@ typedef union varray_data_tag { struct reg_info_def *reg[1]; struct const_equiv_data const_equiv[1]; struct basic_block_def *bb[1]; + struct elt_list *te[1]; } varray_data; /* Virtual array of pointers header. */ @@ -152,6 +153,9 @@ extern varray_type varray_init PARAMS ((size_t, size_t, const char *)); #define VARRAY_BB_INIT(va, num, name) \ va = varray_init (num, sizeof (struct basic_block_def *), name) +#define VARRAY_ELT_LIST_INIT(va, num, name) \ + va = varray_init (num, sizeof (struct elt_list *), name) + /* Free up memory allocated by the virtual array, but do not free any of the elements involved. */ #define VARRAY_FREE(vp) \ @@ -219,6 +223,7 @@ extern void varray_check_failed PARAMS ((varray_type, size_t, #define VARRAY_REG(VA, N) VARRAY_CHECK (VA, N, reg) #define VARRAY_CONST_EQUIV(VA, N) VARRAY_CHECK (VA, N, const_equiv) #define VARRAY_BB(VA, N) VARRAY_CHECK (VA, N, bb) +#define VARRAY_ELT_LIST(VA, N) VARRAY_CHECK (VA, N, te) /* Push a new element on the end of VA, extending it if necessary. */ #define VARRAY_PUSH_CHAR(VA, X) VARRAY_PUSH (VA, c, X) |