GCC Middle and Back End API Reference
tree-pretty-print.h File Reference
#include "pretty-print.h"
Include dependency graph for tree-pretty-print.h:

Go to the source code of this file.

Macros

#define pp_unsupported_tree(PP, T)
 
#define pp_ti_abstract_origin(TI)   ((tree *) (TI)->m_data)
 

Functions

void debug_generic_expr (tree)
 
void debug_generic_stmt (tree)
 
void debug_tree_chain (tree)
 
void print_generic_decl (FILE *, tree, dump_flags_t)
 
void print_generic_stmt (FILE *, tree, dump_flags_t=TDF_NONE)
 
void print_generic_stmt_indented (FILE *, tree, dump_flags_t, int)
 
void print_generic_expr (FILE *, tree, dump_flags_t=TDF_NONE)
 
char * print_generic_expr_to_str (tree)
 
void dump_omp_clauses (pretty_printer *, tree, int, dump_flags_t, bool=true)
 
void dump_omp_atomic_memory_order (pretty_printer *, enum omp_memory_order)
 
void dump_omp_loop_non_rect_expr (pretty_printer *, tree, int, dump_flags_t)
 
void print_omp_context_selector (FILE *, tree, dump_flags_t)
 
int dump_generic_node (pretty_printer *, tree, int, dump_flags_t, bool)
 
void print_declaration (pretty_printer *, tree, int, dump_flags_t)
 
int op_code_prio (enum tree_code)
 
int op_prio (const_tree)
 
const char * op_symbol_code (enum tree_code, dump_flags_t=TDF_NONE)
 
void pretty_print_string (pretty_printer *, const char *, size_t)
 
void print_call_name (pretty_printer *, tree, dump_flags_t)
 
void pp_tree_identifier (pretty_printer *, tree)
 
void dump_function_header (FILE *, tree, dump_flags_t)
 
void pp_double_int (pretty_printer *pp, double_int d, bool uns)
 
void dump_location (pretty_printer *pp, location_t loc)
 

Macro Definition Documentation

◆ pp_ti_abstract_origin

#define pp_ti_abstract_origin ( TI)    ((tree *) (TI)->m_data)

Referenced by set_inlining_locations().

◆ pp_unsupported_tree

