pub fn optimize_graph_with_stats(graph: &mut IrGraph) -> OptStats
Run all passes with detailed statistics.