GCC Middle and Back End API Reference
|
#include "tree-streamer.h"
Go to the source code of this file.
Functions | |
void | input_bb (class lto_input_block *, enum LTO_tags, class data_in *, struct function *, int) |
void | output_bb (struct output_block *, basic_block, struct function *) |
void input_bb | ( | class lto_input_block * | ib, |
enum LTO_tags | tag, | ||
class data_in * | data_in, | ||
struct function * | fn, | ||
int | count_materialization_scale ) |
Data structures and functions for streaming GIMPLE. Copyright (C) 2011-2024 Free Software Foundation, Inc. Contributed by Diego Novillo <dnovillo@google.com> 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/>.
In gimple-streamer-in.cc
Read a basic block with tag TAG from DATA_IN using input block IB. FN is the function being processed.
References add_stmt_to_eh_lp(), profile_count::apply_scale(), BASIC_BLOCK_FOR_FN, cfun, basic_block_def::count, basic_block_def::flags, gcc_assert, gsi_insert_after(), GSI_NEW_STMT, gsi_start_bb(), input_gimple_stmt(), input_phi(), profile_count::ipa(), LTO_bb0, LTO_eh_region, LTO_null, lto_tag_check_set(), profile_count::nonzero_p(), REG_BR_PROB_BASE, profile_count::stream_in(), streamer_read_hwi(), streamer_read_record_start(), and streamer_read_uhwi().
Referenced by input_function().
void output_bb | ( | struct output_block * | ob, |
basic_block | bb, | ||
struct function * | fn ) |
In gimple-streamer-out.cc
Output a basic block BB to the main stream in OB for this FN.
References basic_block_def::count, basic_block_def::flags, gimple_phi_result(), gsi_end_p(), gsi_next(), gsi_start_bb(), gsi_start_phis(), gsi_stmt(), basic_block_def::index, lookup_stmt_eh_lp_fn(), LTO_bb0, LTO_bb1, LTO_eh_region, LTO_null, output_gimple_stmt(), output_phi(), phi_nodes(), print_gimple_stmt(), profile_count::stream_out(), streamer_dump_file, streamer_write_hwi(), streamer_write_record_start(), streamer_write_uhwi(), TDF_SLIM, and virtual_operand_p().
Referenced by output_function().