OpenASIP
2.0
|
#include <BasicBlockSelector.hh>
Public Member Functions | |
BasicBlockSelector () | |
virtual | ~BasicBlockSelector () |
virtual void | buildScopes () |
virtual SchedulingScope * | getScope () |
Public Member Functions inherited from SchedulingScope | |
SchedulingScope () | |
virtual | ~SchedulingScope () |
A scope selector that returns returns basic blocks from control flow graphs one at a time.
Definition at line 42 of file BasicBlockSelector.hh.
BasicBlockSelector::BasicBlockSelector | ( | ) |
Constructor for BasicBlockSelector class.
Definition at line 39 of file BasicBlockSelector.cc.
|
virtual |
Destructor for BasicBlockSelector class.
Definition at line 45 of file BasicBlockSelector.cc.
|
virtual |
Builds the scopes.
This function has to be called before getScope can be called.
Definition at line 56 of file BasicBlockSelector.cc.
References abortWithError.
|
virtual |
Returns a basic block to schedule next.
The client is responsible for deallocating the returned basic block after using. This returns all basic blocks in the program one-by-one, one procedure at a time, until all basic blocks have been returned.
Definition at line 70 of file BasicBlockSelector.cc.
References abortWithError.