Expand description
Live-variable analysis (DF-2 backward variant).
Prepare a graph for backward live-variable closure:
use weir::live::prepare_live_graph;
let graph = prepare_live_graph(
2,
&[0, 1, 1],
&[1],
&[0xFFFF_FFFF],
).unwrap();
assert_eq!(graph.node_count(), 2);Structs§
- Live
Family - Liveness
- Marker type for the live-variables dataflow primitive.
Functions§
- live_
closure_ borrowed_ into_ result_ with_ scratch_ via - live_
closure_ borrowed_ into_ via - live_
closure_ borrowed_ into_ with_ scratch_ via - live_
closure_ borrowed_ via - live_
closure_ plan_ borrowed_ into_ result_ with_ scratch_ via - live_
closure_ plan_ borrowed_ into_ with_ scratch_ via - live_
closure_ prepared_ borrowed_ into_ result_ with_ scratch_ via - live_
closure_ prepared_ borrowed_ into_ with_ scratch_ via - live_
closure_ resident_ plan_ with_ backend_ scratch - live_
closure_ resident_ plan_ with_ backend_ scratch_ into - live_
closure_ resident_ plan_ with_ reusable_ frontier_ scratch - live_
closure_ resident_ plan_ with_ reusable_ frontier_ scratch_ into - live_
closure_ resident_ plan_ with_ reusable_ frontier_ scratch_ sequence_ window - live_
closure_ resident_ plan_ with_ reusable_ frontier_ scratch_ sequence_ window_ into - live_
closure_ resident_ plan_ with_ scratch - live_
closure_ resident_ plan_ with_ scratch_ into - live_
closure_ via - live_
step - Build one backward live-variable propagation step over a reversed graph.
- prepare_
live_ graph - Prepare invariant reversed-control graph buffers once for live analysis.
- prepare_
live_ graph_ into - Repack invariant live-variable graph buffers into an existing prepared graph.
- prepare_
live_ graph_ into_ with_ scratch - Repack invariant live-variable graph buffers into an existing prepared graph using caller-owned scratch for the reverse CSR build.
- prepare_
live_ graph_ with_ scratch - Prepare invariant reversed-control graph buffers once using caller-owned scratch for the reverse CSR build.
- prepare_
live_ plan - Prepare invariant live graph buffers and emitted Program once.
- prepare_
live_ plan_ into - Repack live-variable graph buffers and refresh the emitted Program in place.
- prepare_
live_ plan_ into_ with_ scratch - Repack live-variable graph buffers and refresh the emitted Program in place using caller-owned scratch for the reverse CSR build.
- prepare_
live_ plan_ with_ scratch - Prepare invariant live graph buffers and emitted Program once using caller-owned scratch for the reverse CSR build.