GCC Middle and Back End API Reference
tree-ssanames.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  flow_sensitive_info_storage

Macros

#define SSANAMES(fun)
#define DEFAULT_DEFS(fun)
#define num_ssa_names   (vec_safe_length (cfun->gimple_df->ssa_names))
#define ssa_name(i)
#define FOR_EACH_SSA_NAME(I, VAR, FN)

Functions

irange_storage * ssa_name_irange_info (const_tree name)
prange_storage * ssa_name_prange_info (const_tree name)
frange_storage * ssa_name_frange_info (const_tree name)
const pt_solution * ssa_name_pt_solution (const_tree name)
void set_ssa_name_pt_solution (tree name, const pt_solution &pt)
bool set_range_info (tree, const vrange &)
void set_nonzero_bits (tree, const wide_int &)
void set_bitmask (tree, const wide_int &value, const wide_int &mask)
wide_int get_nonzero_bits (const_tree)
wide_int get_known_nonzero_bits (const_tree)
bool ssa_name_has_boolean_range (tree, gimple *=nullptr)
void init_ssanames (struct function *, int)
void fini_ssanames (struct function *)
void ssanames_print_statistics (void)
tree make_ssa_name_fn (struct function *, tree, gimple *, unsigned int version=0)
void init_ssa_name_imm_use (tree)
void release_ssa_name_fn (struct function *, tree)
bool get_ssa_name_alignment (const_tree, unsigned int *, unsigned int *)
void mark_ssa_name_alignment_unknown (tree)
void set_ssa_name_alignment (tree, unsigned int, unsigned int)
void set_ptr_nonnull (tree)
bool ptr_nonnull_p (tree)
tree copy_ssa_name_fn (struct function *, tree, gimple *)
tree duplicate_ssa_name_fn (struct function *, tree, gimple *)
void duplicate_ssa_name_pt_solution (tree dest, const pt_solution *)
void duplicate_ssa_name_pt_solution (tree dest, tree src)
void duplicate_ssa_name_range_info (tree dest, tree src, bool remove_local_addr=false)
void maybe_duplicate_ssa_info_at_copy (tree dest, tree src)
void reset_flow_sensitive_info (tree)
void reset_flow_sensitive_info_in_bb (basic_block)
void release_defs (gimple *)
void replace_ssa_name_symbol (tree, tree)
void flush_ssaname_freelist (void)
tree make_ssa_name (tree var, gimple *stmt=NULL)
tree copy_ssa_name (tree var, gimple *stmt=NULL)
tree duplicate_ssa_name (tree var, gimple *stmt)
void release_ssa_name (tree name)
tree make_temp_ssa_name (tree type, gimple *stmt, const char *name)

Macro Definition Documentation

◆ DEFAULT_DEFS

#define DEFAULT_DEFS ( fun)
Value:
Definition gimple-ssa.h:72
hash_table< ssa_name_hasher > * default_defs
Definition gimple-ssa.h:98

Referenced by set_ssa_default_def(), and ssa_default_def().

◆ FOR_EACH_SSA_NAME

◆ num_ssa_names

#define num_ssa_names   (vec_safe_length (cfun->gimple_df->ssa_names))

