GCC Middle and Back End API Reference
prange_storage Class Reference

#include <value-range-storage.h>

Inheritance diagram for prange_storage:
Collaboration diagram for prange_storage:

Public Member Functions

void set_prange (const prange &r)
 
void get_prange (prange &r, tree type) const
 
bool equal_p (const prange &r) const
 
bool fits_p (const prange &r) const
 
void dump () const
 
void get_vrange (vrange &r, tree type) const
 
void set_vrange (const vrange &r)
 
bool fits_p (const vrange &r) const
 
bool equal_p (const vrange &r) const
 

Static Public Member Functions

static prange_storagealloc (vrange_internal_alloc &, const prange &)
 
static vrange_storagealloc (vrange_internal_alloc &, const vrange &)
 

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (prange_storage)
 
 prange_storage (const prange &r)
 
wide_int get_low () const
 
wide_int get_high () const
 
wide_int get_value () const
 
wide_int get_mask () const
 
template<typename T >
void set_low (const T &x)
 
template<typename T >
void set_high (const T &x)
 
template<typename T >
void set_value (const T &x)
 
template<typename T >
void set_mask (const T &x)
 

Private Attributes

enum value_range_kind m_kind: 3
 
trailing_wide_ints< NINTSm_trailing_ints
 

Static Private Attributes

static const unsigned int NINTS = 4
 

Constructor & Destructor Documentation

◆ prange_storage()

prange_storage::prange_storage ( const prange & r)
private

Member Function Documentation

◆ alloc() [1/2]

◆ alloc() [2/2]

vrange_storage * vrange_storage::alloc ( vrange_internal_alloc & allocator,
const vrange & r )
staticinherited

◆ DISABLE_COPY_AND_ASSIGN()

prange_storage::DISABLE_COPY_AND_ASSIGN ( prange_storage )
private

◆ dump()

void prange_storage::dump ( ) const

◆ equal_p() [1/2]

bool prange_storage::equal_p ( const prange & r) const

◆ equal_p() [2/2]

◆ fits_p() [1/2]

bool prange_storage::fits_p ( const prange & r) const

◆ fits_p() [2/2]

◆ get_high()

wide_int prange_storage::get_high ( ) const
inlineprivate

References m_trailing_ints.

Referenced by get_prange().

◆ get_low()

wide_int prange_storage::get_low ( ) const
inlineprivate

References m_trailing_ints.

Referenced by get_prange().

◆ get_mask()

wide_int prange_storage::get_mask ( ) const
inlineprivate

References m_trailing_ints.

Referenced by get_prange().

◆ get_prange()

◆ get_value()

wide_int prange_storage::get_value ( ) const
inlineprivate

References m_trailing_ints.

Referenced by get_prange().

◆ get_vrange()

◆ set_high()

template<typename T >
void prange_storage::set_high ( const T & x)
inlineprivate

References m_trailing_ints.

Referenced by set_prange().

◆ set_low()

template<typename T >
void prange_storage::set_low ( const T & x)
inlineprivate

References m_trailing_ints.

Referenced by set_prange().

◆ set_mask()

template<typename T >
void prange_storage::set_mask ( const T & x)
inlineprivate

References m_trailing_ints.

Referenced by set_prange().

◆ set_prange()

◆ set_value()

template<typename T >
void prange_storage::set_value ( const T & x)
inlineprivate

References m_trailing_ints.

Referenced by set_prange().

◆ set_vrange()

Field Documentation

◆ m_kind

enum value_range_kind prange_storage::m_kind
private

Referenced by equal_p(), get_prange(), and set_prange().

◆ m_trailing_ints

◆ NINTS

const unsigned int prange_storage::NINTS = 4
staticprivate

The documentation for this class was generated from the following files: