#include <wn_tree_util.h>


Public Types | |
| typedef WN_TREE_ITER_base< WHIRL > | self |
| typedef std::forward_iterator_tag | iterator_category |
| typedef WHIRL | value_type |
| typedef ptrdiff_t | difference_type |
| typedef value_type * | pointer |
| typedef const value_type & | const_reference |
| typedef value_type & | reference |
| typedef vector< pair< WHIRL, INT32 > > | WN_STACK |
Public Member Functions | |
| WHIRL | Wn (void) const |
| const WN_STACK & | Parent (void) const |
| void | Set_wn (WHIRL wn2) |
| void | Set_parent (const WN_STACK &parent2) |
| INT | Get_kid_index (void) const |
| void | Pop () |
| WHIRL | Get_parent_wn (void) const |
| INT | Depth () |
| WN_TREE_ITER_base () | |
| WN_TREE_ITER_base (WHIRL wn2) | |
| reference | operator* () |
| void | Replace (WHIRL new_wn) |
Protected Member Functions | |
| void | Set_kid_index (INT i) |
| INT | Inc_kid_index (void) |
| void | Push () |
Protected Attributes | |
| WHIRL | _wn |
| WN_STACK | _parent |
Definition at line 162 of file wn_tree_util.h.
| typedef const value_type& WN_TREE_ITER_base< WHIRL >::const_reference |
Definition at line 181 of file wn_tree_util.h.
| typedef ptrdiff_t WN_TREE_ITER_base< WHIRL >::difference_type |
Definition at line 179 of file wn_tree_util.h.
| typedef std::forward_iterator_tag WN_TREE_ITER_base< WHIRL >::iterator_category |
Definition at line 177 of file wn_tree_util.h.
| typedef value_type* WN_TREE_ITER_base< WHIRL >::pointer |
Definition at line 180 of file wn_tree_util.h.
| typedef value_type& WN_TREE_ITER_base< WHIRL >::reference |
Definition at line 182 of file wn_tree_util.h.
| typedef WN_TREE_ITER_base<WHIRL> WN_TREE_ITER_base< WHIRL >::self |
Definition at line 176 of file wn_tree_util.h.
| typedef WHIRL WN_TREE_ITER_base< WHIRL >::value_type |
Definition at line 178 of file wn_tree_util.h.
| typedef vector<pair<WHIRL,INT32> > WN_TREE_ITER_base< WHIRL >::WN_STACK |
Definition at line 183 of file wn_tree_util.h.
| WN_TREE_ITER_base< WHIRL >::WN_TREE_ITER_base | ( | ) | [inline] |
Definition at line 261 of file wn_tree_util.h.
| WN_TREE_ITER_base< WHIRL >::WN_TREE_ITER_base | ( | WHIRL | wn2 | ) | [inline] |
Definition at line 265 of file wn_tree_util.h.
| INT WN_TREE_ITER_base< WHIRL >::Depth | ( | ) | [inline] |
Definition at line 243 of file wn_tree_util.h.
Referenced by WN_TREE_put_expr().
| INT WN_TREE_ITER_base< WHIRL >::Get_kid_index | ( | void | ) | const [inline] |
Definition at line 202 of file wn_tree_util.h.
Referenced by cleanUpPUInfo(), WN_TREE_ITER_base< WN * >::Replace(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Unwind(), and WN_TREE_ITER< POST_ORDER, WHIRL >::WN_TREE_next().
| WHIRL WN_TREE_ITER_base< WHIRL >::Get_parent_wn | ( | void | ) | const [inline] |
Definition at line 239 of file wn_tree_util.h.
Referenced by cleanUpPUInfo(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Delete(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Insert(), WN_TREE_ITER_base< WN * >::Pop(), WN_TREE_ITER_base< WN * >::Replace(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Unwind(), WN_TREE_ITER< POST_ORDER, WHIRL >::WN_TREE_next(), and WN_TREE_put_expr().
| INT WN_TREE_ITER_base< WHIRL >::Inc_kid_index | ( | void | ) | [inline, protected] |
Definition at line 207 of file wn_tree_util.h.
Referenced by WN_TREE_ITER< PRE_ORDER, WHIRL >::Unwind(), and WN_TREE_ITER< POST_ORDER, WHIRL >::WN_TREE_next().
| reference WN_TREE_ITER_base< WHIRL >::operator* | ( | ) | [inline] |
Definition at line 268 of file wn_tree_util.h.
| const WN_STACK& WN_TREE_ITER_base< WHIRL >::Parent | ( | void | ) | const [inline] |
Definition at line 195 of file wn_tree_util.h.
| void WN_TREE_ITER_base< WHIRL >::Pop | ( | void | ) | [inline] |
Definition at line 233 of file wn_tree_util.h.
Referenced by WN_TREE_ITER< PRE_ORDER, WHIRL >::Delete(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Skip(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Unwind(), and WN_TREE_ITER< POST_ORDER, WHIRL >::WN_TREE_next().
| void WN_TREE_ITER_base< WHIRL >::Push | ( | ) | [inline, protected] |
Definition at line 215 of file wn_tree_util.h.
Referenced by WN_TREE_ITER< POST_ORDER, WHIRL >::Wind(), and WN_TREE_ITER< PRE_ORDER, WHIRL >::WN_TREE_next().
| void WN_TREE_ITER_base< WHIRL >::Replace | ( | WHIRL | new_wn | ) | [inline] |
Definition at line 278 of file wn_tree_util.h.
| void WN_TREE_ITER_base< WHIRL >::Set_kid_index | ( | INT | i | ) | [inline, protected] |
Definition at line 206 of file wn_tree_util.h.
| void WN_TREE_ITER_base< WHIRL >::Set_parent | ( | const WN_STACK & | parent2 | ) | [inline] |
Definition at line 200 of file wn_tree_util.h.
| void WN_TREE_ITER_base< WHIRL >::Set_wn | ( | WHIRL | wn2 | ) | [inline] |
Definition at line 199 of file wn_tree_util.h.
Referenced by WN_TREE_ITER_base< WN * >::Pop(), WN_TREE_ITER_base< WN * >::Push(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Unwind(), WN_TREE_ITER< POST_ORDER, WHIRL >::WN_TREE_next(), and WN_TREE_ITER< PRE_ORDER, WHIRL >::WN_TREE_next().
| WHIRL WN_TREE_ITER_base< WHIRL >::Wn | ( | void | ) | const [inline] |
Definition at line 194 of file wn_tree_util.h.
Referenced by cleanUpPUInfo(), operator!=(), operator==(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Unwind(), W2F_Outfile_Translate_Pu(), WN_TREE_put_expr(), WN_TREE_put_stmt(), and WN_TREE_walk().
WN_STACK WN_TREE_ITER_base< WHIRL >::_parent [protected] |
Definition at line 188 of file wn_tree_util.h.
Referenced by WN_TREE_ITER_base< WN * >::Depth(), WN_TREE_ITER_base< WN * >::Get_kid_index(), WN_TREE_ITER_base< WN * >::Get_parent_wn(), WN_TREE_ITER_base< WN * >::Inc_kid_index(), WN_TREE_ITER_base< WN * >::Parent(), WN_TREE_ITER_base< WN * >::Pop(), WN_TREE_ITER_base< WN * >::Push(), WN_TREE_ITER_base< WN * >::Set_kid_index(), WN_TREE_ITER_base< WN * >::Set_parent(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Skip(), and WN_TREE_ITER< PRE_ORDER, WHIRL >::WN_TREE_next().
WHIRL WN_TREE_ITER_base< WHIRL >::_wn [protected] |
Definition at line 187 of file wn_tree_util.h.
Referenced by WN_TREE_ITER< PRE_ORDER, WHIRL >::Delete(), WN_TREE_ITER< PRE_ORDER, WHIRL >::Insert(), WN_TREE_ITER_base< WN * >::operator*(), WN_TREE_ITER_base< WN * >::Push(), WN_TREE_ITER_base< WN * >::Replace(), WN_TREE_ITER_base< WN * >::Set_wn(), WN_TREE_ITER< POST_ORDER, WHIRL >::Wind(), WN_TREE_ITER_base< WN * >::Wn(), WN_TREE_ITER< POST_ORDER, WHIRL >::WN_TREE_next(), and WN_TREE_ITER< PRE_ORDER, WHIRL >::WN_TREE_next().
1.7.1