GCC Middle and Back End API Reference
ana::symbolic::node_set< NodeClass > Class Template Reference

#include <symbolic-nodes.h>

Inheritance diagram for ana::symbolic::node_set< NodeClass >:
Collaboration diagram for ana::symbolic::node_set< NodeClass >:

Public Member Functions

void add (const NodeClass *n)
bool contains (const NodeClass *n) const
node_set< NodeClass > union_ (const node_set< NodeClass > &other) const
std::unique_ptr< text_art::tree_widget > make_dump_widget (node_dump_state &nds, const char *prefix=nullptr) const
void dump_to_pp (pretty_printer *pp, bool show_ids=true, bool elide_repeated_nodes=true) const
void dump () const
bool operator< (const node_set< NodeClass > &other) const

Detailed Description

template<typename NodeClass>
class ana::symbolic::node_set< NodeClass >
A set of symbolic::node instances.   

Member Function Documentation

◆ add()

template<typename NodeClass>
void ana::symbolic::node_set< NodeClass >::add ( const NodeClass * n)
inline

Referenced by union_().

◆ contains()

template<typename NodeClass>
bool ana::symbolic::node_set< NodeClass >::contains ( const NodeClass * n) const

◆ dump()

template<typename NodeClass>
void ana::symbolic::node_set< NodeClass >::dump ( ) const

◆ dump_to_pp()

template<typename NodeClass>
void ana::symbolic::node_set< NodeClass >::dump_to_pp ( pretty_printer * pp,
bool show_ids = true,
bool elide_repeated_nodes = true ) const

◆ make_dump_widget()

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

◆ operator<()

template<typename NodeClass>
bool ana::symbolic::node_set< NodeClass >::operator< ( const node_set< NodeClass > & other) const
inline

References begin(), end(), and ana::other.

◆ union_()

template<typename NodeClass>
node_set< NodeClass > ana::symbolic::node_set< NodeClass >::union_ ( const node_set< NodeClass > & other) const

References add(), and ana::other.


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