Displaying 2 results from an estimated 2 matches for "getdag".
2020 Oct 11
2
Manipulating DAGs in TableGen
...operator/operand by a string containing its
variable name
If the item does not exist, ? (uninitialized) is produced.
Note that multiple value suffixes are allowed, so, for example,
DagList[i](1) would produce the first operand of the i-th dag
in the list.
2. Add the !getdag() bang operator.
!getdag(dag, index [, default])
This bang operator produces the same result as the (...) suffix.
However, the default value can be specified as the third argument.
If it is not specified, ? is used.
3. Add the !setdag bang operator.
!setdag(dag, index1, value1, i...
2020 Oct 12
2
Manipulating DAGs in TableGen
...eply nested children).
------------------------------------
Agreed.
>> If the item does not exist, ? (uninitialized) is produced.
>
>I think it would be better for this to fail instead (i.e., not fold
>and produce an error at final resolution). Especially since you
>propose !getdag below.
----------------------------------------
Agreed.
>> 2. Add the !getdag() bang operator.
>>
>> !getdag(dag, index [, default])
>>
>> This bang operator produces the same result as the (...) suffix.
>> However, the default value can be specified...