Referenced by add_new_name_mapping(), equiv_oracle::add_partial_equiv(), infer_range_manager::add_range(), alloc_expression_id(), block_range_cache::block_range_cache(), ccp_initialize(), check_all_va_list_escapes(), compute_builtin_object_size(), compute_dependence_clique(), create_coalesce_list(), debug_ter(), do_dbg_cnt(), do_rpo_vn_1(), dom_oracle::dom_oracle(), equiv_oracle::dump(), range_def_chain::dump(), ssa_cache::dump(), vars_ssa_cache::dump(), gimple_ranger::dump_bb(), dump_part_var_map(), dump_replaceable_exprs(), dump_var_map(), equiv_oracle::equiv_oracle(), equiv_oracle::equiv_set(), gimple_ranger::export_global_ranges(), find_equal_ptrs(), find_va_list_reference(), free_loop_data(), free_temp_expr_table(), fwprop_set_lattice_val(), infer_range_manager::get_nonzero(), get_ssa_name_ann(), get_stridx_plus_constant(), get_undefined_value_partitions(), gimple_lower_bitint(), gimple_ranger::gimple_ranger(), range_def_chain::has_def_chain(), infer_range_manager::infer_range_manager(), init_copy_prop(), init_pre(), init_reassoc(), init_update_ssa(), jump_threader::jump_threader(), ssa_cache::merge_range(), ssa_lazy_cache::merge_range(), new_temp_expr_table(), object_sizes_grow(), optimize_va_list_gpr_fpr_size(), phi_analyzer::phi_analyzer(), range_def_chain::range_def_chain(), dom_oracle::record_relation_block(), range_def_chain::register_dependency(), equiv_oracle::register_equiv_block(), release_free_names_and_compact_live_names(), remove_ssa_form(), rewrite_into_loop_closed_ssa_1(), temporal_cache::set_always_current(), block_range_cache::set_bb_range(), frontier_data::set_known(), ssa_cache::set_range(), ssa_lazy_cache::set_range(), temporal_cache::set_timestamp_calc(), temporal_cache::set_timestamp_stored(), temporal_cache::temporal_cache(), tree_dce_init(), tree_lower_complex(), tree_ssa_iv_optimize_init(), va_list_counter_bump(), va_list_counter_struct_op(), va_list_ptr_read(), va_list_ptr_write(), vars_ssa_cache::vars_ssa_cache(), verify_ssa(), verify_ssaname_freelists(), and zero_length_string().

◆ ssa_name

#define ssa_name ( i)
Value:
((*cfun->gimple_df->ssa_names)[(i)])
#define cfun
Definition function.h:485
i
Definition poly-int.h:776

Referenced by add_exit_phis(), add_field_for_name(), assume_query::assume_query(), attempt_coalesce(), path_range_query::close_dependencies(), coalesce_bitint(), coalesce_partitions(), compute_builtin_object_size(), compute_dependence_clique(), compute_optimized_partition_bases(), path_range_query::compute_ranges(), path_range_query::compute_ranges_in_block(), create_loads_and_stores_for_name(), debug_ter(), ana::gimple_stmt_op::defines_ssa_name_p(), ana::operation::defines_ssa_name_p(), ana::phis_for_edge_op::defines_ssa_name_p(), delete_update_ssa(), range_def_chain::depend1(), range_def_chain::depend2(), back_threader::dump(), block_range_cache::dump(), block_range_cache::dump(), equiv_chain::dump(), equiv_oracle::dump(), path_range_query::dump(), phi_group::dump(), pointer_query::dump(), range_def_chain::dump(), ssa_cache::dump(), gimple_ranger::dump_bb(), dump_coalesce_list(), dump_names_replaced_by(), dump_part_var_map(), dump_replaceable_exprs(), dump_update_ssa(), dump_var_map(), rpo_elim::eliminate_avail(), expand_expr_real_1(), gimple_ranger::export_global_ranges(), fail_abnormal_edge_coalesce(), back_threader::find_paths_to_names(), fold_builtin_alloca_with_align(), get_component_ssa_name(), get_continuation_for_phi(), equiv_relation_iterator::get_name(), gori_export_iterator::get_name(), get_undefined_value_partitions(), gimple_lower_bitint(), gimplify_size_expressions(), init_parameter_lattice_values(), init_reassoc(), initialize_conflict_count(), input_ssa_names(), ssa_name_limit_t::leave_phi(), make_temp_ssa_name(), mark_def_interesting(), ssa_lazy_cache::merge(), move_sese_region_to_fn(), ssa_name_limit_t::next_phi(), partition_to_var(), partition_view_init(), prepare_names_to_update(), phi_analyzer::process_phi(), register_new_update_set(), release_defs_bitset(), release_free_names_and_compact_live_names(), remove_unreachable::remove_and_update_globals(), replace_ssa_name_symbol(), sese_insert_phis_for_liveouts(), sese_reset_debug_liveouts(), set_component_ssa_name(), set_var_live_on_entry(), simple_dce_from_worklist(), dom_oracle::start_search(), update_parameter_components(), assume_query::update_parms(), update_ssa(), relation_oracle::valid_equivs(), verify_def(), verify_ssa_name(), verify_ssaname_freelists(), verify_use(), and ssa_name_limit_t::visit_phi().

