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:

Data Structures

class  prange_format

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 Types

enum  prange_kind {
  PR_UNDEFINED , PR_VARYING , PR_ZERO , PR_NONZERO ,
  PR_FULL , PR_OTHER
}

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (prange_storage)
 prange_storage (const prange &r)
wide_int get_word (unsigned i, tree) const
template<typename T>
void set_word (unsigned i, const T &x, tree)

Private Attributes

enum prange_kind m_kind
bool m_has_bitmask
trailing_wide_ints< NINTSm_trailing_ints

Static Private Attributes

static const unsigned int NINTS = 4

Member Enumeration Documentation

◆ prange_kind

Enumerator
PR_UNDEFINED 
PR_VARYING 
PR_ZERO 
PR_NONZERO 
PR_FULL 
PR_OTHER 

Constructor & Destructor Documentation

◆ prange_storage()

prange_storage::prange_storage ( const prange & r)
private

Member Function Documentation

◆ alloc() [1/2]

◆ alloc() [2/2]

◆ DISABLE_COPY_AND_ASSIGN()

prange_storage::DISABLE_COPY_AND_ASSIGN ( prange_storage )
private

References prange_storage(), and r.

◆ dump()

void prange_storage::dump ( ) const

◆ equal_p() [1/2]

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

References get_prange(), m_kind, PR_UNDEFINED, and r.

◆ equal_p() [2/2]

bool vrange_storage::equal_p ( const vrange & r) const
inherited

◆ fits_p() [1/2]

◆ fits_p() [2/2]

◆ get_prange()

◆ get_vrange()

◆ get_word()

wide_int prange_storage::get_word ( unsigned i,
tree  ) const
inlineprivate

References i, and m_trailing_ints.

Referenced by get_prange().

◆ set_prange()

◆ set_vrange()

◆ set_word()

template<typename T>
void prange_storage::set_word ( unsigned i,
const T & x,
tree  )
inlineprivate

References i, m_trailing_ints, and T.

Referenced by set_prange().

Field Documentation

◆ m_has_bitmask

bool prange_storage::m_has_bitmask
private

Referenced by get_prange(), and set_prange().

◆ m_kind

enum prange_kind prange_storage::m_kind
private

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

◆ m_trailing_ints

trailing_wide_ints<NINTS> prange_storage::m_trailing_ints
private

◆ NINTS

const unsigned int prange_storage::NINTS = 4
staticprivate

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