1 #ifndef DYN_ANALYSIS_INSTR_H_INCLUDED_
2 #define DYN_ANALYSIS_INSTR_H_INCLUDED_
34 SgFunctionDefinition *func_def,
35 SgVariableDeclaration *systemc_event_list,
36 SgVariableDeclaration *PLACEHOLDER,
37 bool is_and_event_list);
51 SgFunctionDefinition *func_def,
52 SgVariableDeclaration *var_decl,
53 std::string printf_format_string,
54 std::string printf_pre_format_string);
67 SgFunctionDefinition *func_def,
68 SgVariableDeclaration *var_decl);
80 SgFunctionDefinition *func_def,
81 SgVariableDeclaration *var_decl);
93 SgFunctionDefinition *func_def,
94 SgVariableDeclaration *var_decl);
113 SgFunctionDefinition*
134 std::pair<SgForStatement*, SgVariableDeclaration*>
136 SgVariableDeclaration *event_list,
std::pair< SgForStatement *, SgVariableDeclaration * > insert_loop_iteration_over_vector_elements(SgVariableDeclaration *event_list, SgBasicBlock *body)
This function appends a for loop to the given basic block. The loop body will be empty. The function returns the for loop statement and the variable declaration of the iterator variable.
Definition: dyn_analysis_instr.cpp:29
void print_target_socket(SgFunctionDefinition *func_def, SgVariableDeclaration *var_decl)
This function adds the printing of the variable var_decl to the function func_def This function is on...
Definition: dyn_analysis_instr.cpp:453
void instrument_reference_printing(std::string filename)
The function should be called for the instrumentation of the variable address printing of the design...
Definition: dyn_analysis_instr.cpp:624
void print_port(SgFunctionDefinition *func_def, SgVariableDeclaration *var_decl)
This function adds the printing of the variable var_decl to the function func_def This function is on...
Definition: dyn_analysis_instr.cpp:320
void print_channel(SgFunctionDefinition *func_def, risc::Instance *channel)
This function adds the printing of the channel channel to the function func_def This function is only...
Definition: dyn_analysis_instr.cpp:563
void print_event_list(SgFunctionDefinition *func_def, SgVariableDeclaration *systemc_event_list, SgVariableDeclaration *PLACEHOLDER, bool is_and_event_list)
This function adds the printing of event list and the individual elements to the function func_def...
Definition: dyn_analysis_instr.cpp:202
Definition: instance.h:17
SgFunctionDefinition * add_function_to_class(SgScopeStatement *class_def, std::string func_name)
This function adds a new function with the name func_name to the class class_def. The return type wil...
Definition: dyn_analysis_instr.cpp:532
void print_init_socket(SgFunctionDefinition *func_def, SgVariableDeclaration *var_decl)
This function adds the printing of the variable var_decl to the function func_def This function is on...
Definition: dyn_analysis_instr.cpp:387
void print_variable(SgFunctionDefinition *func_def, SgVariableDeclaration *var_decl, std::string printf_format_string, std::string printf_pre_format_string)
This function adds the printing of the variable var_decl to the function func_def This function is on...
Definition: dyn_analysis_instr.cpp:276