This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Index Variables ..
- To: gcc-help at gcc dot gnu dot org
- Subject: Index Variables ..
- From: AJ <jadeja at cyberspace dot org>
- Date: Fri, 4 May 2001 06:56:29 -0400 (EDT)
Hi,
I need to find the variable name that maps to a particular
register. Is there any way for me to do that?
I would like to find a list of all the statements in a loop that
are used to manipulate ONLY the index variable. Also need to take care of
nested loops. What place in the core compiler would be the best for me to
add code for doing that or is there some code I could reuse?
Would just checking if the register used for index computation is
being used as the destination be sufficient? Do I need to worry about
anything else.
Please Help.
TIA.
Best Regards,
AJ