GCC Middle and Back End API Reference
run-rtl-passes.cc File Reference
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "target.h"
#include "rtl.h"
#include "function.h"
#include "basic-block.h"
#include "tree-pass.h"
#include "context.h"
#include "pass_manager.h"
#include "bitmap.h"
#include "df.h"
#include "regs.h"
#include "output.h"
#include "debug.h"
#include "insn-attr-common.h"
#include "insn-attr.h"
#include "run-rtl-passes.h"
Include dependency graph for run-rtl-passes.cc:

Functions

void run_rtl_passes (char *initial_pass_name)
 

Function Documentation

◆ run_rtl_passes()

void run_rtl_passes ( char * initial_pass_name)
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(), ggc_alloc(), max_reg_num(), max_regno, NULL, PROP_rtl, reg_obstack, switch_to_section(), and text_section.