PIPS
|
Go to the source code of this file.
Functions | |
bool | scalopify (char *) |
Warning! Do not modify this file that is automatically generated! More... | |
bool | sesamify (char *) |
bool | scalopragma (char *) |
bool | sesam_buffers_processing (const char *) |
sesam_tasks_processing.c More... | |
bool | sesam_servers_processing (const char *) |
Variables | |
hash_table | shared_mem |
sesamify.c More... | |
hash_table | entity_action |
list | statement_to_outline |
scalopragma.c More... | |
bool scalopify | ( | char * | module_name | ) |
Warning! Do not modify this file that is automatically generated!
Modify src/Libs/scalopes/scalopes-local.h instead, to add your own modifications. header file built by cproto scalopes-local.h Nothing yet... cproto-generated files scalopify.c
wo cases: vector or scalar
module_name | odule_name |
Definition at line 94 of file scalopify.c.
References ADDRESS_OF_OPERATOR_NAME, CALL, call_domain, call_load_store_p(), compute_callees(), convert_local_to_pointer_array(), copy_type(), db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, DEREFERENCING_OPERATOR_NAME, entity_array_p(), entity_intrinsic(), entity_to_expression(), entity_type, exp, find_call_to_wrap(), find_entities_to_wrap(), FOREACH, gen_context_recurse, gen_free_list(), gen_null2(), get_current_module_statement(), local_name_to_top_level_entity(), make_basic_pointer(), make_cast(), make_expression(), make_syntax_cast(), make_type_variable(), make_variable(), MakeUnaryCall(), module_name(), module_statement, NIL, normalized_undefined, PIPS_PHASE_POSTLUDE, PIPS_PHASE_PRELUDE, pointer_to_array_p(), replace_entity_by_expression(), reset_cumulated_rw_effects(), set_cumulated_rw_effects(), SET_FOREACH, set_free(), set_make(), and set_pointer.
bool scalopragma | ( | char * | module_name | ) |
ook for statement with SCMP pragma
elete statement pragma
module_name | odule_name |
Definition at line 59 of file scalopragma.c.
References build_new_top_level_module_name(), compute_callees(), CONS, db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, extensions_extension, find_pragma(), FOREACH, gen_free_list(), gen_nreverse(), gen_null(), gen_recurse, get_current_module_statement(), get_string_property(), module_name(), module_statement, NIL, outliner(), PIPS_PHASE_POSTLUDE, PIPS_PHASE_PRELUDE, reset_cumulated_rw_effects(), set_cumulated_rw_effects(), STATEMENT, statement_domain, statement_extensions, and statement_to_outline.
bool sesam_buffers_processing | ( | const char * | module_name | ) |
module_name | is the current module name |
module_name | odule_name |
Definition at line 420 of file sesam_tasks_processing.c.
References db_get_memory_resource(), free_sesam_buffers_processing_context(), gen_context_recurse, gen_null2(), module_name(), module_statement, PIPS_PHASE_POSTLUDE, PIPS_PHASE_PRELUDE, print_sesam_tasks_buffers_header(), reset_cumulated_rw_effects(), reset_methods_for_effects_prettyprint(), sbp_context_init(), sesam_buffers_processing_context_undefined, set_cumulated_rw_effects(), set_methods_for_rw_effects_prettyprint(), statement_domain, and update_sesam_tasks_buffers().
bool sesam_servers_processing | ( | const char * | module_name | ) |
module_name | odule_name |
Definition at line 449 of file sesam_tasks_processing.c.
References module_name(), module_statement, PIPS_PHASE_POSTLUDE, and PIPS_PHASE_PRELUDE.
bool sesamify | ( | char * | module_name | ) |
ist effects in the task
heck if the entities has already been processed with the same action to avoid doublons
f the entity is not stored yet
validate
ostlude
module_name | odule_name |
Definition at line 52 of file sesamify.c.
References action_read_p, action_write_p, AddEntityToCurrentModule(), ASSIGN_OPERATOR_NAME, call_to_expression(), callees_callees, compute_callees(), CONS, convert_local_to_pointer_array(), db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, debug_off, debug_on, DIVIDE_OPERATOR_NAME, EFFECT, effect_action, effect_any_reference, ENTITY, entity_action, entity_intrinsic(), entity_to_expression(), entity_type, EXPRESSION, FOREACH, gen_length(), gen_nreverse(), get_current_module_entity(), get_current_module_statement(), HASH_DEFAULT_SIZE, hash_get(), hash_pointer, hash_put(), hash_table_clear(), hash_table_make(), HASH_UNDEFINED_VALUE, insert_statement(), instruction_to_statement(), int_to_expression(), intptr_t, load_cumulated_rw_effects_list(), local_name_to_top_level_entity(), make_basic_pointer(), make_block_statement(), make_call(), make_expression(), make_expression_list, make_instruction_call(), make_new_scalar_variable(), make_op_exp(), make_range(), make_sizeofexpression_type(), make_syntax_sizeofexpression(), MakeBinaryCall(), malloc(), MINUS_OPERATOR_NAME, module_name(), module_name_to_entity(), module_reorder(), NIL, normalized_undefined, pips_debug, PLUS_OPERATOR_NAME, print_effect, print_entities(), range_to_distance, range_to_expression(), dma_action::read, reference_variable, replace_entity_by_expression(), reset_cumulated_rw_effects(), reset_current_module_entity(), reset_current_module_statement(), set_cumulated_rw_effects(), set_current_module_entity(), set_current_module_statement(), shared_mem, STATEMENT, STRING, and dma_action::write.
|
extern |
Definition at line 36 of file sesamify.c.
Referenced by sesamify().
|
extern |
|
extern |
cleme nt.m argue t@hp c-pro ject .com
Definition at line 25 of file scalopragma.c.
Referenced by find_pragma(), outline(), and scalopragma().