This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Register Usage - RTL Expression
- From: Revital1 Eres <ERES at il dot ibm dot com>
- To: "Rohit Arul Raj" <rohitarulraj at gmail dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 30 Oct 2006 16:14:49 +0200
- Subject: Re: Register Usage - RTL Expression
gcc-owner@gcc.gnu.org wrote on 30/10/2006 15:25:09:
> Hi all,
>
> I am working with GCC Cross compiler 4.1.1. I just some information
> regarding the following:
>
> 1. How does the life1 pass gets the register usage information from
> the gcse pass?
AFAICT life1 pass calculates the live registers from scratch.
It stores the information in each basic block.
> 2. From which other passes and how, the information about registers
> used can be determined by looking at the RTL dump of the corresponding
> pass?
You can look at 'registers live:' information
in the beginning of each basic-block in the dumps (if it is available).
Revital