25 #include "pips_config.h"
77 fprintf(stderr,
"%td (%td,%td)->%s\n",
174 pips_assert(
"hash table \"OrderingToStatement\" is undefined",
struct _newgen_struct_statement_ * statement
#define gen_context_recurse(start, ctxt, domain_number, flt, rwt)
void gen_null2(__attribute__((unused)) void *u1, __attribute__((unused)) void *u2)
idem with 2 args, to please overpeaky compiler checks
string statement_identification(statement)
Like external_statement_identification(), but with internal information, the hexadecimal address of t...
hash_table hash_table_make(hash_key_type key_type, size_t size)
void * hash_get(const hash_table htp, const void *key)
this function retrieves in the hash table pointed to by htp the couple whose key is equal to key.
void hash_put(hash_table htp, const void *key, const void *val)
This functions stores a couple (key,val) in the hash table pointed to by htp.
void hash_overwrite(hash_table htp, const void *key, const void *val)
hash_put which allows silent overwrite...
void hash_table_free(hash_table htp)
this function deletes a hash table that is no longer useful.
#define pips_assert(what, predicate)
common macros, two flavors depending on NDEBUG
#define pips_internal_error
#define STATEMENT_ORDERING_UNDEFINED
mapping.h inclusion
#define HASH_MAP(k, v, code, ht)
#define hash_table_undefined
Value of an undefined hash_table.
void print_ordering_to_statement(void)
Dump the ordering with the corresponding statement address.
static bool add_ordering_of_the_statement(statement stat, hash_table ots)
Add the statement for its ordering, if any, in the hash-map.
hash_table set_ordering_to_statement(statement s)
To be used instead of initialize_ordering_to_statement() to make sure that the hash table ots is in s...
bool add_ordering_of_the_statement_to_current_mapping(statement stat)
Add the statement for its ordering, if any, in the hash-map.
static hash_table OrderingToStatement
a hash table to map orderings (integer) to statements (pointers) assumed to be valid for the current ...
statement ordering_to_statement(int o)
Get the statement associated to a given ordering.
static statement apply_ordering_to_statement(hash_table ots, _int o)
Get the statement from an ordering in a given ordering to statement table.
static void rinitialize_ordering_to_statement(hash_table ots, statement s)
Initialize the ordering to statement mapping by iterating from a given statement.
void reset_ordering_to_statement(void)
Reset the mapping from ordering to statement.
bool overwrite_ordering_of_the_statement_to_current_mapping(statement stat)
Overwrite the statement for its ordering, if any, in the hash-map.
bool ordering_to_statement_initialized_p()
Test if the ordering to statement is initialized.
#define ORDERING_NUMBER(o)
#define ORDERING_STATEMENT(o)
#define statement_ordering(x)
#define statement_domain
newgen_sizeofexpression_domain_defined
#define statement_undefined
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...