Analysis
ObservableIdxAnalysis
Bases: ForwardExtra[ObservableIdxFrame, EmptyLattice]
flowchart TD
bloqade.analysis.observable_idx.analysis.ObservableIdxAnalysis[ObservableIdxAnalysis]
click bloqade.analysis.observable_idx.analysis.ObservableIdxAnalysis href "" "bloqade.analysis.observable_idx.analysis.ObservableIdxAnalysis"
Assigns lexical-order observable indices to SetObservable statements.
Lightweight Forward analysis whose only job is to number SetObservable statements consistently across rewrite stages. Runs cheaply on EmptyLattice (no per-SSA tracking, no convergence work beyond the trivial). Both SetObservablePartial and ResolveSetAnnotate read indices from the produced frame to share a single observable-index namespace.