◆ SSANAMES

Function Documentation

◆ copy_ssa_name()

◆ copy_ssa_name_fn()

tree copy_ssa_name_fn ( struct function * fn,
tree name,
gimple * stmt )
extern
Creates a new SSA name using the template NAME tobe defined by
statement STMT in function FN.   

References copy_ssa_name_fn(), make_ssa_name_fn(), SET_SSA_NAME_VAR_OR_IDENTIFIER, SSA_NAME_IDENTIFIER, SSA_NAME_VAR, and TREE_TYPE.

Referenced by copy_ssa_name(), copy_ssa_name_fn(), duplicate_ssa_name_fn(), and replace_ssa_name().

◆ duplicate_ssa_name()

tree duplicate_ssa_name ( tree var,
gimple * stmt )
inline

◆ duplicate_ssa_name_fn()

tree duplicate_ssa_name_fn ( struct function * fn,
tree name,
gimple * stmt )
extern
Creates a duplicate of a ssa name NAME tobe defined by statement STMT
in function FN.   

References copy_ssa_name_fn(), duplicate_ssa_name_fn(), duplicate_ssa_name_pt_solution(), duplicate_ssa_name_range_info(), and SSA_NAME_RANGE_INFO.

Referenced by duplicate_ssa_name(), and duplicate_ssa_name_fn().

◆ duplicate_ssa_name_pt_solution() [1/2]

void duplicate_ssa_name_pt_solution ( tree dest,
const pt_solution * pt )
extern

◆ duplicate_ssa_name_pt_solution() [2/2]

void duplicate_ssa_name_pt_solution ( tree dest,
tree src )
extern
Give DEST its own copy of the points-to information of
the SSA name SRC.  SRC may be NULL_TREE or carry no information, in
which case DEST is left alone.   

References duplicate_ssa_name_pt_solution(), and ssa_name_pt_solution().

◆ duplicate_ssa_name_range_info()

void duplicate_ssa_name_range_info ( tree name,
tree src,
bool remove_local_addr )
extern
Copy any global range information from SRC to NAME.  If REMOVE_LOCAL_ADDR
is true, then any specified address that a prange may refer to is checked
to see if it's local to the function and removed if so.
The default is FALSE, which is the previous default behaviour and copies
the entire range as is.   

References as_a(), duplicate_ssa_name_range_info(), gcc_checking_assert, is_a< prange >(), range_info_get_range(), range_info_set_range(), SSA_NAME_RANGE_INFO, and TREE_TYPE.

Referenced by duplicate_ssa_name_fn(), duplicate_ssa_name_range_info(), maybe_duplicate_ssa_info_at_copy(), remap_ssa_name(), and replace_phi_edge_with_variable().

◆ fini_ssanames()

void fini_ssanames ( struct function * fn)
extern

◆ flush_ssaname_freelist()

void flush_ssaname_freelist ( void )
extern
Move all SSA_NAMEs from FREE_SSA_NAMES_QUEUE to FREE_SSA_NAMES.

We do not, but should have a mode to verify the state of the SSA_NAMEs
lists.  In particular at this point every name must be in the IL,
on the free list or in the queue.  Anything else is an error.   

References cfun, flush_ssaname_freelist(), FREE_SSANAMES, FREE_SSANAMES_QUEUE, scev_reset_htab(), vec_safe_is_empty(), vec_safe_splice(), and vec_safe_truncate().

Referenced by execute_todo(), and flush_ssaname_freelist().

◆ get_known_nonzero_bits()

wide_int get_known_nonzero_bits ( const_tree name)
extern
Return a wide_int with known non-zero bits in SSA_NAME
NAME, the constant for INTEGER_CST, or 0 if unknown.
In addition to what get_known_nonzero_bits_1 handles, this handles one
level of BIT_IOR_EXPR, either as a def_stmt or tree directly.   

References g, get_known_nonzero_bits(), get_known_nonzero_bits_1(), gimple_assign_rhs1(), gimple_assign_rhs2(), gimple_assign_rhs_code(), is_gimple_assign(), SSA_NAME_DEF_STMT, TREE_CODE, and TREE_OPERAND.

Referenced by get_known_nonzero_bits().

◆ get_nonzero_bits()

