PandA-2024.02
HWCallInjection.hpp
Go to the documentation of this file.
1 /*
2  * _/_/_/ _/_/ _/ _/ _/_/_/ _/_/
3  * _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/
4  * _/_/_/ _/_/_/_/ _/ _/_/ _/ _/ _/_/_/_/
5  * _/ _/ _/ _/ _/ _/ _/ _/ _/
6  * _/ _/ _/ _/ _/ _/_/_/ _/ _/
7  *
8  * ***********************************************
9  * PandA Project
10  * URL: http://panda.dei.polimi.it
11  * Politecnico di Milano - DEIB
12  * System Architectures Group
13  * ***********************************************
14  * Copyright (C) 2004-2024 Politecnico di Milano
15  *
16  * This file is part of the PandA framework.
17  *
18  * The PandA framework is free software; you can redistribute it and/or modify
19  * it under the terms of the GNU General Public License as published by
20  * the Free Software Foundation; either version 3 of the License, or
21  * (at your option) any later version.
22  *
23  * This program is distributed in the hope that it will be useful,
24  * but WITHOUT ANY WARRANTY; without even the implied warranty of
25  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26  * GNU General Public License for more details.
27  *
28  * You should have received a copy of the GNU General Public License
29  * along with this program. If not, see <http://www.gnu.org/licenses/>.
30  */
31 
32 #ifndef HW_CALL_INJECTION_HPP
33 #define HW_CALL_INJECTION_HPP
34 
36 
37 #include "refcount.hpp"
38 
41 
43 {
44  private:
45  static unsigned int builtinWaitCallDeclIdx;
46 
49 
50  void buildBuiltinCall(const blocRef& block, const tree_nodeRef& stmt);
51 
52  public:
53  HWCallInjection(const ParameterConstRef Param, const application_managerRef AppM, unsigned int funId,
54  const DesignFlowManagerConstRef DFM);
55 
56  ~HWCallInjection() override;
57 
59 
64  bool HasToBeExecuted() const override;
65 };
66 
67 #endif
static unsigned int builtinWaitCallDeclIdx
parser/compiler include
void buildBuiltinCall(const blocRef &block, const tree_nodeRef &stmt)
This struct specifies the field bloc (basic block).
HWCallInjection(const ParameterConstRef Param, const application_managerRef AppM, unsigned int funId, const DesignFlowManagerConstRef DFM)
bool HasToBeExecuted() const override
Check if this step has actually to be executed.
RelationshipType
The relationship type.
REF_FORWARD_DECL(bloc)
This class contains the base representation for a generic frontend flow step which works on a single ...
Abstract pure class for the tree structure.
Definition: tree_node.hpp:139
~HWCallInjection() override
const CustomUnorderedSet< std::pair< FrontendFlowStepType, FunctionRelationship > > ComputeFrontendRelationships(const DesignFlowStep::RelationshipType RT) const override
Return the set of analyses in relationship with this design step.
DesignFlowStep_Status
The status of a step.
This struct specifies the block node.
Definition: tree_node.hpp:1820
Template definition of refcount.
DesignFlowStep_Status InternalExec() override
Execute the step.
const application_managerRef AppM
The application manager.

Generated on Mon Feb 12 2024 13:02:52 for PandA-2024.02 by doxygen 1.8.13