Lines Matching defs:_preorders
511 uint *_preorders;
517 // Allocate _preorders[] array
520 _preorders = NEW_RESOURCE_ARRAY(uint, _max_preorder);
521 memset(_preorders, 0, sizeof(uint) * _max_preorder);
524 // Allocate _preorders[] array
527 _preorders = REALLOC_RESOURCE_ARRAY(uint, _preorders, _max_preorder, C->unique());
530 memset(_preorders, 0, sizeof(uint) * _max_preorder);
533 // Check to grow _preorders[] array for the case when build_loop_tree_impl()
538 _preorders = REALLOC_RESOURCE_ARRAY(uint, _preorders, _max_preorder, newsize);
539 memset(&_preorders[_max_preorder],0,sizeof(uint)*(newsize-_max_preorder));
544 int is_visited( Node *n ) const { return _preorders[n->_idx]; }
548 _preorders[n->_idx] = (pre_order<<1);
551 int get_preorder( Node *n ) const { assert( is_visited(n), "" ); return _preorders[n->_idx]>>1; }
555 int is_postvisited( Node *n ) const { assert( is_visited(n), "" ); return _preorders[n->_idx]&1; }
558 void set_postvisited( Node *n ) { assert( !is_postvisited( n ), "" ); _preorders[n->_idx] |= 1; }