Displaying 2 results from an estimated 2 matches for "setdag".
Did you mean:
seldag
2020 Oct 11
2
Manipulating DAGs in TableGen
...rand 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, index2, value2, ...)
This bang operator creates a copy of the top-level dag node and
then replaces the operator and/or operands with new values. Each
replacement is specified by an index and a value. The new dag
is produced.
The two new...
2020 Oct 13
5
Manipulating DAGs in TableGen
...t 10:47 AM Madhur Amilkanthwar
<madhur13490 at gmail.com> wrote:
> What do you guys think about the below enhancements?
>
> 5. !getdagrestype(dag [, index]) - Returns type of result value. If the DAG computes multiple values then return type of 'index'th result.
>
> 6. !setdagrestype(dag target_dag, type T [, index]) - Set return type of target_dag to T. Use of 'index' is as in 5.(Coupled with the existing (or enhanced?) foreach construct we can construct multiple DAGs with different return types.)
>
> .7 !setdagchild(dag target_dag, dag new_dag, index) - S...