<br><br><div class="gmail_quote">On Mon, Aug 16, 2010 at 7:42 PM, Bob Wilson <span dir="ltr"><<a href="mailto:bob.wilson@apple.com">bob.wilson@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On Aug 16, 2010, at 7:24 PM, Mark Lacey wrote:<br>
<br>
> I have read through the TableGen Fundamentals documentation and been browsing various .td files. One thing that is not clear to me is where things like $src1 (as in GR32:$src1) are defined, and what they mean. The TableGen Fundamentals page seems silent on this, and I have not found other documentation that explains it. Browsing through the .td files has not helped, either (although that has been quite useful to clarify things that are not spelled out in detail on the TableGen Fundamentals page).<br>

<br>
</div>It's not entirely clear what you're referring to, but in general, those are just arbitrary operand names.  They are defined and used within the instruction patterns.  If that doesn't help, perhaps you could post a specific example that you're having trouble with.</blockquote>
</div><br>I think I might have answered my own question with a little more browsing and your mention of "arbitrary operand names". It appears that the syntax here is recordkind:$name where 'recordkind' has been previously defined, and 'name' is just a descriptive name attached to a particular dag node input, which may (or may not) be referred to later in the definition of the current record.<br>
<br>Is that correct?<br><br>Mark<br><br>