Otawa  0.10
otawa::PERSBranch::Item Class Reference

#include <otawa/branch/BranchProblem.h>

Public Member Functions

 Item (const int _size, const int _A)
 
 ~Item ()
 
 Item (const Item &source)
 
Itemoperator= (const Item &src)
 
void lub (const Item &dom)
 
bool equals (const Item &dom) const
 
void empty ()
 
bool contains (const int id)
 
void inject (MUSTBranch::Domain *must, const int id)
 
bool isWiped (const int id)
 
bool isPersistent (const int id)
 
int getAge (const int id) const
 
void print (elm::io::Output &output) const
 

Public Attributes

int * age
 

Private Attributes

int A
 
int size
 

Constructor & Destructor Documentation

otawa::PERSBranch::Item::Item ( const int  _size,
const int  _A 
)
inline

References age, and size.

otawa::PERSBranch::Item::~Item ( )
inline

References age.

otawa::PERSBranch::Item::Item ( const Item source)
inline

References age, and size.

Member Function Documentation

bool otawa::PERSBranch::Item::contains ( const int  id)
inline

References age.

Referenced by isPersistent().

bool otawa::PERSBranch::Item::equals ( const Item dom) const
inline

References A, age, and size.

Referenced by otawa::PERSBranch::Domain::equals().

int otawa::PERSBranch::Item::getAge ( const int  id) const
inline

References age.

void otawa::PERSBranch::Item::inject ( MUSTBranch::Domain must,
const int  id 
)
inline
bool otawa::PERSBranch::Item::isPersistent ( const int  id)
inline

References contains(), and isWiped().

bool otawa::PERSBranch::Item::isWiped ( const int  id)
inline

References A, and age.

Referenced by isPersistent().

void otawa::PERSBranch::Item::lub ( const Item dom)
inline

References age, and size.

Referenced by otawa::PERSBranch::Domain::lub().

Item& otawa::PERSBranch::Item::operator= ( const Item src)
inline

References A, age, and size.

void otawa::PERSBranch::Item::print ( elm::io::Output output) const
inline

References age, and size.

Referenced by otawa::PERSBranch::Domain::print().

Member Data Documentation

int otawa::PERSBranch::Item::A
private

Referenced by equals(), inject(), isWiped(), and operator=().

int* otawa::PERSBranch::Item::age
int otawa::PERSBranch::Item::size
private

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