ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ipConstant Class Reference

#include <constantprop.h>

Public Member Functions

void intern ()
 
void assign (const ipConstant &other)
 
bool diff (ipConstant &other) const
 
void meet_with (const ipConstant &other)
 
void binary_operator (const Operator *op, const ipConstant &right_operand)
 
void unary_operator (const Operator *op)
 
void cast_operator (const typeNode *type)
 
void print (ostream &o)
 

Private Member Functions

 ipConstant (constant &value)
 
 ipConstant ()
 
 ipConstant (const ipConstant &other)
 
 ~ipConstant ()
 
void to_bottom ()
 
bool is_top () const
 
bool is_bottom () const
 
const constant & value () const
 
constant & value ()
 

Private Attributes

constant _value
 
bool _top
 
bool _internal
 

Detailed Description

Definition at line 14 of file constantprop.h.

Constructor & Destructor Documentation

ipConstant::ipConstant ( constant &  value)
private
ipConstant::ipConstant ( )
private
ipConstant::ipConstant ( const ipConstant other)
private
ipConstant::~ipConstant ( )
private

Member Function Documentation

void ipConstant::to_bottom ( )
private
bool ipConstant::is_top ( ) const
private
bool ipConstant::is_bottom ( ) const
private
const constant& ipConstant::value ( ) const
inlineprivate

Definition at line 33 of file constantprop.h.

References _value.

constant& ipConstant::value ( )
inlineprivate

Definition at line 34 of file constantprop.h.

References _value.

void ipConstant::intern ( )
inline

Definition at line 38 of file constantprop.h.

References _internal.

void ipConstant::assign ( const ipConstant other)
bool ipConstant::diff ( ipConstant other) const
void ipConstant::meet_with ( const ipConstant other)
void ipConstant::binary_operator ( const Operator *  op,
const ipConstant right_operand 
)
void ipConstant::unary_operator ( const Operator *  op)
void ipConstant::cast_operator ( const typeNode *  type)
void ipConstant::print ( ostream &  o)

Member Data Documentation

constant ipConstant::_value
private

Definition at line 18 of file constantprop.h.

Referenced by value().

bool ipConstant::_top
private

Definition at line 19 of file constantprop.h.

bool ipConstant::_internal
private

Definition at line 20 of file constantprop.h.

Referenced by intern().


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