Displaying 2 results from an estimated 2 matches for "parseidvalue".
2020 Aug 04
2
TableGen trace facility
Are all the records collected as they are parsed, with template parameter substitution and lets, and *then*, after all records are collected, a "pass" is made to calculate the inter-field expressions?
Once I understand this, I will add a section to the new guide to explain it. I presume it is the case that this behavior should be publicized.
It also appears to be the case that a record
2020 Aug 05
2
TableGen trace facility
...u
> can write:
> >
> > class A <dag d> {
> > dag the_dag = d;
> > }
> >
> > def rec1 : A<(ops rec1)>
> >
> > Do I understand that correctly?
>
> Almost :)
>
> In reality, this is allowed as a special-case by
> TGParser::ParseIDValue, whose purpose is looking up identifiers. See
> the comment about self-references towards the bottom of the method.
>
> Cheers,
> Nicolai
>
>
> >
> > At 8/4/2020 05:38 PM, Nicolai Hähnle wrote:
> > >On Tue, Aug 4, 2020 at 11:13 PM Paul C. Anagnostopoulos
>...