#define pp_unsupported_tree ( PP,
T )
Value:
pp_verbatim (PP, "%qs not supported by %s", \
void pp_verbatim(pretty_printer *pp, const char *msg,...)
Definition pretty-print.cc:2215
#define __FUNCTION__
Definition system.h:747
const char * get_tree_code_name(enum tree_code code)
Definition tree.cc:12781
#define TREE_CODE(NODE)
Definition tree.h:324
Various declarations for language-independent pretty-print
   subroutines that are only for use in the compilers proper and not
   the driver or other programs.
   Copyright (C) 2002-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/>.   

Function Documentation

◆ debug_generic_expr()

◆ debug_generic_stmt()

◆ debug_tree_chain()

void debug_tree_chain ( tree t)
extern
Debugging function to print out a chain of trees .   

References hash_set< KeyId, Lazy, Traits >::add(), print_generic_expr(), TDF_MEMSYMS, TDF_UID, TDF_VOPS, and TREE_CHAIN.

◆ dump_function_header()

◆ dump_generic_node()

int dump_generic_node ( pretty_printer * pp,
tree node,
int spc,
dump_flags_t flags,
bool is_stmt )
extern
Dump the node NODE on the pretty_printer PP, SPC spaces of
indent.  FLAGS specifies details to show in the dump (see TDF_* in
dumpfile.h).  If IS_STMT is true, the object printed is considered
to be a statement and it is terminated by ';' if appropriate.   

References ADDR_SPACE_GENERIC_P, annot_expr_ivdep_kind, annot_expr_maybe_infinite_kind, annot_expr_no_vector_kind, annot_expr_parallel_kind, annot_expr_unroll_kind, annot_expr_vector_kind, array_ref_element_size(), array_ref_low_bound(), ASM_CLOBBERS, ASM_INPUTS, ASM_OUTPUTS, ASM_STRING, ASM_VOLATILE_P, BIND_EXPR_BODY, BIND_EXPR_VARS, BINFO_TYPE, CALL_EXPR_FN, CALL_EXPR_IFN, call_expr_nargs, CALL_EXPR_RETURN_SLOT_OPT, CALL_EXPR_STATIC_CHAIN, CALL_EXPR_TAILCALL, CALL_EXPR_VA_ARG_PACK, CASE_CONVERT, CASE_HIGH, CASE_LOW, CATCH_BODY, CATCH_TYPES, CHAR_TYPE_SIZE, CHREC_LEFT, CHREC_NOWRAP, CHREC_RIGHT, CHREC_VARIABLE, CLOBBER_KIND, CLOBBER_OBJECT_BEGIN, CLOBBER_OBJECT_END, CLOBBER_STORAGE_BEGIN, CLOBBER_STORAGE_END, COMPARISON_CLASS_P, component_ref_field_offset(), COND_EXPR_COND, COND_EXPR_ELSE, COND_EXPR_THEN, CONSTRUCTOR_ELTS, CONSTRUCTOR_NELTS, DECL_CHAIN, DECL_EXPR_DECL, DECL_IS_UNDECLARED_BUILTIN, DECL_NAME, DECL_NAMELESS, DECL_NONLOCAL, DECL_P, DECL_UID, dump_array_domain(), dump_block_node(), dump_decl_name(), dump_fancy_name(), dump_function_declaration(), dump_generic_node(), dump_location(), dump_mem_ref(), dump_omp_atomic_memory_order(), dump_omp_clauses(), dump_omp_loop_non_rect_expr(), EH_FILTER_FAILURE, EH_FILTER_TYPES, error_mark_node, exact_log2(), EXPR_HAS_LOCATION, EXPR_LOCATION, EXPR_P, fixed_to_decimal(), FOR_EACH_CALL_EXPR_ARG, FOR_EACH_CONSTRUCTOR_ELT, gcc_assert, gcc_unreachable, get_tree_code_name(), GOTO_DESTINATION, i, IDENTIFIER_POINTER, INT_TYPE_SIZE, integer_type_node, integer_zerop(), INTEGRAL_TYPE_P, internal_fn_name(), IS_EMPTY_STMT, LABEL_DECL_UID, LONG_LONG_TYPE_SIZE, long_long_unsigned_type_node, LONG_TYPE_SIZE, long_unsigned_type_node, LOOP_EXPR_BODY, more_call_expr_args_p(), MR_DEPENDENCE_CLIQUE, wi::neg_p(), newline_and_indent(), NIY, NULL, NULL_TREE, NUM_POLY_INT_COEFFS, OACC_CACHE_CLAUSES, OACC_DATA_CLAUSES, OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES, OACC_EXIT_DATA_CLAUSES, OACC_HOST_DATA_CLAUSES, OACC_UPDATE_CLAUSES, obj_type_ref_class(), OBJ_TYPE_REF_EXPR, OBJ_TYPE_REF_OBJECT, OBJ_TYPE_REF_TOKEN, OMP_ATOMIC_MEMORY_ORDER, OMP_ATOMIC_WEAK, OMP_BODY, OMP_CLAUSES, OMP_CRITICAL_CLAUSES, OMP_CRITICAL_NAME, OMP_FOR_BODY, OMP_FOR_CLAUSES, OMP_FOR_COND, OMP_FOR_INCR, OMP_FOR_INIT, OMP_FOR_PRE_BODY, OMP_MASKED_CLAUSES, OMP_ORDERED_CLAUSES, OMP_PARALLEL_CLAUSES, OMP_SCAN_CLAUSES, OMP_SCOPE_CLAUSES, OMP_SECTIONS_CLAUSES, OMP_SINGLE_CLAUSES, OMP_TARGET_CLAUSES, OMP_TARGET_DATA_CLAUSES, OMP_TARGET_ENTER_DATA_CLAUSES, OMP_TARGET_EXIT_DATA_CLAUSES, OMP_TARGET_UPDATE_CLAUSES, OMP_TASK_BODY, OMP_TASK_CLAUSES, OMP_TASKGROUP_CLAUSES, OMP_TEAMS_CLAUSES, op_prio(), op_symbol(), POINTER_TYPE_P, POLY_INT_CST_COEFF, pow2p_hwi(), pp_arrow, pp_buffer(), pp_character(), pp_colon, pp_colon_colon, pp_comma, pp_decimal_int, pp_dot, pp_equal, pp_greater, pp_left_brace, pp_left_bracket, pp_left_paren, pp_minus, pp_newline(), pp_question, pp_right_brace, pp_right_bracket, pp_right_paren, pp_scalar, pp_semicolon, pp_space, pp_string(), pp_tree_identifier(), pp_underscore, pp_unsigned_wide_integer, pp_wide_integer(), PREDICT_EXPR_OUTCOME, PREDICT_EXPR_PREDICTOR, predictor_name(), pretty_print_string(), print_call_name(), print_declaration(), print_hex(), print_hex_buf_size(), print_struct_decl(), real_to_decimal(), REAL_VALUE_ISINF, REAL_VALUE_ISNAN, REAL_VALUE_NEGATIVE, REAL_VALUE_TYPE, SHORT_TYPE_SIZE, si, sizetype, SSA_NAME_IDENTIFIER, SSA_NAME_IS_DEFAULT_DEF, SSA_NAME_OCCURS_IN_ABNORMAL_PHI, SSA_NAME_VAR, SSA_NAME_VERSION, SWITCH_BODY, SWITCH_COND, TARGET_EXPR_INITIAL, TARGET_EXPR_SLOT, tcc_declaration, tcc_type, TDF_COMPARE_DEBUG, TDF_GIMPLE, TDF_GIMPLE_VAL, TDF_LINENO, TDF_NOUID, TDF_SLIM, TDF_STMTADDR, wi::to_wide(), wi::to_widest(), TRANSACTION_EXPR_BODY, TRANSACTION_EXPR_OUTER, TRANSACTION_EXPR_RELAXED, TREE_CHAIN, TREE_CLOBBER_P, TREE_CODE, TREE_CODE_CLASS, tree_fits_shwi_p(), tree_fits_uhwi_p(), TREE_FIXED_CST_PTR, TREE_IMAGPART, TREE_INT_CST_LOW, tree_int_cst_sgn(), TREE_OPERAND, TREE_OVERFLOW, TREE_PURPOSE, TREE_REAL_CST, TREE_REALPART, TREE_STRING_LENGTH, TREE_STRING_POINTER, tree_to_poly_uint64(), tree_to_shwi(), tree_to_uhwi(), TREE_TYPE, TREE_VALUE, TREE_VEC_ELT, TREE_VEC_LENGTH, tsi_end_p(), tsi_next(), tsi_start(), tsi_stmt(), type(), TYPE_ADDR_SPACE, TYPE_ALIGN, TYPE_DOMAIN, TYPE_IDENTIFIER, TYPE_MAIN_VARIANT, TYPE_METHOD_BASETYPE, TYPE_MIN_VALUE, TYPE_MODE, TYPE_NAME, TYPE_PRECISION, TYPE_QUAL_ATOMIC, TYPE_QUAL_CONST, TYPE_QUAL_RESTRICT, TYPE_QUAL_VOLATILE, TYPE_QUALS, TYPE_REF_CAN_ALIAS_ALL, TYPE_SATURATING, TYPE_SIGN, TYPE_SIZE, TYPE_SIZE_UNIT, TYPE_UID, TYPE_UNSIGNED, TYPE_VECTOR_SUBPARTS(), UNLIKELY, unsigned_type_node, VECTOR_CST_ELT, vector_cst_encoded_nelts(), VECTOR_CST_NELTS, virtual_method_call_p(), and void_type_node.

Referenced by default_tree_printer(), do_niy(), dump_array_domain(), dump_binary_rhs(), dump_block_node(), dump_function_declaration(), dump_generic_node(), dump_gimple_asm(), dump_gimple_assign(), dump_gimple_assume(), dump_gimple_call(), dump_gimple_call_args(), dump_gimple_cond(), dump_gimple_fmt(), dump_gimple_label(), dump_gimple_mem_ops(), dump_gimple_omp_atomic_load(), dump_gimple_omp_atomic_store(), dump_gimple_omp_continue(), dump_gimple_omp_critical(), dump_gimple_omp_for(), dump_gimple_omp_parallel(), dump_gimple_omp_return(), dump_gimple_omp_sections(), dump_gimple_omp_target(), dump_gimple_omp_task(), dump_gimple_phi(), dump_gimple_return(), dump_gimple_switch(), dump_gimple_transaction(), dump_mem_ref(), dump_omp_clause(), dump_omp_context_selector(), dump_omp_iterators(), dump_omp_loop_non_rect_expr(), dump_ternary_rhs(), dump_unary_rhs(), make_item_for_dump_generic_expr(), print_call_name(), print_declaration(), print_generic_expr(), print_generic_expr_to_str(), print_generic_stmt(), print_generic_stmt_indented(), print_struct_decl(), vrange_printer::visit(), vrange_printer::visit(), and vrange_printer::visit().

◆ dump_location()

void dump_location ( pretty_printer * pp,
location_t loc )
extern

◆ dump_omp_atomic_memory_order()

◆ dump_omp_clauses()

◆ dump_omp_loop_non_rect_expr()

void dump_omp_loop_non_rect_expr ( pretty_printer * pp,
tree node,
int spc,
dump_flags_t flags )
extern
Helper function for dump_generic_node.  Dump INIT or COND expression for
OpenMP loop non-rectangular iterators.   

References dump_generic_node(), gcc_assert, op_code_prio(), op_prio(), pp_left_paren, pp_right_paren, pp_string(), TREE_CODE, and TREE_VEC_ELT.

Referenced by dump_generic_node(), and dump_gimple_omp_for().

◆ op_code_prio()

int op_code_prio ( enum tree_code code)
extern
Return the priority of the operator CODE.

From lowest to highest precedence with either left-to-right (L-R)
or right-to-left (R-L) associativity]:

  1     [L-R] ,
  2     [R-L] = += -= *= /= %= &= ^= |= <<= >>=
  3     [R-L] ?:
  4     [L-R] ||
  5     [L-R] &&
  6     [L-R] |
  7     [L-R] ^
  8     [L-R] &
  9     [L-R] == !=
 10     [L-R] < <= > >=
 11     [L-R] << >>
 12     [L-R] + -
 13     [L-R] * / %
 14     [R-L] ! ~ ++ -- + - * & (type) sizeof
 15     [L-R] fn() [] -> .

