GCC Middle and Back End API Reference
ana::symbolic::range< ConcreteValueType > Class Template Reference

#include <symbolic-ranges.h>

Inheritance diagram for ana::symbolic::range< ConcreteValueType >:

Public Member Functions

 range ()
 range (const scalar< ConcreteValueType > &start_offset, const scalar< ConcreteValueType > &size)
 range (const concrete::range< ConcreteValueType > &conc_range, scalar_manager< ConcreteValueType > &mgr)
complexity get_children_complexity () const
const scalar< ConcreteValueType > & get_start_offset () const
const scalar< ConcreteValueType > & get_size () const
const scalar< ConcreteValueType > & get_last_offset () const
const scalar< ConcreteValueType > & get_next_offset () const
std::unique_ptr< text_art::tree_widget > make_dump_widget (node_dump_state &nds, const char *prefix=nullptr) const
void dump () const
void log (const char *label, logger &log) const
bool operator== (const range< ConcreteValueType > &other) const
bool operator< (const range< ConcreteValueType > &other) const
complexity get_complexity () const
void accept_node_visitor (node_visitor &v) const
std::unique_ptr< json::object > to_json () const
void dump_inline_to_pp (pretty_printer *pp) const
tristate intersects (const range< ConcreteValueType > &other, const region_model &model) const
bool access_range_contains_p (const range< ConcreteValueType > &other) const
bool empty_p () const

Static Public Member Functions

static range from_endpoints (const scalar< ConcreteValueType > &start_offset, const scalar< ConcreteValueType > &next_offset)
static int cmp (const range< ConcreteValueType > &lhs, const range< ConcreteValueType > &rhs)

Private Attributes

const scalar< ConcreteValueType > * m_start_offset
const scalar< ConcreteValueType > * m_size

Constructor & Destructor Documentation

◆ range() [1/3]

template<typename ConcreteValueType>
ana::symbolic::range< ConcreteValueType >::range ( )
inline

◆ range() [2/3]

template<typename ConcreteValueType>
ana::symbolic::range< ConcreteValueType >::range ( const scalar< ConcreteValueType > & start_offset,
const scalar< ConcreteValueType > & size )
inline

◆ range() [3/3]

template<typename ConcreteValueType>
ana::symbolic::range< ConcreteValueType >::range ( const concrete::range< ConcreteValueType > & conc_range,
scalar_manager< ConcreteValueType > & mgr )
inline

Member Function Documentation

◆ accept_node_visitor()

template<typename ConcreteValueType>
void ana::symbolic::range< ConcreteValueType >::accept_node_visitor ( node_visitor & v) const

◆ access_range_contains_p()

template<typename ConcreteValueType>
bool ana::symbolic::range< ConcreteValueType >::access_range_contains_p ( const range< ConcreteValueType > & other) const

◆ cmp()

template<typename ConcreteValueType>
int ana::symbolic::range< ConcreteValueType >::cmp ( const range< ConcreteValueType > & lhs,
const range< ConcreteValueType > & rhs )
inlinestatic

◆ dump()

template<typename ConcreteValueType>
void ana::symbolic::range< ConcreteValueType >::dump ( ) const

◆ dump_inline_to_pp()

template<typename ConcreteValueType>
void ana::symbolic::range< ConcreteValueType >::dump_inline_to_pp ( pretty_printer * pp) const

◆ empty_p()

template<typename ConcreteValueType>
bool ana::symbolic::range< ConcreteValueType >::empty_p ( ) const
inline

◆ from_endpoints()

template<typename ConcreteValueType>
range ana::symbolic::range< ConcreteValueType >::from_endpoints ( const scalar< ConcreteValueType > & start_offset,
const scalar< ConcreteValueType > & next_offset )
inlinestatic

◆ get_children_complexity()

template<typename ConcreteValueType>
complexity ana::symbolic::range< ConcreteValueType >::get_children_complexity ( ) const
inline

◆ get_complexity()

template<typename ConcreteValueType>
complexity ana::symbolic::range< ConcreteValueType >::get_complexity ( ) const
inline

◆ get_last_offset()

template<typename ConcreteValueType>
const scalar< ConcreteValueType > & ana::symbolic::range< ConcreteValueType >::get_last_offset ( ) const
inline

◆ get_next_offset()

template<typename ConcreteValueType>
const scalar< ConcreteValueType > & ana::symbolic::range< ConcreteValueType >::get_next_offset ( ) const
inline

◆ get_size()

template<typename ConcreteValueType>
const scalar< ConcreteValueType > & ana::symbolic::range< ConcreteValueType >::get_size ( ) const
inline

◆ get_start_offset()

template<typename ConcreteValueType>
const scalar< ConcreteValueType > & ana::symbolic::range< ConcreteValueType >::get_start_offset ( ) const
inline

◆ intersects()

template<typename ConcreteValueType>
tristate ana::symbolic::range< ConcreteValueType >::intersects ( const range< ConcreteValueType > & other,
const region_model & model ) const

◆ log()

template<typename ConcreteValueType>
void ana::symbolic::range< ConcreteValueType >::log ( const char * label,
logger & log ) const

◆ make_dump_widget()

template<typename ConcreteValueType>
std::unique_ptr< text_art::tree_widget > ana::symbolic::range< ConcreteValueType >::make_dump_widget ( node_dump_state & nds,
const char * prefix = nullptr ) const

◆ operator<()

template<typename ConcreteValueType>
bool ana::symbolic::range< ConcreteValueType >::operator< ( const range< ConcreteValueType > & other) const
inline

◆ operator==()

template<typename ConcreteValueType>
bool ana::symbolic::range< ConcreteValueType >::operator== ( const range< ConcreteValueType > & other) const
inline

◆ to_json()

template<typename ConcreteValueType>
std::unique_ptr< json::object > ana::symbolic::range< ConcreteValueType >::to_json ( ) const

Field Documentation

◆ m_size

template<typename ConcreteValueType>
const scalar<ConcreteValueType>* ana::symbolic::range< ConcreteValueType >::m_size
private

◆ m_start_offset

template<typename ConcreteValueType>
const scalar<ConcreteValueType>* ana::symbolic::range< ConcreteValueType >::m_start_offset
private

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