This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Identifying Array References later
- To: gcc-help at gcc dot gnu dot org
- Subject: Identifying Array References later
- From: Guilherme Ottoni <ottoni at ic dot unicamp dot br>
- Date: Mon, 04 Jun 2001 16:46:40 -0300
Hi,
I want to implement in GCC an optimization which makes a more efficient
use of address registers with (pre|pos)-(increment|decrement)
facilities.
The optimization is applied to arrays addressing inside loops, and I
need to keep the array references together (eg, a[i+2]) in the RTL
representation through many compiler passes, until the point where my
optimization will take place. The idea is to make it easier to identify
the array references when needed.
Does anyone have any suggestion on how I can do this?
Thanks,
--
Guilherme Ottoni
CS MSc Student
IC-Unicamp / Brazil
http://www.ic.unicamp.br/~ottoni