GCC Middle and Back End API Reference
if_chain Struct Reference
Collaboration diagram for if_chain:

Public Member Functions

 if_chain ()
 
 ~if_chain ()
 
bool check_non_overlapping_cases ()
 
bool is_beneficial ()
 

Data Fields

vec< condition_info * > m_entries
 

Detailed Description

Master structure for one if to switch conversion candidate.   

Constructor & Destructor Documentation

◆ if_chain()

if_chain::if_chain ( )
inline

References m_entries.

◆ ~if_chain()

if_chain::~if_chain ( )
inline

References m_entries.

Member Function Documentation

◆ check_non_overlapping_cases()

bool if_chain::check_non_overlapping_cases ( )
Verify that all case ranges do not overlap.   

References ggc_alloc(), range_entry::high, i, range_entry::low, m_entries, range_cmp(), and tree_int_cst_le().

◆ is_beneficial()

Field Documentation

◆ m_entries


The documentation for this struct was generated from the following file: