60 const DesignFlowManagerConstRef _design_flow_manager,
73 switch(relationship_type)
97 for(
auto& input_file :
AppM->input_files)
100 if(!std::filesystem::exists(std::filesystem::path(input_file)))
102 THROW_ERROR(
"File " + input_file +
" does not exist");
106 input_file =
parser.substitutePragmas(input_file);
#define DEBUG_LEVEL_VERY_PEDANTIC
extremely verbose debugging print is performed.
#define INDENT_DBG_MEX(dbgLevel, curDbgLevel, mex)
We are producing a debug version of the program, so the message is printed;.
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.
#define GET_CLASS(obj)
Macro returning the actual type of an object.
Definition of the class representing a generic C application.
RelationshipType
The relationship type.
Source must be executed to satisfy target.
~PragmaSubstitution() override
Destructor.
Auxiliary methods for manipulating string.
#define THROW_UNREACHABLE(str_expr)
helper function used to specify that some points should never be reached
Target must be reexecuted.
const ParameterConstRef parameters
Set of input parameters.
DesignFlowStep_Status
The status of a step.
#define THROW_ERROR(str_expr)
helper function used to throw an error in a standard way
Parsing pragma from C sources.
const application_managerRef AppM
The application manager.
This file collects some hash functors.
DesignFlowStep_Status Exec() override
Performes the replacement of the pragmas.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
this class is used to manage the command-line or XML options.
int debug_level
The debug level.
Analysis step that replaces the pragmas in the specification with calls.
Main class for parsing: contains the context associated with a parsing action and the methods to retr...
PragmaSubstitution(const application_managerRef AppM, const DesignFlowManagerConstRef design_flow_manager, const ParameterConstRef parameters)
Constructor.