-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathcomplete_call_graph.hpp
87 lines (80 loc) · 3.15 KB
/
complete_call_graph.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
*
* _/_/_/ _/_/ _/ _/ _/_/_/ _/_/
* _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/
* _/_/_/ _/_/_/_/ _/ _/_/ _/ _/ _/_/_/_/
* _/ _/ _/ _/ _/ _/ _/ _/ _/
* _/ _/ _/ _/ _/ _/_/_/ _/ _/
*
* ***********************************************
* PandA Project
* URL: http://panda.dei.polimi.it
* Politecnico di Milano - DEIB
* System Architectures Group
* ***********************************************
* Copyright (C) 2004-2024 Politecnico di Milano
*
* This file is part of the PandA framework.
*
* The PandA framework is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* @file complete_call_graph.hpp
* @brief This class models the ending of execution of all functions which can add a function to call graph
*
* @author Marco Lattuada <[email protected]>
*
*/
#ifndef COMPLETE_CALL_GRAPH_HPP
#define COMPLETE_CALL_GRAPH_HPP
#include "application_frontend_flow_step.hpp" // for ApplicationFrontendFlo...
#include "custom_set.hpp" // for unordered_set
#include "design_flow_step.hpp" // for DesignFlowManagerConstRef
#include "frontend_flow_step.hpp" // for FrontendFlowStep::Func...
#include <utility> // for pair
class CompleteCallGraph : public ApplicationFrontendFlowStep
{
private:
/**
* Return the set of analyses in relationship with this design step
* @param relationship_type is the type of relationship to be considered
*/
const CustomUnorderedSet<std::pair<FrontendFlowStepType, FunctionRelationship>>
ComputeFrontendRelationships(const DesignFlowStep::RelationshipType relationship_type) const override;
public:
/**
* Constructor
* @param AppM is the application manager
* @param design_flow_manager is the design flow manager
* @param _Param is the set of the parameters
*/
CompleteCallGraph(const application_managerRef AppM, const DesignFlowManagerConstRef design_flow_manager,
const ParameterConstRef parameters);
/**
* Destructor
*/
~CompleteCallGraph() override;
/**
* Execute this step
* @return the exit status of this step
*/
DesignFlowStep_Status Exec() override;
/**
* Check if this step has actually to be executed
* @return true if the step has to be executed
*/
bool HasToBeExecuted() const override;
};
#endif