bloqade.lanes.dialects.arch.stmts.Loc
← Module overview
class
classLoc¶source
bloqade.lanes.dialects.arch.stmts.Loc
Bases: ArchResolvedStmt
Construct a LocationAddress from a ``(zone, row, col)`` grid coordinate.
class LocResolved 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
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'loc' | |
traits | — | frozenset({ir.Pure(), lowering.FromPythonCall()}) | |
zone | ir.SSAValue | info.argument(types.Int) | |
row | ir.SSAValue | info.argument(types.Int) | |
col | ir.SSAValue | info.argument(types.Int) | |
result | ir.ResultValue | info.result(LocationAddressType) |