unary +, - and * have higher precedence than the corresponding binary
operators.   

References CASE_CONVERT.

Referenced by dump_binary_rhs(), dump_omp_loop_non_rect_expr(), dump_unary_rhs(), and op_prio().

◆ op_prio()

int op_prio ( const_tree op)
extern
Return the priority of the operator OP.   

References NULL, op_code_prio(), op_prio(), TREE_CODE, and TREE_OPERAND.

Referenced by dump_binary_rhs(), dump_generic_node(), dump_omp_loop_non_rect_expr(), dump_unary_rhs(), and op_prio().

◆ op_symbol_code()

const char * op_symbol_code ( enum tree_code code,
dump_flags_t flags )
extern

◆ pp_double_int()

void pp_double_int ( pretty_printer * pp,
double_int d,
bool uns )
extern

◆ pp_tree_identifier()

void pp_tree_identifier ( pretty_printer * pp,
tree id )
extern

◆ pretty_print_string()

void pretty_print_string ( pretty_printer * pp,
const char * str,
size_t n )
extern
Print the first N characters in the array STR, replacing non-printable
characters (including embedded nuls) with unambiguous escape sequences.   

References NULL, pp_character(), and pp_string().

Referenced by dump_generic_node(), dump_omp_context_selector(), and print_value().

