24 #ifndef SPAGHETTIFY_DEFS
25 #define SPAGHETTIFY_DEFS
27 #define INDEX_VARIABLE_NAME "DO%d_INDEX"
28 #define BEGIN_VARIABLE_NAME "DO%d_BEGIN"
29 #define END_VARIABLE_NAME "DO%d_END"
30 #define INCREMENT_VARIABLE_NAME "DO%d_INCREMENT"
const char * module_name(const char *s)
Return the module part of an entity name.
statement spaghettify_test(statement stat, const char *module_name)
test_spaghettify.c
statement spaghettify_statement(statement stat, const char *module_name)
The spaghettifier is used in context of PHRASE project while creating "Finite State Machine"-like cod...
statement spaghettify_loop(statement stat, const char *module_name)
This function takes the statement stat as parameter and return a new spaghettized statement,...
statement spaghettify_whileloop(statement stat, const char *module_name)
whileloop_spaghettify.c
statement spaghettify_forloop(statement stat, const char *module_name)
This function takes the statement stat as parameter and return a new spaghettized statement,...