GCC Middle and Back End API Reference
data-streamer-in.c File 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 ()

Function Documentation

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_indexed_string(), and len.

Referenced by bp_unpack_indexed_string().

const char* bp_unpack_string ( )
   Read a NULL terminated string from the string table in DATA_IN.  
gcov_type streamer_read_gcov_count ( )
   Read gcov_type value from IB.  

Referenced by input_cfg(), input_overwrite_node(), and ipa_profile_read_summary().

HOST_WIDE_INT streamer_read_hwi ( )
   Read a HOST_WIDE_INT number from IB.  

References HOST_BITS_PER_WIDE_INT, and HOST_WIDE_INT.

Referenced by input_cfg(), input_overwrite_node(), lto_init_eh(), and streamer_read_tree_bitfields().

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.  
const char* streamer_read_string ( )
   Read a NULL terminated string from the string table in DATA_IN.  
unsigned HOST_WIDE_INT streamer_read_uhwi ( )
   Read an unsigned HOST_WIDE_INT number from IB.  
     We check for section overrun after the fact for performance reason.  

Referenced by estimate_size_after_inlining(), input_cfg(), input_cgraph_1(), input_overwrite_node(), input_phi(), ipa_profile_read_summary(), lto_input_function_body(), lto_input_tree_ref(), lto_read_tree_1(), streamer_read_bitpack(), and streamer_write_hwi_in_range().

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.nosp@m.llo@.nosp@m.googl.nosp@m.e.co.nosp@m.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.  
     Get the string stored at location LOC in DATA_IN->STRINGS.