wide_int get_nonzero_bits ( const_tree name)
extern
Return a wide_int with potentially non-zero bits in SSA_NAME
NAME, the constant for INTEGER_CST, or -1 if unknown.
In addition to what get_nonzero_bits_1 handles, this handles one
level of BIT_AND_EXPR, either as a def_stmt or tree directly.   

References g, get_nonzero_bits(), get_nonzero_bits_1(), gimple_assign_rhs1(), gimple_assign_rhs2(), gimple_assign_rhs_code(), is_gimple_assign(), SSA_NAME_DEF_STMT, TREE_CODE, and TREE_OPERAND.

Referenced by evaluate_stmt(), expand_expr_real_2(), expr_not_equal_to(), get_default_value(), get_nonzero_bits(), range_query::get_tree_range(), handle_builtin_alloca(), maybe_set_nonzero_bits(), optimize_range_tests_var_bound(), split_constant_offset(), ssa_name_has_boolean_range(), tree_ctz(), tree_nonzero_bits(), validate_test_and_branch(), and vect_get_range_info().

◆ get_ssa_name_alignment()

bool get_ssa_name_alignment ( const_tree name,
unsigned int * alignp,
unsigned int * misalignp )
extern
Extract useful alignment information from NAME's global range.  Return
false if no alignment beyond byte alignment is known.   

References bitmask_to_alignment(), get_ssa_name_alignment(), POINTER_TYPE_P, ssa_name_prange_info(), SSA_NAME_RANGE_INFO, and TREE_TYPE.

Referenced by dump_ssaname_info(), get_pointer_alignment_1(), and get_ssa_name_alignment().

◆ init_ssa_name_imm_use()

◆ init_ssanames()

void init_ssanames ( struct function * fn,
int size )
extern
Initialize management of SSA_NAMEs to default SIZE.  If SIZE is
zero use default.   

References FREE_SSANAMES, FREE_SSANAMES_QUEUE, function::gimple_df, init_ssanames(), NULL, NULL_TREE, gimple_df::rename_vops, gimple_df::ssa_renaming_needed, SSANAMES, vec_alloc(), and vec_safe_reserve().

Referenced by init_ssanames(), and init_tree_ssa().

◆ make_ssa_name()

tree make_ssa_name ( tree var,
gimple * stmt = NULL )
inline
Return an SSA_NAME node for variable VAR defined in statement STMT
in function cfun.   

References cfun, make_ssa_name(), make_ssa_name_fn(), and NULL.

