Skip to content

bloqade.lanes.dialects.stack_move.Dup

← Module overview

classDupsource

bloqade.lanes.dialects.stack_move.Dup

Bases: ir.Statement

Duplicate the top of the virtual stack. Semantically result ≡ value; preserved as an explicit op to give downstream passes a hook for non-cloning invariants.

class Dup

Attributes

NameTypeDefaultDescription
traits—frozenset({lowering.FromPythonCall(), ir.Pure()})
valueir.SSAValueinfo.argument(T)
resultir.ResultValueinfo.result(T)