PandA-2024.02
|
Class describing auxiliary steps in design flow. More...
#include <design_flow_aux_step.hpp>
Public Member Functions | |
AuxDesignFlowStep (std::string name, const AuxDesignFlowStepType type, const DesignFlowManagerConstRef design_flow_manager, const ParameterConstRef parameters) | |
Constructor. More... | |
~AuxDesignFlowStep () override | |
Destructor. More... | |
DesignFlowStep_Status | Exec () override |
Execute the step. More... | |
bool | HasToBeExecuted () const override |
Check if this step has actually to be executed. More... | |
std::string | GetSignature () const override |
Return a unified identifier of this design step. More... | |
std::string | GetName () const override |
Return the name of this design step. More... | |
void | ComputeRelationships (DesignFlowStepSet &relationship, const DesignFlowStep::RelationshipType relationship_type) override |
Compute the relationships of a step with other steps. More... | |
void | WriteDot (std::ostream &out) const override |
Write the label for a dot graph. More... | |
DesignFlowStepFactoryConstRef | CGetDesignFlowStepFactory () const override |
Return the factory to create this type of steps. More... | |
Public Member Functions inherited from DesignFlowStep | |
DesignFlowStep (const DesignFlowManagerConstRef design_flow_manager, const ParameterConstRef parameters) | |
Constructor. More... | |
virtual | ~DesignFlowStep () |
Destructor. More... | |
virtual void | Initialize () |
Initialize the step (i.e., like a constructor, but executed just before exec. More... | |
DesignFlowStep_Status | GetStatus () const |
Return the status of this design step. More... | |
bool | IsComposed () const |
Returns if this step is composed. More... | |
int | CGetDebugLevel () const |
Return the debug level of the step. More... | |
virtual void | PrintInitialIR () const |
Dump the initial intermediate representation. More... | |
virtual void | PrintFinalIR () const |
Dump the final intermediate representation. More... | |
Static Public Member Functions | |
static const std::string | ComputeSignature (const std::string &name, const AuxDesignFlowStepType type) |
Compute the signature of a sdf design flow step. More... | |
Private Attributes | |
const AuxDesignFlowStepType | type |
The type of this auxiliary design flow step. More... | |
const std::string | name |
The name of this auxiliary design flow step. More... | |
Additional Inherited Members | |
Public Types inherited from DesignFlowStep | |
enum | RelationshipType { DEPENDENCE_RELATIONSHIP, INVALIDATION_RELATIONSHIP, PRECEDENCE_RELATIONSHIP } |
The relationship type. More... | |
Protected Attributes inherited from DesignFlowStep | |
bool | composed |
True if this step represents a composition of design flow steps (e.g., a flow); must be set by specialized constructors. More... | |
const Wrefcount< const DesignFlowManager > | design_flow_manager |
The design flow manager. More... | |
const ParameterConstRef | parameters |
Set of input parameters. More... | |
int | debug_level |
The debug level. More... | |
const int | output_level |
The output level. More... | |
Class describing auxiliary steps in design flow.
Definition at line 59 of file design_flow_aux_step.hpp.
AuxDesignFlowStep::AuxDesignFlowStep | ( | std::string | name, |
const AuxDesignFlowStepType | type, | ||
const DesignFlowManagerConstRef | design_flow_manager, | ||
const ParameterConstRef | parameters | ||
) |
Constructor.
name | is the name of the step |
type | is the type of the step |
design_flow_manager | is the design flow manager |
parameters | is the set of input parameters |
Definition at line 50 of file design_flow_aux_step.cpp.
References ~AuxDesignFlowStep().
|
overridedefault |
|
overridevirtual |
Return the factory to create this type of steps.
Implements DesignFlowStep.
Definition at line 88 of file design_flow_aux_step.cpp.
References THROW_UNREACHABLE.
|
overridevirtual |
Compute the relationships of a step with other steps.
design_flow | is the design flow graph |
dependencies | is where relationships will be stored |
relationship_type | is the type of relationship to be computed |
Implements DesignFlowStep.
Definition at line 59 of file design_flow_aux_step.cpp.
|
static |
Compute the signature of a sdf design flow step.
name | is the name of the step |
type | is the type of auxiliary step |
Definition at line 63 of file design_flow_aux_step.cpp.
Referenced by GetSignature().
|
overridevirtual |
Execute the step.
Implements DesignFlowStep.
Definition at line 68 of file design_flow_aux_step.cpp.
References EMPTY.
|
overridevirtual |
Return the name of this design step.
Implements DesignFlowStep.
Definition at line 73 of file design_flow_aux_step.cpp.
References name.
|
overridevirtual |
Return a unified identifier of this design step.
Implements DesignFlowStep.
Definition at line 78 of file design_flow_aux_step.cpp.
References ComputeSignature(), name, and type.
|
overridevirtual |
Check if this step has actually to be executed.
Implements DesignFlowStep.
Definition at line 94 of file design_flow_aux_step.cpp.
|
overridevirtual |
Write the label for a dot graph.
out | is the stream where label has to be printed |
Reimplemented from DesignFlowStep.
Definition at line 83 of file design_flow_aux_step.cpp.
References name.
|
private |
The name of this auxiliary design flow step.
Definition at line 66 of file design_flow_aux_step.hpp.
Referenced by ComputeSignature(), GetName(), GetSignature(), and WriteDot().
|
private |
The type of this auxiliary design flow step.
Definition at line 63 of file design_flow_aux_step.hpp.
Referenced by GetSignature().