GCC Middle and Back End API Reference
run-rtl-passes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void run_rtl_passes (char *initial_pass_name)
 

Function Documentation

◆ run_rtl_passes()

void run_rtl_passes ( char * initial_pass_name)
extern
run-rtl-passes.h - Run a subset of the RTL passes Copyright (C) 2016-2025 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-rtl-passes.cc - Run RTL passes directly from frontend Copyright (C) 2016-2025 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 bitmap_obstack_initialize(), bitmap_obstack_release(), cfun, clean_slate, debug_hooks, execute_pass_list(), free(), g, gcc_assert, max_reg_num(), max_regno, NULL, PROP_rtl, reg_obstack, switch_to_section(), and text_section.