This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: UNIQUE ID (INSN UID) Question


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]