OpenASIP 2.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SchedulerPass Class Referenceabstract

#include <SchedulerPass.hh>

Inheritance diagram for SchedulerPass:
Inheritance graph
Collaboration diagram for SchedulerPass:
Collaboration graph

Public Member Functions

 SchedulerPass (InterPassData &data)
 
virtual ~SchedulerPass ()
 
InterPassDatainterPassData ()
 
virtual std::string shortDescription () const =0
 
virtual std::string longDescription () const
 

Private Attributes

InterPassDatadata_
 arbitrary data stored by different passes for inter-pass communication
 

Detailed Description

Interface for scheduler passes with different scopes.

Definition at line 43 of file SchedulerPass.hh.

Constructor & Destructor Documentation

◆ SchedulerPass()

SchedulerPass::SchedulerPass ( InterPassData data)

Constructor.

Parameters
dataThe container that stores data passed between scheduler passes.

Definition at line 40 of file SchedulerPass.cc.

40 :
41 data_(&data) {
42}
InterPassData * data_
arbitrary data stored by different passes for inter-pass communication

◆ ~SchedulerPass()

virtual SchedulerPass::~SchedulerPass ( )
inlinevirtual

Definition at line 46 of file SchedulerPass.hh.

46{};

Member Function Documentation

◆ interPassData()

InterPassData & SchedulerPass::interPassData ( )

◆ longDescription()

std::string SchedulerPass::longDescription ( ) const
virtual

Optional longer description of the pass.

This description can include usage instructions, details of choice of algorithmic details, etc.

Returns
The description as a string.

Reimplemented in BasicBlockScheduler, BUBasicBlockScheduler, SequentialScheduler, and BBSchedulerController.

Definition at line 77 of file SchedulerPass.cc.

77 {
78 return "";
79}

◆ shortDescription()

std::string SchedulerPass::shortDescription ( ) const
pure virtual

A short description of the pass, usually the optimization name, such as "basic block scheduler".

Returns
The description as a string.

Implemented in BasicBlockScheduler, BUBasicBlockScheduler, CallsToJumps, PostpassOperandSharer, PreOptimizer, ScheduleEstimator, SequentialScheduler, SimpleIfConverter, AbsoluteToRelativeJumps, BBSchedulerController, BF2Scheduler, and Peel2BBLoops.

Definition at line 64 of file SchedulerPass.cc.

64 {
65 return "";
66}

Member Data Documentation

◆ data_

InterPassData* SchedulerPass::data_
private

arbitrary data stored by different passes for inter-pass communication

Definition at line 55 of file SchedulerPass.hh.

Referenced by interPassData().


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