Polaris: DDgraphTester Class Reference

DDgraphTester Class Reference

List of all members.

Public Member Functions

 DDgraphTester (ProgramUnit &PU)
 ~DDgraphTester ()
void add (int num_of_dvfs)
void show_active_arcs ()
 ... End of add()
void merge_DVF (int dditer_num)
void show_arcs ()
 ... End of show_active_arcs()
void add_dditerator (int num_of_dditer)
 ... End of show_arcs()
void del_dditerator (int dditer_num)
 ... End of add_dditerator()
void show_dditerator ()
void del_current (int dditer_num)
 ... End of show_ddviterator()
void prev_current (int dditer_num)
 ... End of del_current()
void next_current (int dditer_num)
 ... End of prev()
void grab_current (int dditer_num)
 ... End of next_current()
void show_program ()
 ... End of grab()
void reset (int dditer_num)
void set_to_last (int dditer_num)

Constructor & Destructor Documentation

DDgraphTester::DDgraphTester ProgramUnit PU  )  [inline]
 

Definition at line 25 of file DDGtester.cc.

DDgraphTester::~DDgraphTester  )  [inline]
 

Definition at line 31 of file DDGtester.cc.

References DDI_list::iter, and DDI_list::next.


Member Function Documentation

void DDgraphTester::add int  num_of_dvfs  ) 
 

... End of for

Definition at line 143 of file DDGtester.cc.

References _ANTI, _ASSUMED, DVfield::_dv, RefSet< T >::_element(), _EQ, _FLOW, _GE, _GT, _INPUT, _LE, _LT, _NEQ, _OUTPUT, _PROVED, _STAR, DDgraph::add(), Iterator< T >::current(), RefSet< T >::entries(), Statement::in_refs(), List< T >::ins_first(), List< T >::ins_last(), StmtList::iterator(), Statement::out_refs(), Iterator< T >::reset(), Statement::tag(), and Iterator< T >::valid().

void DDgraphTester::show_active_arcs  ) 
 

... End of add()

... COMMON DATA

... Source Expression

... Target Statement & Expression

... DVfield LIST

... EACH DV

... End of for

Definition at line 246 of file DDGtester.cc.

References DDgraph::_active_arcs, _ANTI, DVfield::_dep_decided, DVfield::_dep_type, DVfield::_dv, _EQ, _FLOW, DVfield::_from_expr, DVfield::_from_stmt, _GE, _GT, _INPUT, _LE, _LT, _NEQ, ActiveArc::_next_arc, _OUTPUT, ActiveArc::_prev_arc, _PROVED, DVfield::_references, ActiveArc::_references, ActiveArc::_source_expr, ActiveArc::_source_stmt, _STAR, ActiveArc::_target_expr, ActiveArc::_target_stmt, ActiveArc::_this_arc, DVfield::_to_expr, DVfield::_to_stmt, _UNKNOWN, DVfield::_valid, ActiveArc::_working_dv_fields, Iterator< T >::current(), ElementDV::direction(), Statement::in_refs(), Statement::out_refs(), Statement::tag(), and Iterator< T >::valid().

void DDgraphTester::merge_DVF int  dditer_num  ) 
 

Definition at line 74 of file DDGtester.cc.

References DDiterator::_active_arc, ActiveArc::_working_dv_fields, DDI_list::id, DDI_list::iter, merge_DVs(), and DDI_list::next.

void DDgraphTester::show_arcs  ) 
 

... End of show_active_arcs()

... FOR IN_REFS()

... Iterate over all DVfields in this arc

... TARGET statment & expression, and ACTIVE BIT

... EACH FIELD in DVfield head

... DIRECTIONS in DV

... End of if ... FOR OUR_REFS()

... Iterate over all DVfields in this arc

... TARGET statment & expression, and ACTIVE BIT

... EACH FIELD in DVfield head

... DIRECTIONS in DV

... End of if

Definition at line 362 of file DDGtester.cc.

