Each opt node takes at least three inputs (two as operands and the other one serves as predication).
The corresponding execution fires only when the two predicate bits (each at the tail of an operand) and the predication is true.
Branch (br) leads to a predication ctrl flow. Note that multiple branches can point to the same location. Therefore, the hardware should support or for them (i.e., the basicblock (BB) can fire whenever a branch reaches it).
Distinguish ctrl and data flow in the generated the .png.
Blue and red arrows.
Enable JSON input format to parameterize the arch & kernel.
true
.br
) leads to a predication ctrl flow. Note that multiple branches can point to the same location. Therefore, the hardware should supportor
for them (i.e., the basicblock (BB
) can fire whenever a branch reaches it)..png
.JSON
input format to parameterize the arch & kernel.nlohmann/json
.