◆ print_call_name()

void print_call_name ( pretty_printer * pp,
tree node,
dump_flags_t flags )
extern
Prints the name of a call.  NODE is the CALL_EXPR_FN of a CALL_EXPR or
the gimple_call_fn of a GIMPLE_CALL.   

References CASE_CONVERT, dump_function_name(), dump_generic_node(), integer_zerop(), NIY, pp_left_paren, pp_string(), TREE_CODE, TREE_OPERAND, and VAR_P.

Referenced by dump_generic_node(), and dump_gimple_call().

◆ print_declaration()

◆ print_generic_decl()

void print_generic_decl ( FILE * file,
tree decl,
dump_flags_t flags )
extern
Prints declaration DECL to the FILE with details specified by FLAGS.   

References maybe_init_pretty_print(), pp_write_text_to_stream(), print_declaration(), and tree_pp.

Referenced by dump_enumerated_decls(), dump_function_to_file(), dump_scope_block(), and oacc_privatization_candidate_p().

◆ print_generic_expr()

void print_generic_expr ( FILE * file,
tree t,
dump_flags_t flags )
extern
Print a single expression T on file FILE.  FLAGS specifies details to show
in the dump.  See TDF_* in dumpfile.h.   

References dump_generic_node(), maybe_init_pretty_print(), pp_flush(), and tree_pp.

