pub fn eliminate_dead_code(graph: &mut IrGraph) -> usize
Remove nodes not reachable from any output. Returns count of removed nodes.