Referenced by asan_expand_check_ifn(), asan_expand_mark_ifn(), attempt_builtin_copysign(), addsub_pattern::build(), build_and_add_sum(), tree_switch_conversion::switch_conversion::build_arrays(), build_assign(), build_assign(), build_ref_for_offset(), build_shadow_mem_access(), build_type_cast(), bump_vector_ptr(), clear_padding_flush(), clear_padding_type(), cond_if_else_store_replacement_1(), cond_store_replacement(), cond_store_replacement_limited(), copy_bb(), create_call_for_reduction_1(), create_expression_by_pieces(), create_iv(), create_mul_high_seq(), create_mul_low_seq(), create_parallel_loop(), declare_return_variable(), detach_value(), do_vec_conversion(), duplicate_and_interleave(), early_object_sizes_execute_one(), tree_switch_conversion::bit_test_cluster::emit(), execute_load_motion(), execute_update_addresses_taken(), expand_call_inline(), expand_complex_libcall(), expand_complex_multiplication(), expand_omp_atomic_load(), expand_omp_atomic_pipeline(), expand_omp_atomic_store(), expand_omp_for_static_chunk(), expand_parallel_call(), expand_vector_conversion(), expand_vector_divmod(), extract_component(), factor_out_conditional_load(), factor_out_conditional_operation(), factor_out_operators(), fold_builtin_atomic_compare_exchange(), fold_strstr_to_strncmp(), force_gimple_operand_1(), force_into_ssa_name(), gen_conditions_for_pow_int_base(), gen_emutls_addr(), gen_one_condition(), generate_memset_builtin(), generate_strlen_builtin(), generate_strlen_builtin_1(), generate_strlen_builtin_using_rawmemchr(), get_component_ssa_name(), get_string_length(), gimple_build(), gimple_build(), gimple_build(), gimple_build(), gimple_build(), gimple_build(), gimple_build(), gimple_build_vector(), gimple_build_vector_from_val(), gimple_expand_vec_cond_expr(), gimple_expand_vec_set_extract_expr(), gimple_fold_builtin_acc_on_device(), gimple_fold_builtin_clear_padding(), gimple_fold_builtin_memory_op(), gimple_fold_builtin_stdarg(), gimple_fold_builtin_strcat(), gimple_fold_builtin_strchr(), gimple_fold_builtin_string_compare(), gimple_load_first_char(), gimple_lower_bitint(), gimple_regimplify_operands(), gsi_replace_with_seq_vops(), handle_builtin_alloca(), increment_start_addr(), initialize_inlined_parameters(), initialize_root_vars(), initialize_root_vars_lm(), initialize_root_vars_store_elim_2(), insert_clobber_before_stack_restore(), rt_bb_visited::insert_exit_check_on_edge(), instrument_bool_enum_load(), instrument_builtin(), instrument_builtin_call(), instrument_func_entry(), instrument_nonnull_arg(), instrument_prime_paths(), instrument_si_overflow(), internal_get_tmp_var(), ipa_simd_modify_stmt_ops(), ipa_tm_insert_gettmclone_call(), linearize_expr(), long_mul_split_phi(), lower_assumption(), lower_bitcompress_bitexpand(), lower_coro_builtin(), lower_eh_dispatch(), lower_emutls_1(), lower_omp_for(), lower_omp_sections(), lower_resx(), make_new_ssa_for_def(), make_phi_node(), make_ssa_name(), match_arith_overflow(), match_single_bit_test(), match_spaceship(), match_uaddc_usubc(), maybe_cast_to_ptrmode(), maybe_create_ssa_name(), maybe_optimize_range_tests(), maybe_push_res_to_seq(), maybe_register_def(), ipa_param_adjustments::modify_call(), move_computations_worker(), negate_value(), oacc_entry_exit_single_gang(), oacc_rewrite_var_decl(), object_sizes_set(), object_sizes_set_temp(), omp_sese_split_blocks(), optimize_mask_stores(), optimize_range_tests_cmp_bitwise(), optimize_range_tests_to_bit_test(), optimize_range_tests_var_bound(), optimize_spaceship(), optimize_vector_constructor(), optimize_vector_load(), permute_vec_elements(), phiprop_insert_phi(), prepare_target_mem_ref_lvalue(), read_vector_array(), reassociate_bb(), pcom_worker::reassociate_to_the_same_stmt(), remap_gimple_stmt(), remap_ssa_name(), replace_abnormal_ssa_names(), ipa_param_body_adjustments::replace_removed_params_ssa_names(), repropagate_negates(), rewrite_expr_tree(), rewrite_stmt(), rewrite_to_defined_unconditional(), separate_decls_in_region(), simd_clone_adjust(), simd_clone_linear_addend(), simplify_builtin_call(), simplify_count_zeroes(), simplify_using_ranges::simplify_float_conversion_using_ranges(), simplify_using_ranges::simplify_internal_call_using_ranges(), simplify_permutation(), simplify_phi_result_movdiv(), simplify_rotate(), simplify_using_ranges::simplify_truth_ops_using_ranges(), simplify_vector_constructor(), sink_common_stores_to_bb(), spaceship_replacement(), split_function(), sra_modify_expr(), take_address_of(), tm_log_emit_saves(), transform_add_to_multiply(), tree_function_versioning(), tree_optimize_tail_calls_1(), tree_vec_extract(), ubsan_expand_null_ifn(), ubsan_expand_objsize_ifn(), ubsan_expand_ptr_ifn(), ubsan_expand_vptr_ifn(), undistribute_bitref_for_vector(), loop_cand::undo_simple_reduction(), update_alias_info_with_stack_vars(), update_ops(), use_internal_fn(), vect_add_slp_permutation(), vect_create_constant_vectors(), vect_create_epilog_for_reduction(), vect_create_half_widening_stmts(), vect_create_partial_epilog(), vect_create_vectorized_demotion_stmts(), vect_do_peeling(), vect_emulate_mixed_dot_prod(), vect_expand_fold_left(), vect_gen_while(), vect_gen_widened_results_half(), vect_get_main_loop_result(), vect_init_vector(), vect_maybe_permute_loop_masks(), vect_set_loop_controls_directly(), vect_setup_realignment(), vect_transform_reduction(), vect_transform_slp_perm_load_1(), vectorizable_assignment(), vectorizable_bswap(), vectorizable_call(), vectorizable_comparison_1(), vectorizable_condition(), vectorizable_conversion(), vectorizable_load(), vectorizable_operation(), vectorizable_recurr(), vectorizable_scan_store(), vectorizable_shift(), vectorizable_simd_clone_call(), vectorizable_store(), vectorize_fold_left_reduction(), version_loop_by_alias_check(), version_loop_for_if_conversion(), walk_regimplify_phi(), and worker_single_copy().