Referenced by infer_range_manager::add_range(), scev_dfs::add_to_evolution(), autofdo::afdo_indirect_call(), analyze_access_subtree(), analyze_all_variable_accesses(), analyze_evolution_in_loop(), analyze_initial_condition(), analyze_overlapping_iterations(), analyze_scalar_evolution(), attempt_builtin_copysign(), attempt_builtin_powi(), attempt_coalesce(), eliminate_dom_walker::before_dom_children(), ipcp_modif_dom_walker::before_dom_children(), substitute_and_fold_dom_walker::before_dom_children(), budget_for_propagation_access(), build_access_from_call_arg(), call_may_clobber_ref_p_1(), canonicalize_loop_induction_variables(), gimple_infer_range::check_assume_func(), chrec_apply(), clean_up_loop_closed_phi(), collect_object_sizes_for(), ipa_polymorphic_call_context::combine_with(), compute_affine_dependence(), compute_builtin_object_size(), compute_dependence_clique(), gori_compute::compute_logical_operands(), gori_compute::compute_operand1_range(), gori_compute::compute_operand2_range(), gori_compute::compute_operand_range(), path_range_query::compute_ranges_in_block(), cprop_operand(), create_access(), create_access_replacement(), create_canonical_iv(), create_data_ref(), debug_generic_expr(), debug_omp_tokenized_addr(), debug_ter(), debug_tree_chain(), debug_var_infos_r(), determine_group_iv_costs(), disqualify_candidate(), access_ref::dump(), assume_query::dump(), back_threader::dump(), block_range_cache::dump(), block_range_cache::dump(), cgraph_node::dump(), equiv_chain::dump(), gori_map::dump(), ipa_argagg_value_list::dump(), ipa_polymorphic_call_context::dump(), path_range_query::dump(), phi_group::dump(), pointer_query::dump(), range_def_chain::dump(), ssa_cache::dump(), value_relation::dump(), dump_access(), dump_access_strides(), dump_affine_function(), dump_affine_iv(), gimple_ranger::dump_bb(), dump_builtin_memref(), dump_cand(), dump_candidate(), dump_chain(), dump_coalesce_list(), dump_condition(), dump_copy_of(), dump_currdefs(), dump_default_def(), dump_defs_stack(), dump_dref(), dump_eh_tree(), dump_function_to_file(), dump_immediate_uses_for(), dump_incr_vec(), dump_induction(), dump_iv(), dump_lattice_value(), dump_live_info(), dump_lto_records(), dump_mem_address(), dump_mem_details(), dump_mem_ref(), dump_names_replaced_by(), dump_odr_type(), dump_ops_vector(), dump_part_var_map(), dump_points_to_info_for(), dump_possible_polymorphic_call_targets(), dump_pred_info(), dump_range_entry(), dump_ranger(), dump_replaceable_exprs(), dump_stack_var_partition(), dump_strlen_info(), dump_subscript(), dump_tm_memopt_set(), dump_tree_via_hooks(), dump_update_ssa(), dump_use(), dump_var_map(), dump_variable(), dynamic_object_sizes_execute_one(), gori_compute::edge_range_p(), rpo_elim::eliminate_avail(), eliminate_duplicate_pair(), eliminate_dom_walker::eliminate_insert(), eliminate_not_pairs(), eliminate_plus_minus_pair(), rpo_elim::eliminate_push_avail(), eliminate_redundant_comparison(), eliminate_redundant_computations(), eliminate_dom_walker::eliminate_stmt(), execute_sm(), execute_sm_exit(), expansion_failed(), gimple_ranger::export_global_ranges(), extr_type_from_vtbl_ptr_store(), factor_out_conditional_operation(), fail_abnormal_edge_coalesce(), ranger_cache::fill_block_cache(), final_value_replacement_loop(), find_induction_variables(), find_local_vars_to_propagate(), ccp_folder::fold_stmt(), forward_propagate_into_gimple_cond(), gather_chrec_stats(), gather_mem_refs_stmt(), gather_memory_references_ref(), ipa_polymorphic_call_context::get_dynamic_type(), get_rank(), get_replacement_map(), get_representative_for(), get_scalar_evolution(), gimple_fold_call(), gimple_fold_stmt_to_constant_1(), gimple_lower_bitint(), gimple_simplify_phiopt(), gimple_verify_flow_info(), gimplify_expr(), remove_unreachable::handle_early(), ifcombine_ifandif(), insert_phi_nodes_for(), insert_value_copy_on_edge(), instantiate_scev(), ipa_dump_param(), ipa_print_constant_value(), ipa_print_node_jump_functions_for_edge(), path_oracle::killing_def(), simplify_using_ranges::legacy_fold_cond(), avail_exprs_stack::lookup_avail_expr(), mark_operand_necessary(), cgraph_node::materialize_clone(), maybe_add_sra_candidate(), maybe_invalidate(), maybe_optimize_var(), ipa_polymorphic_call_context::meet_with(), ipa_param_body_adjustments::modify_expression(), movement_possibility_1(), number_of_iterations_cond(), number_of_latch_executions(), object_sizes_execute(), optimize_range_tests_var_bound(), optimize_vec_cond_expr(), param_change_prob(), phiprop_insert_phi(), const_and_copies::pop_to_marker(), predict_loops(), gimple_ranger::prefill_stmt_dependencies(), expr_hash_elt::print(), print_aff(), print_loop_info(), print_mem_expr(), print_pre_expr(), print_vn_reference_ops(), process_bb(), phi_analyzer::process_phi(), ranger_cache::propagate_cache(), ranger_cache::propagate_updated_value(), path_range_query::range_defined_in_block(), ranger_cache::range_from_dom(), fold_using_range::range_of_call(), dom_ranger::range_of_expr(), gimple_ranger::range_of_expr(), fold_using_range::range_of_phi(), fold_using_range::range_of_range_op(), dom_ranger::range_of_stmt(), gimple_ranger::range_of_stmt(), dom_ranger::range_on_edge(), gimple_ranger::range_on_edge(), gimple_ranger::range_on_entry(), gimple_ranger::range_on_exit(), relation_oracle::record(), const_and_copies::record_const_or_copy_raw(), record_equivalences_from_stmt(), record_estimate(), record_known_type(), record_modified(), record_nonwrapping_chrec(), record_nonwrapping_iv(), ref_maybe_used_by_call_p_1(), gimple_ranger::register_inferred_ranges(), reject(), fold_using_range::relation_fold_and_or(), remove_unreachable::remove_and_update_globals(), ipa_param_body_adjustments::replace_removed_params_ssa_names(), cgraph_edge::resolve_speculation(), rewrite_trees(), run_rpo_vn(), set_scalar_evolution(), set_ssa_val_to(), sort_and_splice_var_accesses(), split_at_bb_p(), ssa_base_cand_dump_callback(), stmt_kills_ref_p(), tm_log_emit(), tm_memopt_accumulate_memops(), range_tracer::trailer(), try_create_reduction_list(), undistribute_ops_list(), update_range_test(), update_ssa(), value_replacement(), verify_def(), verify_imm_links(), verify_live_on_entry(), verify_ssa(), verify_use(), verify_vssa(), ccp_propagate::visit_phi(), visit_phi(), visit_reference_op_load(), visit_reference_op_store(), visit_stmt(), VN_INFO(), vn_nary_build_or_lookup_1(), vn_nary_op_insert_pieces_predicated(), and vn_reference_insert().

◆ print_generic_expr_to_str()

char * print_generic_expr_to_str ( tree t)
extern
Print a single expression T to string, and return it.  The caller
must free the returned memory.   

References dump_generic_node(), pp_formatted_text(), TDF_MEMSYMS, and TDF_VOPS.

Referenced by add_desc_attribute().

◆ print_generic_stmt()

void print_generic_stmt ( FILE * file,
tree t,
dump_flags_t flags )
extern

◆ print_generic_stmt_indented()

void print_generic_stmt_indented ( FILE * file,
tree t,
dump_flags_t flags,
int indent )
extern
Print tree T, and its successors, on file FILE.  FLAGS specifies details
to show in the dump.  See TDF_* in dumpfile.h.  The output is indented by
INDENT spaces.   

References dump_generic_node(), i, maybe_init_pretty_print(), pp_newline_and_flush(), pp_space, and tree_pp.

Referenced by dump_function_to_file().

◆ print_omp_context_selector()

void print_omp_context_selector ( FILE * file,
tree t,
dump_flags_t flags )
extern
Wrapper for above, used for "declare variant".  Compare to
print_generic_expr.   

References dump_omp_context_selector(), maybe_init_pretty_print(), pp_flush(), and tree_pp.

Referenced by dump_function_to_file().