This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: UNIQUE ID (INSN UID) Question
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Balaji V. Iyer" <bviyer at ncsu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 26 Jan 2008 12:17:53 +0100
- Subject: Re: UNIQUE ID (INSN UID) Question
- References: <007001c85fb3$471ce5c0$33160e98@ece.ncsu.edu>
On Jan 26, 2008 1:34 AM, Balaji V. Iyer <bviyer@ncsu.edu> wrote:
>
> Hello Everyone,
> I have a quick question regarding instruction unique ID in the RTL.
> Is this number unique for the function? or is it unique for the entire
> program that it is compiling?
>
>
> I would like to "mark" instructions and identify them, so can I use this
> value as a unique identifier for program level?
They are unique per function. In fact, RTL only exists for a single function
at a time.
Richard.