run-rtl-passes.cc - Run RTL passes directly from frontend
Copyright (C) 2016-2024 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>.
Run the backend passes, starting at the given pass.
Take ownership of INITIAL_PASS_NAME.
References gcc_debug_hooks::assembly_start, bitmap_obstack_initialize(), bitmap_obstack_release(), cfun, clean_slate, debug_hooks, execute_pass_list(), free(), g, gcc_assert, gcc::pass_manager::get_clean_slate(), gcc::context::get_passes(), gcc::pass_manager::get_rest_of_compilation(), max_reg_num(), max_regno, NULL, PROP_rtl, reg_obstack, switch_to_section(), and text_section.