bloqade.lanes.passes.ASAPPlacePass
← Module overview
class
method
source
classASAPPlacePass¶source
bloqade.lanes.passes.ASAPPlacePass
Bases: passes.Pass
ASAP scheduling optimization for the place dialect.
class ASAPPlacePassMerges all adjacent StaticPlacement blocks, reorders gates by ASAP dependency scheduling, then fuses adjacent compatible gates.
debug.Info statements are stripped at the start of this pass.
ASAP scheduling cannot reorder across opaque debug nodes, so they must
be removed before the merge/reorder/fuse sequence. Use
SequentialPlacePass if debug statements must be preserved.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
name | str | 'asap_place' |
methodunsafe_run¶source
bloqade.lanes.passes.ASAPPlacePass.unsafe_run
def unsafe_run(mt: ir.Method) -> RewriteResultParameters
| Name | Type | Description |
|---|---|---|
mt | ir.Method |
Returns
RewriteResult