GCC Middle and Back End API Reference
|
Functions | |
const char * | string_for_index () |
const char * | streamer_read_indexed_string (struct data_in *data_in, struct lto_input_block *ib, unsigned int *rlen) |
const char * | streamer_read_string () |
const char * | bp_unpack_indexed_string (struct data_in *data_in, struct bitpack_d *bp, unsigned int *rlen) |
const char * | bp_unpack_string () |
unsigned HOST_WIDE_INT | streamer_read_uhwi () |
HOST_WIDE_INT | streamer_read_hwi () |
gcov_type | streamer_read_gcov_count () |
const char* bp_unpack_indexed_string | ( | struct 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().
const char* bp_unpack_string | ( | ) |
Read a NULL terminated string from the string table in DATA_IN.
References bp_unpack_indexed_string(), internal_error(), and len.
Referenced by unpack_ts_translation_unit_decl_value_fields().
gcov_type streamer_read_gcov_count | ( | ) |
Read gcov_type value from IB.
References streamer_read_hwi().
Referenced by input_bb(), input_cfg(), input_edge(), input_node(), input_profile_summary(), ipa_profile_read_summary(), and stream_in_histogram_value().
HOST_WIDE_INT streamer_read_hwi | ( | ) |
Read a HOST_WIDE_INT number from IB.
References HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT, 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_ref(), input_struct_function_base(), input_varpool_node(), ipa_read_indirect_edge_info(), ipa_read_node_info(), ipa_reference_read_optimization_summary(), lto_input_toplevel_asms(), lto_input_tree_1(), stream_in_histogram_value(), streamer_alloc_tree(), and streamer_read_gcov_count().
const char* streamer_read_indexed_string | ( | struct data_in * | data_in, |
struct 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().
const char* streamer_read_string | ( | ) |
Read a NULL terminated string from the string table in DATA_IN.
References internal_error(), len, and streamer_read_indexed_string().
Referenced by streamer_get_builtin_tree().
unsigned HOST_WIDE_INT streamer_read_uhwi | ( | ) |
Read an unsigned HOST_WIDE_INT number from IB.
References lto_input_block::data, HOST_WIDE_INT, len, 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(), input_varpool_node(), ipa_profile_read_summary(), ipa_prop_read_section(), ipa_read_jump_function(), ipa_read_node_info(), ipa_reference_read_optimization_summary(), lto_input_scc(), lto_input_tree_1(), lto_input_tree_ref(), pure_const_read_summary(), read_agg_replacement_chain(), read_inline_edge_summary(), read_predicate(), read_replacements_section(), stream_in_histogram_value(), streamer_alloc_tree(), streamer_get_builtin_tree(), streamer_get_pickled_tree(), streamer_read_bitpack(), streamer_read_hwi_in_range(), streamer_read_indexed_string(), and string_for_index().
const char* string_for_index | ( | ) |
@verbatim Routines for restoring various data types from a file stream. This deals
with various data types like strings, integers, enums, etc.
Copyright (C) 2011-2013 Free Software Foundation, Inc. Contributed by Diego Novillo dnovi llo@ googl e.co m
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(), len, lto_input_block::p, streamer_read_uhwi(), data_in::strings, and data_in::strings_len.
Referenced by bp_unpack_indexed_string(), lto_input_location(), and streamer_read_indexed_string().