Skip to content

bloqade.lanes.rewrite.transversal.RewriteGetItem

← Module overview

classRewriteGetItemsource

bloqade.lanes.rewrite.transversal.RewriteGetItem

Bases: rewrite_abc.RewriteRule

Signature
class RewriteGetItem(transform_lane: Callable[[LocationAddress], Iterable[LocationAddress] | None])

Parameters

NameTypeDescription
transform_laneCallable[[LocationAddress], Iterable[LocationAddress] | None]

Attributes

NameTypeDescription
transform_laneCallable[[LocationAddress], Iterable[LocationAddress] | None]

methodrewrite_Statementsource

bloqade.lanes.rewrite.transversal.RewriteGetItem.rewrite_Statement

def rewrite_Statement(node: ir.Statement)

Parameters

NameTypeDescription
nodeir.Statement
source