◆ make_ssa_name_fn()

tree make_ssa_name_fn ( struct function * fn,
tree var,
gimple * stmt,
unsigned int version )
extern
Return an SSA_NAME node for variable VAR defined in statement STMT
in function FN.  STMT may be an empty statement for artificial
references (e.g., default definitions created when a variable is
used without a preceding definition).  If VERISON is not zero then
allocate the SSA name with that version.   

References FREE_SSANAMES, gcc_assert, init_ssa_name_imm_use(), is_gimple_reg_type(), make_node(), make_ssa_name_fn(), NULL, NULL_TREE, SET_SSA_NAME_VAR_OR_IDENTIFIER, tree_node::ssa_name, SSA_NAME_DEF_STMT, SSA_NAME_IN_FREE_LIST, SSA_NAME_IS_DEFAULT_DEF, ssa_name_nodes_created, ssa_name_nodes_reused, SSA_NAME_RANGE_INFO, SSA_NAME_VERSION, SSANAMES, TREE_CODE, TREE_TYPE, TYPE_MAIN_VARIANT, TYPE_P, VAR_P, vec_safe_grow_cleared(), vec_safe_is_empty(), and vec_safe_push().

Referenced by copy_ssa_name_fn(), get_or_create_ssa_default_def(), input_ssa_names(), make_ssa_name(), make_ssa_name_fn(), make_temp_ssa_name(), move_sese_region_to_fn(), and replace_ssa_name().

◆ make_temp_ssa_name()

tree make_temp_ssa_name ( tree type,
gimple * stmt,
const char * name )
inline
Return an anonymous SSA_NAME node for type TYPE defined in statement STMT
in function cfun.  Arrange so that it uses NAME in dumps.   

References cfun, gcc_checking_assert, get_identifier(), make_ssa_name_fn(), make_temp_ssa_name(), SET_SSA_NAME_VAR_OR_IDENTIFIER, ssa_name, and TYPE_P.

Referenced by adjust_return_value_with_ops(), attempt_builtin_powi(), build_and_insert_binop(), build_and_insert_call(), complex_pattern::build_common(), build_vect_cond_expr(), cond_if_else_store_replacement_1(), cond_store_replacement(), cond_store_replacement_limited(), connect_loop_phis(), convert_scalar_cond_reduction(), convert_to_divmod(), create_add_on_incoming_edge(), create_expression_by_pieces(), create_iv(), create_phi_basis_1(), create_tailcall_accumulator(), do_pre_regular_insertion(), execute_cse_sincos_1(), gen_assign_counter_update(), gen_counter_update(), gen_phi_nest_statement(), get_representative_for(), gimple_divmod_fixed_value(), gimple_gen_ic_profiler(), gimple_ic(), gimple_mod_pow2(), gimple_mod_subtract(), gimple_stringop_fixed_value(), ifc_temp_var(), insert_initializers(), insert_into_preds_of_block(), make_temp_ssa_name(), merge_with_identity(), optimize_recip_sqrt(), powi_as_mults(), powi_as_mults_1(), prepare_vec_mask(), reassociate_bb(), rewrite_bittest(), rewrite_reciprocal(), take_address_of(), tree_transform_and_unroll_loop(), vect_create_cond_for_align_checks(), vect_expand_fold_left(), vect_gen_loop_len_mask(), vect_gen_while(), vect_get_loop_iv_increment(), vect_get_loop_len(), vect_get_loop_mask(), vect_get_new_ssa_name(), vect_recog_temp_ssa_var(), vect_set_loop_controls_directly(), vectorizable_comparison_1(), vectorizable_early_exit(), and verify_bb_vtables().