References _ANTI, _ASSUMED, _DELIM, _EQ, _FLOW, _GE, _GT, _INPUT, _LE, _LT, _NEQ, _NORMAL, _OUTPUT, _PROVED, _REVERSE, _STAR, _UNKNOWN, Arc_type, DDgraph::arcs_ptr(), Iterator< T >::current(), DDgraph::data_field(), DDgraph::dep_decision(), DDgraph::dep_direction(), DDgraph::dep_type(), DDgraph::direction(), Statement::in_refs(), DDgraph::is_active(), DDgraph::is_new_dvfield(), StmtList::iterator(), DDgraph::next_arc(), Statement::out_refs(), Statement::tag(), DDgraph::target_expr(), DDgraph::target_stmt(), and Iterator< T >::valid().

void DDgraphTester::add_dditerator int  num_of_dditer  ) 
 

... End of show_arcs()

... a Statement List - From

... a Statement List - To

... CASE1: From = stmt list, To = stmt list

... a Pair of a Stmt & an Expr

... Stmt tag & Expr num are found legal

... From-part == Pair

... Stmt tag or Expr num is found illegal

... a Statement List - To

... a Pair of a Stmt & an Expr

... Stmt tag & Expr num are found legal

Definition at line 573 of file DDGtester.cc.

References Iterator< T >::current(), RefSet< T >::entries(), RefList< T >::entries(), DDI_list::id, Statement::in_refs(), RefList< T >::ins_last(), DDI_list::iter, StmtList::iterator(), DDI_list::next, Statement::out_refs(), Iterator< T >::reset(), Statement::tag(), and Iterator< T >::valid().

void DDgraphTester::del_dditerator int  dditer_num  ) 
 

... End of add_dditerator()

Definition at line 855 of file DDGtester.cc.

References DDI_list::id, DDI_list::iter, and DDI_list::next.

void DDgraphTester::show_dditerator  ) 
 

Definition at line 881 of file DDGtester.cc.

References DDgraph::_active_arcs, _EXPR, _STMTS, ActiveArc::_working_dv_fields, Iterator< T >::current(), Iterator< T >::end(), DDI_list::id, DDI_list::next, and Iterator< T >::valid().

void DDgraphTester::del_current int  dditer_num  ) 
 

... End of show_ddviterator()

Definition at line 927 of file DDGtester.cc.

References DDiterator::del(), DDI_list::id, DDI_list::iter, and DDI_list::next.

void DDgraphTester::prev_current int  dditer_num  ) 
 

... End of del_current()

Definition at line 950 of file DDGtester.cc.

References DDI_list::id, DDI_list::iter, and DDI_list::next.

void DDgraphTester::next_current int  dditer_num  ) 
 

... End of prev()

Definition at line 973 of file DDGtester.cc.

References DDI_list::id, DDI_list::iter, and DDI_list::next.

void DDgraphTester::grab_current int  dditer_num  ) 
 

... End of next_current()

Definition at line 996 of file DDGtester.cc.

References DDiterator::grab(), DDI_list::id, DDI_list::iter, and DDI_list::next.

void DDgraphTester::show_program  ) 
 

... End of grab()

... Avoid this ENTRY_STMT

Definition at line 1019 of file DDGtester.cc.

References Iterator< T >::current(), ENTRY_STMT, FLOW_ENTRY_STMT, Statement::post_directives(), Statement::pre_directives(), Statement::stmt_class(), Statement::tag(), List< T >::valid(), Iterator< T >::valid(), and Statement::write().

void DDgraphTester::reset int  dditer_num  ) 
 

Definition at line 96 of file DDGtester.cc.

References DDI_list::id, DDI_list::iter, DDI_list::next, and DDiterator::reset().

void DDgraphTester::set_to_last int  dditer_num  ) 
 

Definition at line 118 of file DDGtester.cc.

References DDI_list::id, DDI_list::iter, DDI_list::next, and DDiterator::set_to_last().


The documentation for this class was generated from the following file:
 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:07:09 2005