GCC Middle and Back End API Reference
|
Public Types | |
typedef auto_vec< std::pair< gphi *, tree > > | mapping_vec |
Public Member Functions | |
condition_info () | |
int | popcount () const |
condition_info (gcond *cond, bool has_side_effect) | |
void | record_phi_mapping (edge e, mapping_vec *vec) |
Describes a single conditional expression and the (recorded) conditions shown to independently affect the outcome.
auto_vec<std::pair<gphi *, tree> > condition_info::mapping_vec |
condition_info::condition_info | ( | ) |
int condition_info::popcount | ( | ) | const |
References falsev, popcount_hwi(), and truev.
Referenced by add_condition_counts(), output_conditions(), and output_intermediate_json_line().
void condition_info::record_phi_mapping | ( | edge | e, |
mapping_vec * | vec ) |
Recond PHI mapping for an original edge E and save these into vector VEC.
References gsi_end_p(), gsi_next(), gsi_start_phis(), and PHI_ARG_DEF_FROM_EDGE.
Referenced by find_conditions().
gcov_type_unsigned condition_info::falsev |
Referenced by output_conditions(), output_intermediate_json_line(), and popcount().
basic_block condition_info::m_bb |
Referenced by convert_if_conditions_to_switch().
gcond* condition_info::m_cond |
Referenced by convert_if_conditions_to_switch().
edge condition_info::m_false_edge |
Referenced by convert_if_conditions_to_switch(), and find_conditions().
mapping_vec condition_info::m_false_edge_phi_mapping |
Referenced by convert_if_conditions_to_switch(), and find_conditions().
basic_block condition_info::m_forwarder_bb |
Referenced by convert_if_conditions_to_switch().
bool condition_info::m_has_side_effect |
auto_vec<range_entry> condition_info::m_ranges |
Referenced by condition_info(), convert_if_conditions_to_switch(), find_conditions(), and if_chain::is_beneficial().
edge condition_info::m_true_edge |
Referenced by convert_if_conditions_to_switch(), find_conditions(), and if_chain::is_beneficial().
mapping_vec condition_info::m_true_edge_phi_mapping |
Referenced by convert_if_conditions_to_switch(), find_conditions(), and if_chain::is_beneficial().
unsigned condition_info::n_terms |
Referenced by add_condition_counts(), output_conditions(), output_intermediate_json_line(), and read_graph_file().
gcov_type_unsigned condition_info::truev |
Referenced by output_conditions(), output_intermediate_json_line(), and popcount().