◆ mark_ssa_name_alignment_unknown()

void mark_ssa_name_alignment_unknown ( tree name)
extern
Clear NAME's known bits independently of the legacy alignment fields.   

References mark_ssa_name_alignment_unknown(), r, range_info_get_range(), range_info_set_range(), SSA_NAME_RANGE_INFO, TREE_TYPE, and TYPE_PRECISION.

Referenced by mark_ssa_name_alignment_unknown().

◆ maybe_duplicate_ssa_info_at_copy()

void maybe_duplicate_ssa_info_at_copy ( tree dest,
tree src )
extern

◆ ptr_nonnull_p()

bool ptr_nonnull_p ( tree name)
extern

◆ release_defs()

void release_defs ( gimple * stmt)
extern
Release all the SSA_NAMEs created by STMT.   

References FOR_EACH_SSA_TREE_OPERAND, release_defs(), release_ssa_name(), SSA_OP_ALL_DEFS, and TREE_CODE.

Referenced by strlen_pass::adjust_last_stmt(), adjust_simduid_builtins(), cancel_fma_deferring(), cond_if_else_store_replacement_1(), cond_store_replacement(), cond_store_replacement_limited(), convert_mult_to_fma_1(), convert_scalar_cond_reduction(), delete_dead_or_redundant_assignment(), delete_dead_or_redundant_call(), do_simple_agr_dse(), eliminate_dom_walker::eliminate_cleanup(), eliminate_tail_call(), execute_cse_conv_1(), execute_early_expand_coro_ifns(), expand_omp_atomic_fetch_op(), expand_omp_atomic_pipeline(), factor_out_conditional_load(), factor_out_conditional_operation(), factor_out_operators(), finish_long_mul_low_half(), forward_propagate_addr_expr(), generate_loops_for_partition(), gimple_fold_builtin_stdarg(), gimple_fold_partial_load_store(), gimple_seq_discard(), gimplify_and_update_call_from_tree(), strlen_pass::handle_assign(), strlen_pass::handle_builtin_memset(), strlen_pass::handle_store(), hoist_memory_references(), ifcvt_local_dce(), input_function(), linearize_expr(), lower_long_mul_high_chain(), match_single_bit_test(), match_uaddc_usubc(), maybe_remove_writeonly_store(), optimize_clobbers(), optimize_mask_stores(), optimize_recip_sqrt(), dom_opt_dom_walker::optimize_stmt(), optimize_vector_load(), predicate_statements(), propagate_op_to_single_use(), reassociate_bb(), release_defs(), release_defs_bitset(), remove_bb(), remove_dead_stmt(), remove_indirect_clobbers(), remove_prop_source_from_use(), pcom_worker::remove_stmt(), vec_info::remove_stmt(), remove_unused_locals(), remove_unused_stmts(), remove_visited_stmt_chain(), repropagate_negates(), ipa_param_body_adjustments::reset_debug_stmts(), rewrite_bittest(), simple_dce_from_worklist(), simplify_builtin_memcpy_memset(), sink_clobbers(), sink_code_in_bb(), sink_common_stores_to_bb(), sra_modify_assign(), sra_modify_constructor_assign(), sra_modify_deferred_init(), vect_transform_loop(), and vect_transform_slp_perm_load_1().

◆ release_ssa_name()

◆ release_ssa_name_fn()

void release_ssa_name_fn ( struct function * fn,
tree var )
extern
We no longer need the SSA_NAME expression VAR, release it so that
it may be reused.

Note it is assumed that no calls to make_ssa_name will be made
until all uses of the ssa name are released and that the only
use of the SSA_NAME expression is to check its SSA_NAME_VAR.  All
other fields must be assumed clobbered.   

