OpenASIP
2.0
|
#include <ScopeSelector.hh>
Public Member Functions | |
virtual | ~ScopeSelector () |
virtual void | buildScopes ()=0 |
virtual SchedulingScope * | getScope ()=0 |
Scope selectors return one scheduling scope at a time to be scheduled.
For example, a basic block scope selector returns basic blocks from the CFG one at a time.
Definition at line 44 of file ScopeSelector.hh.
|
virtual |
Destructor for Scope Selector interface class.
Definition at line 39 of file ScopeSelector.cc.
|
pure virtual |
Builds the scopes.
This function has to be called before getScope can be called.
Definition at line 50 of file ScopeSelector.cc.
|
pure virtual |
Returns a scope to schedule next.
The client is responsible for deallocating the scopes after using This returns all scopes in program one-by-one, in undetermined order in the point-of-view of the caller.
Definition at line 63 of file ScopeSelector.cc.