GCC Middle and Back End API Reference
|
#include <inchash.h>
Public Member Functions | |
hash (hashval_t seed=0) | |
hashval_t | end () const |
void | add_int (unsigned v) |
template<unsigned int N, typename T > | |
void | add_poly_int (const poly_int< N, T > &v) |
void | add_hwi (HOST_WIDE_INT v) |
template<unsigned int N, typename T > | |
void | add_poly_hwi (const poly_int< N, T > &v) |
template<typename T > | |
void | add_wide_int (const generic_wide_int< T > &x) |
void | add_real_value (const class real_value &v) |
void | add_ptr (const void *ptr) |
void | add (const void *data, size_t len) |
void | merge_hash (hashval_t other) |
void | merge (const hash &other) |
template<class T > | |
void | add_object (T &obj) |
void | add_flag (bool flag) |
void | commit_flag () |
void | add_commutative (const hash &a, const hash &b) |
Private Attributes | |
hashval_t | val |
unsigned | bits |
|
inline |
References val.
Referenced by add_object(), add_ptr(), inchash::add_rtx(), cselib_hash_rtx(), operand_data_hasher::hash(), hash_locs(), operand_compare::hash_operand(), and hash_tree().
Referenced by inchash::add_expr_commutative(), cselib_hash_rtx(), and operand_compare::hash_operand().
|
inline |
References bits.
Referenced by ipa_icf::sem_function::get_hash(), default_hash_traits< scalar_cond_masked_key >::hash(), polymorphic_call_target_hasher::hash(), thunk_info::hash(), ipa_icf::sem_item::hash_referenced_symbol_properties(), ipa_icf::sem_function::hash_stmt(), hash_tree(), and type_hash_canon_hash().
|
inline |
References iterative_hash_host_wide_int(), and val.
Referenced by add_poly_hwi(), add_real_value(), inchash::add_rtx(), add_wide_int(), cselib_hash_plus_const_int(), cselib_hash_rtx(), ipa_icf::sem_function::get_hash(), polymorphic_call_target_hasher::hash(), refs_hasher::hash(), simplifiable_subregs_hasher::hash(), thunk_info::hash(), operand_compare::hash_operand(), hash_tree(), simplifiable_subregs(), and ipa_icf::sem_item_optimizer::update_hash_by_addr_refs().
|
inline |
References iterative_hash_hashval_t(), and val.
Referenced by inchash::add_hashable_expr(), add_poly_int(), add_real_value(), inchash::add_rtx(), inchash::add_vrange(), add_wide_int(), build_poly_int_cst(), canon_relative_path_prefix(), commit_flag(), cselib_hash_plus_const_int(), cselib_hash_rtx(), ipa_icf::sem_function::get_bb_hash(), ipa_icf::sem_function::get_hash(), ana::asm_output_svalue::key_t::hash(), ana::binop_svalue::key_t::hash(), ana::poisoned_svalue::key_t::hash(), ana::unaryop_svalue::key_t::hash(), ana::var_arg_region::key_t::hash(), bst_traits::hash(), const_poly_int_hasher::hash(), default_hash_traits< scalar_cond_masked_key >::hash(), function_start_pair_hash::hash(), ipa_icf::sem_usage_pair_hash::hash(), ipa_icf::symbol_compare_hash::hash(), location_triplet_hash::hash(), mem_alloc_description< T >::mem_location_hash::hash(), omp_declare_variant_hasher::hash(), predictor_hash::hash(), sanopt_tree_couple_hash::hash(), test_pattern_hasher::hash(), vec_hash_base< Type >::hash(), ao_compare::hash_ao_ref(), operand_compare::hash_operand(), ipa_icf::sem_item::hash_referenced_symbol_properties(), hash_rtx(), ipa_icf::sem_function::hash_stmt(), hash_tree(), immed_wide_int_const(), ipa_icf::sem_function::init(), ipa_icf::sem_variable::init(), ipa_icf::sem_item_optimizer::read_section(), same_succ_hash(), type_hash_canon_hash(), ipa_icf::sem_item::update_hash_by_addr_refs(), ipa_icf::sem_item_optimizer::update_hash_by_memory_access_type(), vn_nary_op_compute_hash(), vn_phi_compute_hash(), vn_reference_compute_hash(), and vn_reference_op_compute_hash().
References add().
Referenced by inchash::add_hashable_expr(), inchash::add_rtx(), avail_expr_hash(), operand_data_hasher::hash(), hash_locs(), operand_compare::hash_operand(), and type_hash_canon_hash().
|
inline |
References add_hwi(), poly_int< N, C >::coeffs, i, and N.
Referenced by reg_attr_hasher::hash().
|
inline |
References add_int(), poly_int< N, C >::coeffs, i, and N.
Referenced by inchash::add_rtx(), ao_compare::hash_ao_ref(), type_hash_canon_hash(), and vn_reference_compute_hash().
|
inline |
References add().
Referenced by ana::setjmp_record::add_to_hash(), canon_relative_file_name(), canon_relative_path_prefix(), ana::asm_output_svalue::key_t::hash(), ana::binop_svalue::key_t::hash(), ana::bit_range_region::key_t::hash(), ana::bits_within_svalue::key_t::hash(), ana::call_string::hashmap_traits_t::hash(), ana::cast_region::key_t::hash(), ana::compound_svalue::key_t::hash(), ana::conjured_svalue::key_t::hash(), ana::const_fn_result_svalue::key_t::hash(), ana::constant_svalue::key_t::hash(), ana::element_region::key_t::hash(), ana::field_region::key_t::hash(), ana::frame_region::key_t::hash(), ana::offset_region::key_t::hash(), ana::poisoned_svalue::key_t::hash(), ana::region_svalue::key_t::hash(), ana::repeated_svalue::key_t::hash(), ana::setjmp_svalue::key_t::hash(), ana::sized_region::key_t::hash(), ana::sub_svalue::key_t::hash(), ana::symbolic_region::key_t::hash(), ana::unaryop_svalue::key_t::hash(), ana::var_arg_region::key_t::hash(), ana::widening_svalue::key_t::hash(), ddr_hasher::hash(), ipa_icf::sem_usage_pair_hash::hash(), mem_alloc_description< T >::mem_location_hash::hash(), mem_location::hash(), omp_declare_variant_hasher::hash(), and reg_attr_hasher::hash().
void inchash::hash::add_real_value | ( | const class real_value & | v | ) |
This is here instead of inchash.h to keep us from having to put real.h in coretypes.h.
References add_hwi(), add_int(), real_value::canonical, real_value::cl, real_value::decimal, gcc_unreachable, i, REAL_EXP, rvc_inf, rvc_nan, rvc_normal, rvc_zero, real_value::sig, real_value::sign, real_value::signalling, and SIGSZ.
Referenced by inchash::add_vrange().
|
inline |
References add_hwi(), add_int(), i, and generic_wide_int< storage >::sext_elt().
Referenced by inchash::add_rtx(), inchash::add_vrange(), build_poly_int_cst(), cselib_hash_rtx(), ana::bit_range_region::key_t::hash(), ana::concrete_binding::hash(), const_poly_int_hasher::hash(), omp_declare_variant_hasher::hash(), operand_compare::hash_operand(), hash_rtx(), hash_tree(), and immed_wide_int_const().
|
inline |
References add_int(), and bits.
Referenced by polymorphic_call_target_hasher::hash(), hash_tree(), and ipa_icf::sem_function::init().
|
inline |
References val.
Referenced by avail_expr_hash(), build_bitint_type(), build_nonstandard_integer_type(), build_poly_int_cst(), canon_relative_file_name(), canon_relative_path_prefix(), cselib_hash_plus_const_int(), cselib_hash_rtx(), ipa_icf::sem_function::get_bb_hash(), ipa_icf::sem_function::get_hash(), addr_hasher::hash(), ana::asm_output_svalue::key_t::hash(), ana::binop_svalue::key_t::hash(), ana::bit_range_region::key_t::hash(), ana::bits_within_svalue::key_t::hash(), ana::call_string::hashmap_traits_t::hash(), ana::cast_region::key_t::hash(), ana::compound_svalue::key_t::hash(), ana::concrete_binding::hash(), ana::conjured_svalue::key_t::hash(), ana::const_fn_result_svalue::key_t::hash(), ana::constant_svalue::key_t::hash(), ana::element_region::key_t::hash(), ana::field_region::key_t::hash(), ana::frame_region::key_t::hash(), ana::offset_region::key_t::hash(), ana::poisoned_svalue::key_t::hash(), ana::region_svalue::key_t::hash(), ana::repeated_svalue::key_t::hash(), ana::setjmp_svalue::key_t::hash(), ana::sized_region::key_t::hash(), ana::sub_svalue::key_t::hash(), ana::symbolic_region::key_t::hash(), ana::unaryop_svalue::key_t::hash(), ana::var_arg_region::key_t::hash(), ana::widening_svalue::key_t::hash(), bst_traits::hash(), const_poly_int_hasher::hash(), ddr_hasher::hash(), default_hash_traits< scalar_cond_masked_key >::hash(), function_start_pair_hash::hash(), ipa_icf::sem_usage_pair_hash::hash(), ipa_icf::symbol_compare_hash::hash(), ipa_vr_ggc_hash_traits::hash(), location_triplet_hash::hash(), mem_alloc_description< T >::mem_location_hash::hash(), omp_declare_variant_hasher::hash(), operand_data_hasher::hash(), polymorphic_call_target_hasher::hash(), predictor_hash::hash(), refs_hasher::hash(), reg_attr_hasher::hash(), sanopt_tree_couple_hash::hash(), sanopt_tree_triplet_hash::hash(), simplifiable_subregs_hasher::hash(), test_pattern_hasher::hash(), thunk_info::hash(), vec_hash_base< Type >::hash(), hash_rtx(), hash_tree(), immed_wide_int_const(), ipa_icf::sem_function::init(), ipa_icf::sem_variable::init(), ipa_get_value_range(), iterative_hash_expr(), loc_checksum(), loc_checksum_ordered(), ipa_icf::sem_item_optimizer::read_section(), same_succ_hash(), simplifiable_subregs(), type_hash_canon_hash(), ipa_icf::sem_item::update_hash_by_addr_refs(), ipa_icf::sem_item_optimizer::update_hash_by_addr_refs(), ipa_icf::sem_item_optimizer::update_hash_by_memory_access_type(), operand_compare::verify_hash_value(), vn_hash_constant_with_type(), vn_nary_op_compute_hash(), vn_phi_compute_hash(), and vn_reference_compute_hash().
|
inline |
References merge_hash(), and val.
Referenced by add_commutative().
|
inline |
References iterative_hash_hashval_t(), and val.
Referenced by inchash::add_hashable_expr(), canon_relative_file_name(), canon_relative_path_prefix(), cselib_hash_plus_const_int(), cselib_hash_rtx(), ipa_icf::sem_function::get_hash(), polymorphic_call_target_hasher::hash(), vec_hash_base< Type >::hash(), operand_compare::hash_operand(), hash_tree(), merge(), vn_hash_constant_with_type(), and vn_phi_compute_hash().
|
private |
Referenced by add_flag(), commit_flag(), and hash().
|
private |