weirflow 0.1.0

GPU-first dataflow analysis primitives for Vyre and Santh compiler pipelines.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use weir::live;
use weir::reaching_def_summary::fold_summary_partials;

#[test]
fn debug_empty_live() {
    let r = live::prepare_live_graph(0, &[0], &[], &[]);
    println!("live empty: {:?}", r);
}

#[test]
fn debug_summary() {
    let r = fold_summary_partials(&[1, 2]);
    println!("summary [1,2]: {:?}", r);
}