- use irg instead of current_ir_graph