Use ir_print_visitor to dump IR tree