diff options
author | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-25 00:38:09 +0000 |
---|---|---|
committer | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-25 00:38:09 +0000 |
commit | 7bc9de799b0ce95672dc58618ad5e6f289f516a6 (patch) | |
tree | c49627cb58a453d050405ec2e4b537b3fd07b649 /gcc/loop.h | |
parent | 23718fc7da88cecb4ee32da40f01d4e9d7bdbe17 (diff) | |
download | gcc-7bc9de799b0ce95672dc58618ad5e6f289f516a6.tar.gz |
2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* loop.h (LOOP_INFO): New accessor macro.
* basic-block.h (struct loop): Rename field `info' to `aux'.
* loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
(prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
* unroll.c (loop_iterations, unroll_loop): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31596 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/loop.h b/gcc/loop.h index 8c46653b6db..10a7131685a 100644 --- a/gcc/loop.h +++ b/gcc/loop.h @@ -21,6 +21,9 @@ Boston, MA 02111-1307, USA. */ #include "varray.h" #include "basic-block.h" +/* Get the loop info pointer of a loop. */ +#define LOOP_INFO(LOOP) ((struct loop_info *) (LOOP)->aux) + /* Get the luid of an insn. Catch the error of trying to reference the LUID of an insn added during loop, since these don't have LUIDs. */ |