OpenASIP  2.0
Public Member Functions | List of all members
BasicBlockSelector Class Reference

#include <BasicBlockSelector.hh>

Inheritance diagram for BasicBlockSelector:
Inheritance graph
Collaboration diagram for BasicBlockSelector:
Collaboration graph

Public Member Functions

 BasicBlockSelector ()
 
virtual ~BasicBlockSelector ()
 
virtual void buildScopes ()
 
virtual SchedulingScopegetScope ()
 
- Public Member Functions inherited from SchedulingScope
 SchedulingScope ()
 
virtual ~SchedulingScope ()
 

Detailed Description

A scope selector that returns returns basic blocks from control flow graphs one at a time.

Definition at line 42 of file BasicBlockSelector.hh.

Constructor & Destructor Documentation

◆ BasicBlockSelector()

BasicBlockSelector::BasicBlockSelector ( )

Constructor for BasicBlockSelector class.

Definition at line 39 of file BasicBlockSelector.cc.

39  {
40 }

◆ ~BasicBlockSelector()

BasicBlockSelector::~BasicBlockSelector ( )
virtual

Destructor for BasicBlockSelector class.

Definition at line 45 of file BasicBlockSelector.cc.

45  {
46 }

Member Function Documentation

◆ buildScopes()

void BasicBlockSelector::buildScopes ( )
virtual

Builds the scopes.

This function has to be called before getScope can be called.

Note
Why? What's wrong with constructors?

Definition at line 56 of file BasicBlockSelector.cc.

56  {
57  abortWithError("Not yet implemented.");
58 }

References abortWithError.

◆ getScope()

SchedulingScope * BasicBlockSelector::getScope ( )
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.

Returns
SchedulingScope, or NULL if all scopes already given.

Definition at line 70 of file BasicBlockSelector.cc.

70  {
71  abortWithError("Not yet implemented.");
72  return NULL;
73 }

References abortWithError.


The documentation for this class was generated from the following files:
abortWithError
#define abortWithError(message)
Definition: Application.hh:72