mjplusplus  v0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
firm::Node Class Reference

#include <Node.hpp>

Public Member Functions

 Node ()
 
 Node (ir_node *node)
 
 operator ir_node * ()
 
 operator bool ()
 
bool operator== (Node const &otherNode) const
 
bool operator== (ir_node *otherNode) const
 
bool operator!= (Node const &otherNode) const
 
bool operator!= (ir_node *otherNode) const
 
Tarval getTarval () const
 
Tarval getValue () const
 
bool isConst () const
 
void setTarval (Tarval tarval)
 
void setTarvalToBad ()
 
void setTarvalToUnknown ()
 
vec< std::pair< Node, unsigned
int > > 
getOuts () const
 
Node getChild (unsigned int i) const
 
void setChild (unsigned int i, Node child)
 
unsigned int getChildCount () const
 
bool hasChildren () const
 
vec< NodegetChildren () const
 
void replaceWith (ir_node *node, bool copyTarval=false)
 
ir_mode * getMode () const
 
bool isNumericOrBool () const
 
bool isNumeric () const
 
long getNodeNumber () const
 
unsigned getOpcode () const
 

Constructor & Destructor Documentation

firm::Node::Node ( )
inline
firm::Node::Node ( ir_node *  node)

Member Function Documentation

Node firm::Node::getChild ( unsigned int  i) const
unsigned int firm::Node::getChildCount ( ) const
vec< Node > firm::Node::getChildren ( ) const
ir_mode * firm::Node::getMode ( ) const
long firm::Node::getNodeNumber ( ) const
unsigned firm::Node::getOpcode ( ) const
vec< std::pair< Node, unsigned int > > firm::Node::getOuts ( ) const
Tarval firm::Node::getTarval ( ) const
Tarval firm::Node::getValue ( ) const
bool firm::Node::hasChildren ( ) const
bool firm::Node::isConst ( ) const
bool firm::Node::isNumeric ( ) const
bool firm::Node::isNumericOrBool ( ) const
firm::Node::operator bool ( )
inline
firm::Node::operator ir_node * ( )
inline
bool firm::Node::operator!= ( Node const &  otherNode) const
inline
bool firm::Node::operator!= ( ir_node *  otherNode) const
inline
bool firm::Node::operator== ( Node const &  otherNode) const
inline
bool firm::Node::operator== ( ir_node *  otherNode) const
inline
void firm::Node::replaceWith ( ir_node *  node,
bool  copyTarval = false 
)
void firm::Node::setChild ( unsigned int  i,
Node  child 
)
void firm::Node::setTarval ( Tarval  tarval)
void firm::Node::setTarvalToBad ( )
void firm::Node::setTarvalToUnknown ( )

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