References delink_imm_use(), error_mark_node, FREE_SSANAMES_QUEUE, insert_debug_temp_for_var_def(), ssa_use_operand_t::loc, MAY_HAVE_DEBUG_BIND_STMTS, name_registered_for_update_p(), ssa_use_operand_t::next, NULL, NULL_TREE, ssa_use_operand_t::prev, release_ssa_name_after_update_ssa(), release_ssa_name_fn(), SSA_NAME_IMM_USE_NODE, SSA_NAME_IN_FREE_LIST, SSA_NAME_IS_DEFAULT_DEF, SSA_NAME_VERSION, SSANAMES, TREE_SET_CODE, tree_size(), TREE_TYPE, vec_safe_push(), and verify_imm_links().

Referenced by expand_ifn_va_arg_1(), operands_scanner::finalize_ssa_defs(), release_ssa_name(), and release_ssa_name_fn().

◆ replace_ssa_name_symbol()

void replace_ssa_name_symbol ( tree ssa_name,
tree sym )
extern

◆ reset_flow_sensitive_info()

◆ reset_flow_sensitive_info_in_bb()

◆ set_bitmask()

void set_bitmask ( tree name,
const wide_int & value,
const wide_int & mask )
extern
Update the known bits of NAME.

Zero bits in MASK cover constant values.  Set bits in MASK cover
unknown values.  VALUE are the known bits.   

References POINTER_TYPE_P, r, set_bitmask(), set_range_info(), TREE_TYPE, and prange::update_bitmask().

Referenced by ccp_finalize(), and set_bitmask().

◆ set_nonzero_bits()

void set_nonzero_bits ( tree name,
const wide_int & mask )
extern
Update the non-zero bits bitmask of NAME.   

References POINTER_TYPE_P, r, set_nonzero_bits(), vrange::set_nonzero_bits(), set_range_info(), and TREE_TYPE.

Referenced by maybe_set_nonzero_bits(), and set_nonzero_bits().

◆ set_ptr_nonnull()

void set_ptr_nonnull ( tree name)
extern

◆ set_range_info()

◆ set_ssa_name_alignment()

void set_ssa_name_alignment ( tree name,
unsigned int align,
unsigned int misalign )
extern

◆ set_ssa_name_pt_solution()

void set_ssa_name_pt_solution ( tree name,
const pt_solution & pt )
extern
Make PT the points-to solution for NAME, which must have pointer type.   
Make PT the points-to solution for NAME.   

References get_pt_solution(), and set_ssa_name_pt_solution().

Referenced by copy_ref_info(), find_what_p_points_to(), remap_ssa_name(), set_ssa_name_pt_solution(), update_alias_info_with_stack_vars(), and vect_duplicate_ssa_name_pt_solution().

◆ ssa_name_frange_info()

frange_storage * ssa_name_frange_info ( const_tree name)
inline

◆ ssa_name_has_boolean_range()

bool ssa_name_has_boolean_range ( tree op,
gimple * stmt )
extern
Return TRUE is OP, an SSA_NAME has a range of values [0..1] at the
STMT, false otherwise.

This can be because it is a boolean type, any unsigned integral
type with a single bit of precision, or has known range of [0..1]
via range analysis.   

References cfun, wi::eq_p(), gcc_assert, get_nonzero_bits(), get_range_query(), INTEGRAL_TYPE_P, r, range_true_and_false(), ssa_name_has_boolean_range(), TREE_CODE, TREE_TYPE, TYPE_PRECISION, and TYPE_UNSIGNED.

Referenced by associate_equivalences_with_edges(), edge_info::derive_equivalences(), expr_has_boolean_range(), get_len_nonzero_value(), record_edge_info(), and ssa_name_has_boolean_range().

◆ ssa_name_irange_info()

irange_storage * ssa_name_irange_info ( const_tree name)
inline
SSA name expresssons routines
   Copyright (C) 2013-2026 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/>.   

References NULL, ssa_name_irange_info(), and SSA_NAME_RANGE_INFO.

Referenced by ssa_name_irange_info().

◆ ssa_name_prange_info()

◆ ssa_name_pt_solution()

◆ ssanames_print_statistics()

void ssanames_print_statistics ( void )
extern
Dump some simple statistics regarding the re-use of SSA_NAME nodes.   

References PRsa, SIZE_AMOUNT, ssa_name_nodes_created, ssa_name_nodes_reused, and ssanames_print_statistics().

Referenced by dump_tree_statistics(), and ssanames_print_statistics().