26 #include "pips_config.h"
37 #include "resources.h"
88 debug_on(
"ONE_THREAD_PARALLELIZE_DEBUG_LEVEL");
loop make_loop(entity a1, range a2, statement a3, entity a4, execution a5, list a6)
basic make_basic(enum basic_utype tag, void *val)
bool statement_consistent_p(statement p)
statement make_statement(entity a1, intptr_t a2, intptr_t a3, string a4, instruction a5, list a6, string a7, extensions a8, synchronization a9)
instruction make_instruction(enum instruction_utype tag, void *val)
synchronization make_synchronization_none(void)
execution make_execution_parallel(void)
range make_range(expression a1, expression a2, expression a3)
static statement module_statement
struct _newgen_struct_statement_ * statement
void reset_current_module_entity(void)
Reset the current module entity.
void reset_current_module_statement(void)
Reset the current module statement.
statement set_current_module_statement(statement)
Set the current module statement.
entity set_current_module_entity(entity)
static.c
entity get_current_module_entity(void)
Get the entity of the current module.
#define NIL
The empty list (nil in Lisp)
string db_get_memory_resource(const char *rname, const char *oname, bool pure)
Return the pointer to the resource, whatever it is.
#define DB_PUT_MEMORY_RESOURCE(res_name, own_name, res_val)
conform to old interface.
#define pips_assert(what, predicate)
common macros, two flavors depending on NDEBUG
#define STATEMENT_ORDERING_UNDEFINED
mapping.h inclusion
static statement enclose_in_a_parallel_loop(statement module_statement)
bool one_thread_parallelize(string mod_name)
one_thread_kernel.c
bool module_reorder(statement body)
Reorder a module and recompute order to statement if any.
#define statement_block_p(stat)
#define STATEMENT_NUMBER_UNDEFINED
default values
#define empty_comments
Empty comments (i.e.
entity module_name_to_entity(const char *mn)
This is an alias for local_name_to_top_level_entity.
entity entity_empty_label(void)
expression int_to_expression(_int i)
transform an int into an expression and generate the corresponding entity if necessary; it is not cle...
extensions empty_extensions(void)
extension.c
entity make_new_scalar_variable(entity, basic)