GCC Middle and Back End API Reference
data-streamer.cc File 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 dependency graph for data-streamer.cc:

Functions

void bp_pack_var_len_unsigned (struct bitpack_d *bp, unsigned HOST_WIDE_INT work)
 
void bp_pack_var_len_int (struct bitpack_d *bp, HOST_WIDE_INT work)
 
unsigned HOST_WIDE_INT bp_unpack_var_len_unsigned (struct bitpack_d *bp)
 
HOST_WIDE_INT bp_unpack_var_len_int (struct bitpack_d *bp)
 
void bp_pack_real_value (struct bitpack_d *bp, const REAL_VALUE_TYPE *r)
 
void bp_unpack_real_value (struct bitpack_d *bp, REAL_VALUE_TYPE *r)
 

Function Documentation

◆ bp_pack_real_value()

void bp_pack_real_value ( struct bitpack_d * bp,
const REAL_VALUE_TYPE * r )
Pack REAL_VALUE_TYPE R into BP.   

References bp_pack_value(), EXP_BITS, ggc_alloc(), HOST_BITS_PER_LONG, i, r, and SIGSZ.

Referenced by pack_ts_real_cst_value_fields(), and streamer_write_real_value().

◆ bp_pack_var_len_int()

void bp_pack_var_len_int ( struct bitpack_d * bp,
HOST_WIDE_INT work )
Pack WORK into BP in a variant of sleb format.   

References bp_pack_value(), and ggc_alloc().

Referenced by pack_ts_fixed_cst_value_fields(), and pack_ts_int_cst_value_fields().

◆ bp_pack_var_len_unsigned()

void bp_pack_var_len_unsigned ( struct bitpack_d * bp,
unsigned HOST_WIDE_INT work )
Generic streaming support for basic data types.

   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/>.   
Pack WORK into BP in a variant of uleb format.   

References bp_pack_value(), and ggc_alloc().

Referenced by bp_pack_string(), bp_pack_string_with_length(), lto_output_edge(), lto_output_location_1(), output_cfg(), output_gimple_stmt(), pack_ts_decl_common_value_fields(), pack_ts_type_common_value_fields(), and streamer_write_tree_bitfields().

◆ bp_unpack_real_value()

void bp_unpack_real_value ( struct bitpack_d * bp,
REAL_VALUE_TYPE * r )
Unpack REAL_VALUE_TYPE R from BP.   

References bp_unpack_value(), EXP_BITS, ggc_alloc(), HOST_BITS_PER_LONG, i, r, and SIGSZ.

Referenced by streamer_read_real_value(), and unpack_ts_real_cst_value_fields().

◆ bp_unpack_var_len_int()

HOST_WIDE_INT bp_unpack_var_len_int ( struct bitpack_d * bp)
Unpack VAL from BP in a variant of sleb format.   

References bp_unpack_value(), ggc_alloc(), HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT_1U, and shift.

Referenced by unpack_ts_fixed_cst_value_fields(), and unpack_ts_int_cst_value_fields().

◆ bp_unpack_var_len_unsigned()