pystencils.backend.ast.axes.PsLoopAxis

pystencils.backend.ast.axes.PsLoopAxis#

class pystencils.backend.ast.axes.PsLoopAxis(range, body)#

Loop axis.

Will be lowered to a for-loop.

Parameters:
can_hoist: bool = True#

Whether or not this axis type is subject to iteration-invariant code motion.

If set to False, the HoistIterationInvariantDeclarations pass will ignore this axis type.

_clone_structural()#

Implementation of structural node cloning.

Return type:

PsStructuralNode