PandA-2024.02
Public Member Functions | Static Public Member Functions | Private Attributes
ValueRange Class Reference
Inheritance diagram for ValueRange:
Inheritance graph
[legend]

Public Member Functions

 ValueRange (const RangeConstRef &range)
 
virtual ~ValueRange ()=default
 
 ValueRange (const ValueRange &)=delete
 
 ValueRange (ValueRange &&)=delete
 
ValueRangeoperator= (const ValueRange &)=delete
 
ValueRangeoperator= (ValueRange &&)=delete
 
virtual ValueRangeType getValueId () const
 
RangeConstRef getRange () const
 Returns the range of this interval. More...
 
void setRange (const RangeConstRef &newRange)
 Sets the range of this interval to another range. More...
 
virtual void print (std::ostream &OS) const
 Pretty print. More...
 
std::string ToString () const
 

Static Public Member Functions

static bool classof (ValueRange const *)
 

Private Attributes

RangeConstRef range
 

Detailed Description

Definition at line 1537 of file Range_Analysis.cpp.

Constructor & Destructor Documentation

◆ ValueRange() [1/3]

ValueRange::ValueRange ( const RangeConstRef &  range)
explicit

Definition at line 1576 of file Range_Analysis.cpp.

◆ ~ValueRange()

virtual ValueRange::~ValueRange ( )
virtualdefault

◆ ValueRange() [2/3]

ValueRange::ValueRange ( const ValueRange )
delete

◆ ValueRange() [3/3]

ValueRange::ValueRange ( ValueRange &&  )
delete

Member Function Documentation

◆ classof()

static bool ValueRange::classof ( ValueRange const *  )
inlinestatic

Definition at line 1555 of file Range_Analysis.cpp.

◆ getRange()

RangeConstRef ValueRange::getRange ( ) const
inline

Returns the range of this interval.

Definition at line 1561 of file Range_Analysis.cpp.

Referenced by print(), and SymbRange::solveFuture().

Here is the caller graph for this function:

◆ getValueId()

virtual ValueRangeType ValueRange::getValueId ( ) const
inlinevirtual

Reimplemented in SymbRange.

Definition at line 1551 of file Range_Analysis.cpp.

References ValueRangeId.

Referenced by SymbRange::classof().

Here is the caller graph for this function:

◆ operator=() [1/2]

ValueRange& ValueRange::operator= ( const ValueRange )
delete

◆ operator=() [2/2]

ValueRange& ValueRange::operator= ( ValueRange &&  )
delete

◆ print()

void ValueRange::print ( std::ostream &  OS) const
virtual

Pretty print.

Reimplemented in SymbRange.

Definition at line 1581 of file Range_Analysis.cpp.

References getRange().

Referenced by SymbRange::getBound(), operator<<(), and ToString().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRange()

void ValueRange::setRange ( const RangeConstRef &  newRange)
inline

Sets the range of this interval to another range.

Definition at line 1566 of file Range_Analysis.cpp.

References VarNode::print(), and VarNode::ToString().

Here is the call graph for this function:

◆ ToString()

std::string ValueRange::ToString ( ) const

Definition at line 1586 of file Range_Analysis.cpp.

References print().

Referenced by OpNode::getSink().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ range

RangeConstRef ValueRange::range
private

Definition at line 1540 of file Range_Analysis.cpp.


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

Generated on Mon Feb 12 2024 13:04:09 for PandA-2024.02 by doxygen 1.8.13