luaur_code_gen/functions/
compute_cfg_info.rs1use crate::functions::compute_cfg_block_edges::compute_cfg_block_edges;
2use crate::functions::compute_cfg_dominance_tree_children::compute_cfg_dominance_tree_children;
3use crate::functions::compute_cfg_immediate_dominators::compute_cfg_immediate_dominators;
4use crate::functions::compute_cfg_live_in_out_reg_sets::compute_cfg_live_in_out_reg_sets;
5use crate::records::ir_function::IrFunction;
6
7pub fn compute_cfg_info(function: &mut IrFunction) {
8 compute_cfg_block_edges(function);
9 compute_cfg_immediate_dominators(function);
10 compute_cfg_dominance_tree_children(function);
11 compute_cfg_live_in_out_reg_sets(function);
12}