GCC Middle and Back End API Reference
|
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | WIDE_INT_PRINT_BUFFER_SIZE (WIDE_INT_MAX_INL_PRECISION / 4 + 4) |
Functions | |
void | print_dec (const wide_int_ref &wi, char *buf, signop sgn) |
void | print_dec (const wide_int_ref &wi, FILE *file, signop sgn) |
void | print_decs (const wide_int_ref &wi, char *buf) |
void | print_decs (const wide_int_ref &wi, FILE *file) |
void | print_decu (const wide_int_ref &wi, char *buf) |
void | print_decu (const wide_int_ref &wi, FILE *file) |
void | print_hex (const wide_int_ref &wi, char *buf) |
void | print_hex (const wide_int_ref &wi, FILE *file) |
void | pp_wide_int_large (pretty_printer *, const wide_int_ref &, signop) |
bool | print_dec_buf_size (const wide_int_ref &wi, signop sgn, unsigned int *len) |
bool | print_decs_buf_size (const wide_int_ref &wi, unsigned int *len) |
bool | print_decu_buf_size (const wide_int_ref &wi, unsigned int *len) |
bool | print_hex_buf_size (const wide_int_ref &wi, unsigned int *len) |
#define WIDE_INT_PRINT_BUFFER_SIZE (WIDE_INT_MAX_INL_PRECISION / 4 + 4) |
Print wide integers. Copyright (C) 2013-2024 Free Software Foundation, Inc. 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/>.
Referenced by do_warn_aggressive_loop_optimizations(), irange_bitmask::dump(), go_output_typedef(), print_dec_buf_size(), print_decs(), print_decu(), print_hex(), print_hex_buf_size(), and print_irange_bitmasks().
|
extern |
Print larger precision wide_int. Not defined as inline in a header together with pp_wide_int because XALLOCAVEC will make it uninlinable.
References pp_string(), print_dec(), and print_dec_buf_size().
|
extern |
Printing functions.
References print_decs(), print_decu(), and SIGNED.
Referenced by canon_address(), curr_insn_transform(), debug_reload_to_stream(), do_warn_aggressive_loop_optimizations(), modref_access_node::dump(), dump_dec(), dump_reg_info(), dump_stack_var_partition(), extr_type_from_vtbl_ptr_store(), fixup_debug_use(), ira_sort_regnos_for_alter_reg(), lra_process_new_insns(), lra_spill(), pp_wide_int_large(), print_aff(), print_elim_table(), print_node(), print_node_brief(), print_range(), rtx_writer::print_rtx(), pair_fusion_bb_info::track_access(), and pair_fusion_bb_info::track_via_mem_expr().
|
extern |
References print_decs(), print_decu(), and SIGNED.
|
inline |
References HOST_BITS_PER_WIDE_INT, wi::neg_p(), UNLIKELY, UNSIGNED, WIDE_INT_MAX_HWIS, and WIDE_INT_PRINT_BUFFER_SIZE.
Referenced by do_warn_aggressive_loop_optimizations(), pp_wide_int_large(), print_decs_buf_size(), and print_decu_buf_size().
|
extern |
Try to print the signed self in decimal to BUF.
References HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_UNSIGNED, wi::neg_p(), print_decu(), and SIGNED.
Referenced by all_phi_incrs_profitable_1(), dequeue_and_dump(), dump_candidate(), dump_dref(), dump_incr_vec(), output_addr_const(), print_dec(), print_dec(), and print_decs().
|
extern |
Try to print the signed self in decimal to FILE.
References print_decs(), print_decs_buf_size(), and WIDE_INT_PRINT_BUFFER_SIZE.
|
inline |
References print_dec_buf_size(), and SIGNED.
Referenced by print_decs().
|
extern |
Try to print the unsigned self in decimal to BUF.
References wi::divmod_trunc(), wi::gtu_p(), HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_UC, i, wi::neg_p(), PRIu64, r, generic_wide_int< storage >::to_uhwi(), and UNSIGNED.
Referenced by discover_iteration_bound_by_body_walk(), pass_walloca::execute(), number_of_iterations_cond(), print_dec(), print_dec(), print_decs(), print_decu(), print_loop_info(), record_estimate(), and should_interchange_loops().
|
extern |
Try to print the signed self in decimal to FILE.
References print_decu(), print_decu_buf_size(), and WIDE_INT_PRINT_BUFFER_SIZE.
|
inline |
References print_dec_buf_size(), and UNSIGNED.
Referenced by print_decu().
|
extern |
References wi::extract_uhwi(), HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT_PRINT_HEX_PURE, HOST_WIDE_INT_PRINT_PADDED_HEX, i, and ROUND_DOWN.
Referenced by irange_bitmask::dump(), dump_generic_node(), dump_hex(), dump_lattice_value(), go_output_typedef(), ipcp_store_vr_results(), ipcp_update_vr(), ipcp_bits_lattice::print(), print_hex(), and print_irange_bitmasks().
|
extern |
Print one big hex number to FILE. Note that some assemblers may not accept this for large modes.
References print_hex(), print_hex_buf_size(), and WIDE_INT_PRINT_BUFFER_SIZE.
|
inline |
References HOST_BITS_PER_WIDE_INT, wi::neg_p(), UNLIKELY, WIDE_INT_MAX_HWIS, and WIDE_INT_PRINT_BUFFER_SIZE.
Referenced by irange_bitmask::dump(), dump_generic_node(), print_hex(), and print_irange_bitmasks().