C-Breeze
C Compiler Infrastructure

[ Project home page]
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

workList Class Reference

#include <worklist.h>

List of all members.

Public Member Functions

 workList ()
int get_next_block ()
bool is_empty () const
void add_block (int position)
void remove_block (int position)
void add_all_blocks ()
void skip_current_block ()
void max_size (int size)

Private Attributes

worklist_set _worklist
int _cur_position
int _cur_size
int _max_size


Constructor & Destructor Documentation

workList::workList   [inline]
 

Definition at line 56 of file worklist.h.


Member Function Documentation

void workList::add_all_blocks  
 

Definition at line 110 of file worklist.cc.

References _cur_position, _cur_size, _max_size, and _worklist.

Referenced by procedureInfo::add_all_blocks().

void workList::add_block int    position
 

Definition at line 82 of file worklist.cc.

References _cur_size, and _worklist.

Referenced by procedureInfo::add_block().

int workList::get_next_block  
 

Definition at line 41 of file worklist.cc.

References _cur_position, _cur_size, _max_size, _worklist, and is_empty().

Referenced by procedureInfo::get_next_block().

bool workList::is_empty   const
 

Definition at line 77 of file worklist.cc.

References _cur_size.

Referenced by get_next_block(), procedureInfo::get_next_block(), procedureInfo::is_empty(), and skip_current_block().

void workList::max_size int    size [inline]
 

Definition at line 70 of file worklist.h.

Referenced by procedureInfo::procedureInfo().

void workList::remove_block int    position
 

Definition at line 101 of file worklist.cc.

References _cur_size, and _worklist.

Referenced by procedureInfo::remove_branch_blocks().

void workList::skip_current_block  
 

Definition at line 119 of file worklist.cc.

References _cur_position, _max_size, and is_empty().


Member Data Documentation

int workList::_cur_position [private]
 

Definition at line 50 of file worklist.h.

Referenced by add_all_blocks(), get_next_block(), and skip_current_block().

int workList::_cur_size [private]
 

Definition at line 51 of file worklist.h.

Referenced by add_all_blocks(), add_block(), get_next_block(), is_empty(), and remove_block().

int workList::_max_size [private]
 

Definition at line 52 of file worklist.h.

Referenced by add_all_blocks(), get_next_block(), and skip_current_block().

worklist_set workList::_worklist [private]
 

Definition at line 49 of file worklist.h.

Referenced by add_all_blocks(), add_block(), get_next_block(), and remove_block().


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

Generated on August 27, 2003
Back to the C-Breeze home page