GCC Middle and Back End API Reference
|
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "backend.h"
#include "tree.h"
#include "gimple.h"
#include "cgraph.h"
#include "data-streamer.h"
#include "value-range.h"
#include "streamer-hooks.h"
const char * bp_unpack_indexed_string | ( | class data_in * | data_in, |
struct bitpack_d * | bp, | ||
unsigned int * | rlen ) |
Read a string from the string table in DATA_IN using the bitpack BP. Write the length to RLEN.
References bp_unpack_var_len_unsigned(), and string_for_index().
Referenced by bp_unpack_string(), and lto_input_mode_table().
Read a NULL terminated string from the string table in DATA_IN.
References bp_unpack_indexed_string(), internal_error(), and NULL.
Referenced by lto_location_cache::input_location_and_block(), and unpack_ts_translation_unit_decl_value_fields().
gcov_type streamer_read_gcov_count | ( | class lto_input_block * | ib | ) |
Read gcov_type value from IB.
References streamer_read_hwi().
Referenced by input_profile_summary(), ipa_profile_read_summary(), profile_count::stream_in(), and stream_in_histogram_value().
HOST_WIDE_INT streamer_read_hwi | ( | class lto_input_block * | ib | ) |
Read a HOST_WIDE_INT number from IB.
References HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT_1U, shift, and streamer_read_uchar().
Referenced by input_bb(), input_cfg(), input_edge(), input_eh_lp(), input_eh_region(), input_eh_regions(), input_gimple_stmt(), input_node(), input_node_opt_summary(), input_offload_tables(), input_ref(), input_struct_function_base(), input_varpool_node(), ipa_profile_read_edge_summary(), ipa_read_indirect_edge_info(), ipa_read_node_info(), ipa_reference_read_optimization_summary(), lto_input_toplevel_asms(), lto_input_tree_1(), omp_lto_input_declare_variant_alt(), ipa_polymorphic_call_context::stream_in(), modref_access_node::stream_in(), sreal::stream_in(), stream_in_histogram_value(), stream_read_tree_ref(), streamer_alloc_tree(), streamer_read_gcov_count(), streamer_read_poly_int64(), streamer_read_wide_int(), and streamer_read_widest_int().
const char * streamer_read_indexed_string | ( | class data_in * | data_in, |
class lto_input_block * | ib, | ||
unsigned int * | rlen ) |
Read a string from the string table in DATA_IN using input block IB. Write the length to RLEN.
References streamer_read_uhwi(), and string_for_index().
Referenced by input_identifier(), streamer_read_string(), and streamer_read_string_cst().
poly_int64 streamer_read_poly_int64 | ( | class lto_input_block * | ib | ) |
Read a poly_int64 from IB.
References poly_int_read_common(), and streamer_read_hwi().
Referenced by modref_access_node::stream_in().
poly_uint64 streamer_read_poly_uint64 | ( | class lto_input_block * | ib | ) |
Read a poly_uint64 from IB.
References poly_int_read_common(), and streamer_read_uhwi().
void streamer_read_real_value | ( | class lto_input_block * | ib, |
REAL_VALUE_TYPE * | r ) |
Read REAL_VALUE_TYPE from IB.
References bp_unpack_real_value(), r, and streamer_read_bitpack().
Referenced by streamer_read_value_range().
const char * streamer_read_string | ( | class data_in * | data_in, |
class lto_input_block * | ib ) |
Read a NULL terminated string from the string table in DATA_IN.
References internal_error(), NULL, and streamer_read_indexed_string().
Referenced by ipa_odr_read_section(), and lto_read_tree_1().
unsigned HOST_WIDE_INT streamer_read_uhwi | ( | class lto_input_block * | ib | ) |
Read an unsigned HOST_WIDE_INT number from IB.
References lto_input_block::data, lto_input_block::len, lto_section_overrun(), lto_input_block::p, and shift.
Referenced by bp_unpack_value(), inline_read_section(), input_bb(), input_cfg(), input_cgraph_opt_section(), input_eh_region(), input_function(), input_gimple_stmt(), input_node(), input_node_opt_summary(), input_phi(), input_profile_summary(), input_refs(), input_ssa_names(), input_struct_function_base(), ipa_odr_read_section(), ipa_profile_read_summary(), ipa_profile_read_summary_section(), ipa_prop_read_section(), ipa_read_edge_info(), ipa_read_jump_function(), ipa_read_node_info(), ipa_reference_read_optimization_summary(), lto_input_fn_decl_ref(), lto_input_scc(), lto_input_tree_1(), lto_input_tree_ref(), lto_input_var_decl_ref(), lto_read_tree_1(), pure_const_read_summary(), read_ipa_call_summary(), read_ipcp_transformation_info(), read_replacements_section(), ipa_icf::sem_item_optimizer::read_section(), ipa_predicate::stream_in(), modref_access_node::stream_in(), profile_count::stream_in(), profile_probability::stream_in(), thunk_info::stream_in(), stream_in_histogram_value(), streamer_alloc_tree(), streamer_get_pickled_tree(), streamer_read_bitpack(), streamer_read_hwi_in_range(), streamer_read_indexed_string(), streamer_read_poly_uint64(), streamer_read_value_range(), streamer_read_wide_int(), streamer_read_widest_int(), and string_for_index().
void streamer_read_value_range | ( | class lto_input_block * | ib, |
data_in * | data_in, | ||
value_range & | vr ) |
References as_a(), bool, bp_unpack_value(), gcc_checking_assert, gcc_unreachable, i, is_a< frange >(), is_a< irange >(), is_a< prange >(), r, REAL_VALUE_TYPE, value_range::set_type(), stream_read_tree, streamer_read_bitpack(), streamer_read_enum, streamer_read_real_value(), streamer_read_uhwi(), streamer_read_wide_int(), VR_LAST, VR_NAN, and VR_UNDEFINED.
Referenced by ipa_vr::streamer_read().
wide_int streamer_read_wide_int | ( | class lto_input_block * | ib | ) |
Read the physical representation of a wide_int val from input block IB.
References a, wide_int_storage::from_array(), i, streamer_read_hwi(), streamer_read_uhwi(), UNLIKELY, and WIDE_INT_MAX_INL_ELTS.
Referenced by ipa_odr_read_section(), and streamer_read_value_range().
widest_int streamer_read_widest_int | ( | class lto_input_block * | ib | ) |
Read the physical representation of a widest_int val from input block IB.
References a, i, streamer_read_hwi(), streamer_read_uhwi(), UNLIKELY, and WIDE_INT_MAX_INL_ELTS.
Referenced by input_cfg().
|
static |
Routines for restoring various data types from a file stream. This deals with various data types like strings, integers, enums, etc. 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/>.
Read a string from the string table in DATA_IN using input block IB. Write the length to RLEN.
References internal_error(), NULL, lto_input_block::p, streamer_read_uhwi(), data_in::strings, and data_in::strings_len.
Referenced by bp_unpack_indexed_string(), and streamer_read_indexed_string().