SSA operand interface change proposal
Andrew MacLeod
amacleod@redhat.com
Tue Jun 15 19:13:00 GMT 2004
On Tue, 2004-06-15 at 15:03, Zdenek Dvorak wrote:
> Hello,
>
> > > how are the immediate uses of the ssa name represented?
> > >
> >
> > The use operands have immeidate_use nodes which are doubly linked list
> > off the SSA_NAME node. So linking in and out is fast and painless.
>
> do they provide just a pointer to the statement where they are used,
> or also to use_operand_ptr? The later would be very nice, for the
> performance reasons.
>
You have access to both, the use node directly via the use_operand_p (no
more searching!!!!) and also the stmt pointer it is a part of.
Andrew
More information about the Gcc
mailing list