Skip to content

bloqade.lanes.dialects.arch.stmts.Loc

← Module overview

classLocsource

bloqade.lanes.dialects.arch.stmts.Loc

Bases: ArchResolvedStmt

Construct a LocationAddress from a ``(zone, row, col)`` grid coordinate.

class Loc

Resolved against the architecture’s addressing scheme (ArchSpec.location_at) once arch_spec is bound by BindArchSpec; zone / row / col must be compile-time constants.

Attributes

NameTypeDefaultDescription
name—'loc'
traits—frozenset({ir.Pure(), lowering.FromPythonCall()})
zoneir.SSAValueinfo.argument(types.Int)
rowir.SSAValueinfo.argument(types.Int)
colir.SSAValueinfo.argument(types.Int)
resultir.ResultValueinfo.result(LocationAddressType)