Skip to content

control_flow

is_axis_for(node, axis)

Returns true if node is a For over the given axis.

is_axis_map(node, axis)

Returns true if node is a Map over the given axis.

is_cartesian_loop(node)

Returns true if the given node is a map or for loop over a cartesian axis.

is_off_grid_conditional(node)

Conditional is off-grid if the code block does not refer to the cartesian symbols

is_off_grid_tasklet(node)

Tasklet processing arrays not indexed by cartesian symbols