27 #include "pips_config.h"
45 #define _STUB_MSG_(severity,msg) \
46 pips_debug(0,"@%s(%d) !%s! : %s \n",__FILE__,__LINE__,severity,msg);
47 #define STUB_ERROR_MSG(msg) { _STUB_MSG_("ERROR",msg); exit(1); }
48 #define STUB_WARNING_MSG(msg) _STUB_MSG_("WARNING",msg)
49 #define STUB_ERROR() STUB_ERROR_MSG("")
50 #define STUB_WARNING() STUB_WARNING_MSG("")
174 if ( strcmp(
"PRETTYPRINT_LISTS_WITH_SPACES", name ) == 0
175 || strcmp(
"PRETTYPRINT_REGENERATE_ALTERNATE_RETURNS", name ) == 0
176 || strcmp(
"PRETTYPRINT_C_CODE", name ) == 0
177 || strcmp(
"ABORT_ON_USER_ERROR", name ) == 0 ) {
180 if ( strcmp(
"NO_USER_WARNING", name ) == 0 ) {
183 fprintf( stderr,
"***** Property requested : %s ***** ", name );
188 fprintf( stderr,
"***** Property requested : %s ***** ", name );
192 fprintf( stderr,
"***** Property requested : %s ***** ", name );
196 fprintf( stderr,
"***** Property requested : %s ***** ", name );
200 fprintf( stderr,
"***** Property requested : %s ***** ", name );
gen_array_t gen_array_make(size_t size)
declarations...
string db_build_file_resource_name(const char *r, const char *o, const char *s)
returns an allocated file name for a file resource.
bool transformer_with_temporary_values_p(void *t)
bool too_many_property_errors_pending_p(void)
void print_effect(void *v)
void print_points_to(void *v)
void set_string_property(const string name, string s)
void print_points_to_relations(void *v)
int get_int_property(const string name)
bool active_phase_p(const char *phase)
void print_region(void *v)
void print_points_to_cells(void *v)
void print_transformer(void *v)
bool properties_initialized_p(void)
FC 2015-07-20: yuk, moved out to prevent an include cycle dependency include "properties....
void print_points_to_graph(void *v)
void CParserError(char *msg)
void db_put_or_update_memory_resource(string rname, string oname, void *p, bool update_is_ok)
string db_get_current_workspace_directory(void)
bool db_resource_p(string rname, string oname)
string db_get_directory_name_for_module(string name)
bool get_bool_property(const string name)
FC 2015-07-20: yuk, moved out to prevent an include cycle dependency include "properties....
bool db_resource_required_or_available_p(const char *rname, const char *oname)
from now on we must not know about the database internals?
string db_get_meta_data_directory()
The syntax of a property list.
void print_effects(void *v)
bool db_touch_resource(const char *rname, const char *oname)
touch logical time for resource[owner], possibly behind the back of pipsdbm.
void print_points_to_list(void *v)
void unspaghettify_statement(statement mod_stmt)
The real entry point of unspaghettify:
void print_points_to_cell(void *v)
#define STUB_WARNING_MSG(msg)
string get_string_property(const string name)
bool clean_up_sequences(statement s)
Recursively clean up the statement sequences by fusing them if possible and by removing useless one.
void compilation_unit_parser(const char *module)
string db_get_memory_resource(const string rname, const string oname, bool pure)
void set_bool_property(const string name, bool b)
string directive_to_string(void *d, bool close)
void load_global_directives(entity k)
list expression_to_proper_effects(expression e)
bool check_loop_range(range r, hash_table h)
type_checker.c
void dump_transformer(void *v)
unstructured control_graph(statement st)
CONTROL_GRAPH returns the control graph of the statement ST.
statement hcfg(statement st)
Compute the hierarchical control flow graph (HCFG) of a statement.
gen_array_t db_get_module_list(void)
Get an array of all the modules (functions, procedures and compilation units) of a workspace.
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...
The structure used to build lists in NewGen.