pystencils.backend.ast.axes.PsLoopAxis#
- class pystencils.backend.ast.axes.PsLoopAxis(range, body)#
Loop axis.
Will be lowered to a
for-loop.- Parameters:
range (PsAxisRange)
body (PsBlock)
-
can_hoist:
bool= True# Whether or not this axis type is subject to iteration-invariant code motion.
If set to
False, theHoistIterationInvariantDeclarationspass will ignore this axis type.
- _clone_structural()#
Implementation of structural node cloning.
- Return type:
PsStructuralNode