40 #ifndef COND_EXPR_RESTRUCTURING_HPP 41 #define COND_EXPR_RESTRUCTURING_HPP bool IsCondExprGimple(const tree_nodeConstRef tn) const
Return true if tree node is a gimple_assign with a cond_expr in the right part.
void Initialize() override
Initialize the step (i.e., like a constructor, but executed just before exec.
Class managing the schedule of the operations.
RelationshipType
The relationship type.
This class manages the tree structures extracted from the raw file.
AllocationInformationRef allocation_information
The allocation information.
REF_FORWARD_DECL(AllocationInformation)
Superclass include.
CONSTREF_FORWARD_DECL(tree_node)
This class contains the base representation for a generic frontend flow step which works on a single ...
Abstract pure class for the tree structure.
~CondExprRestructuring() override
Destructor.
CondExprRestructuring(const application_managerRef AppM, unsigned int function_id, const DesignFlowManagerConstRef design_flow_manager, const ParameterConstRef parameters)
Constructor.
bool HasToBeExecuted() const override
Check if this step has actually to be executed.
tree_nodeRef IsCondExprChain(const tree_nodeConstRef tn, const bool first, bool is_third_node) const
Given a gimple_assign with cond_expr in the right part and one of its operand it checks: ...
const CustomUnorderedSet< std::pair< FrontendFlowStepType, FunctionRelationship > > ComputeFrontendRelationships(const DesignFlowStep::RelationshipType relationship_type) const override
Return the set of analyses in relationship with this design step.
const Wrefcount< const DesignFlowManager > design_flow_manager
The design flow manager.
const ParameterConstRef parameters
Set of input parameters.
DesignFlowStep_Status
The status of a step.
Template definition of refcount.
const unsigned int function_id
The index of the function to be analyzed.
const application_managerRef AppM
The application manager.
tree_managerRef TM
The tree manager.
ScheduleRef schedule
The schedule.
DesignFlowStep_Status InternalExec() override
Performs the loops analysis.