GCC Middle and Back End API Reference
ana::symbolic::pointer Class Reference

#include <symbolic-pointers.h>

Collaboration diagram for ana::symbolic::pointer:

Public Types

using symbolic_byte_offset = symbolic::scalar<integer_with_unit<units::byte>>

Public Member Functions

 pointer (const cluster_region &cluster_reg, const symbolic_byte_offset &byte_offset)
void dump () const
bool operator== (const pointer &other) const
bool operator!= (const pointer &other) const
int cmp (const pointer &other) const
bool zero_offset_p () const
bool non_null_p () const
std::unique_ptr< text_art::tree_widget > make_dump_widget (node_dump_state &nds) const
void accept_node_visitor (symbolic::node_visitor &v) const
std::unique_ptr< json::object > to_json () const
const cluster_region & get_base_region () const
const cluster_region & get_cluster_region () const
const symbolic_byte_offset & get_byte_offset () const

Static Public Member Functions

static tristate eval_condition (const pointer &lhs_ptr, enum tree_code op, const pointer &rhs_ptr, const region_model &model)

Private Attributes

const cluster_region & m_cluster_reg
const symbolic_byte_offset & m_byte_offset

Detailed Description

A (cluster_region, symbolic byte offset) pair.
Note that these have a granularity of *bytes*.   

Member Typedef Documentation

◆ symbolic_byte_offset

Constructor & Destructor Documentation

◆ pointer()

ana::symbolic::pointer::pointer ( const cluster_region & cluster_reg,
const symbolic_byte_offset & byte_offset )
inline

Member Function Documentation

◆ accept_node_visitor()

void ana::symbolic::pointer::accept_node_visitor ( symbolic::node_visitor & v) const

◆ cmp()

int ana::symbolic::pointer::cmp ( const pointer & other) const

References pointer().

◆ dump()

void ana::symbolic::pointer::dump ( ) const

◆ eval_condition()

tristate ana::symbolic::pointer::eval_condition ( const pointer & lhs_ptr,
enum tree_code op,
const pointer & rhs_ptr,
const region_model & model )
static

References pointer().

◆ get_base_region()

const cluster_region & ana::symbolic::pointer::get_base_region ( ) const
inline

References m_cluster_reg.

◆ get_byte_offset()

const symbolic_byte_offset & ana::symbolic::pointer::get_byte_offset ( ) const
inline

◆ get_cluster_region()

const cluster_region & ana::symbolic::pointer::get_cluster_region ( ) const
inline

◆ make_dump_widget()

std::unique_ptr< text_art::tree_widget > ana::symbolic::pointer::make_dump_widget ( node_dump_state & nds) const

◆ non_null_p()

bool ana::symbolic::pointer::non_null_p ( ) const

◆ operator!=()

bool ana::symbolic::pointer::operator!= ( const pointer & other) const
inline

References ana::other, and pointer().

◆ operator==()

bool ana::symbolic::pointer::operator== ( const pointer & other) const
inline

◆ to_json()

std::unique_ptr< json::object > ana::symbolic::pointer::to_json ( ) const

◆ zero_offset_p()

bool ana::symbolic::pointer::zero_offset_p ( ) const
inline

Field Documentation

◆ m_byte_offset

const symbolic_byte_offset& ana::symbolic::pointer::m_byte_offset
private

◆ m_cluster_reg

const cluster_region& ana::symbolic::pointer::m_cluster_reg
private

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