PIPS
|
#include <string.h>
#include <stdio.h>
#include "genC.h"
#include "linear.h"
#include "ri.h"
#include "effects.h"
#include "properties.h"
#include "ri-util.h"
#include "effects-util.h"
#include "pipsdbm.h"
#include "resources.h"
#include "semantics.h"
#include "effects-generic.h"
#include "effects-convex.h"
#include "effects-simple.h"
#include "transformer.h"
#include "transformations.h"
#include "control.h"
#include "callgraph.h"
#include "misc.h"
#include "prettyprint.h"
Go to the source code of this file.
Data Structures | |
struct | statement_checking_context |
struct | sequence_searching_context |
Macros | |
#define | EXTERNALIZED_CODE_PRAGMA_BEGIN "BEGIN_KAAPI_%s" |
Warning! Do not modify this file that is automatically generated! More... | |
#define | EXTERNALIZED_CODE_PRAGMA_END "END_KAAPI_%s" |
#define | EXTERNALIZED_CODE_PRAGMA_ANALYZED_TOP "ANALYZED_KAAPI_%s (%d statements)" |
#define | EXTERNALIZED_CODE_PRAGMA_ANALYZED_BOTTOM "ANALYZED_KAAPI_%s (%d statements)" |
#define | EXTERNALIZED_CODE_PRAGMA_ANALYZED_PREFIX_TOP "--> " |
#define | EXTERNALIZED_CODE_PRAGMA_ANALYZED_PREFIX_BOTTOM "<-- " |
#define | EXTERNALIZED_FUNCTION_PARAM_NAME "%s_PARAM_%d" |
#define | EXTERNALIZED_FUNCTION_PRIVATE_PARAM_NAME "%s_PRIV" |
#define | EXTERNALIZED_CODE_PRAGMA_CALL "CALL_KAAPI_%s" |
Functions | |
bool | safescale_module_analysis (const char *) |
cproto-generated files More... | |
bool | safescale_distributor_init (const char *) |
identification.c More... | |
bool | safescale_distributor (const char *) |
externalization.c More... | |
#define EXTERNALIZED_CODE_PRAGMA_ANALYZED_BOTTOM "ANALYZED_KAAPI_%s (%d statements)" |
Definition at line 35 of file safescale.h.
#define EXTERNALIZED_CODE_PRAGMA_ANALYZED_PREFIX_BOTTOM "<-- " |
Definition at line 37 of file safescale.h.
#define EXTERNALIZED_CODE_PRAGMA_ANALYZED_PREFIX_TOP "--> " |
Definition at line 36 of file safescale.h.
#define EXTERNALIZED_CODE_PRAGMA_ANALYZED_TOP "ANALYZED_KAAPI_%s (%d statements)" |
Definition at line 34 of file safescale.h.
#define EXTERNALIZED_CODE_PRAGMA_BEGIN "BEGIN_KAAPI_%s" |
Warning! Do not modify this file that is automatically generated!
Modify src/Libs/safescale/safescale-local.h instead, to add your own modifications. header file built by cproto safescale-local.h
Definition at line 32 of file safescale.h.
#define EXTERNALIZED_CODE_PRAGMA_CALL "CALL_KAAPI_%s" |
Definition at line 42 of file safescale.h.
#define EXTERNALIZED_CODE_PRAGMA_END "END_KAAPI_%s" |
Definition at line 33 of file safescale.h.
#define EXTERNALIZED_FUNCTION_PARAM_NAME "%s_PARAM_%d" |
Definition at line 39 of file safescale.h.
#define EXTERNALIZED_FUNCTION_PRIVATE_PARAM_NAME "%s_PRIV" |
Definition at line 40 of file safescale.h.
bool safescale_distributor | ( | const char * | module_name | ) |
Set and get the current properties concerning regions
Get the resources
Set dynamic_area
Get the READ, WRITE, IN and OUT regions of the module
Do the job
Restructuring code to avoid imbricated sequences if some portions are found to allow more than one INIT
Reorder the module because new statements have been added
Update/release resources
module_name | odule_name |
Definition at line 774 of file externalization.c.
References compute_callees(), db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, debug_off, debug_on, distribute(), dynamic_area, DYNAMIC_AREA_LOCAL_NAME, entity_undefined, entity_undefined_p, FindOrCreateEntity(), free_value_mappings(), gen_consistent_p(), get_regions_properties(), module, module_local_name(), module_name(), module_name_to_entity(), module_reorder(), module_to_value_mappings(), pips_assert, pips_debug, print_statement(), reset_cumulated_rw_effects(), reset_current_module_entity(), reset_current_module_statement(), reset_in_effects(), reset_out_effects(), reset_proper_rw_effects(), reset_rw_effects(), set_bool_property(), set_cumulated_rw_effects(), set_current_module_entity(), set_current_module_statement(), set_in_effects(), set_out_effects(), set_proper_rw_effects(), set_rw_effects(), simple_restructure_statement(), and statement_consistent_p().
bool safescale_distributor_init | ( | const char * | module_name | ) |
Get the resources
Doi the job
Reorder the module because new statements have been added
Update/release resources
module_name | odule_name |
Definition at line 483 of file identification.c.
References compute_callees(), db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, debug_off, debug_on, gen_consistent_p(), identify_statements_to_distribute(), module_name(), module_name_to_entity(), module_reorder(), pips_assert, pips_debug, reset_current_module_entity(), reset_current_module_statement(), set_current_module_entity(), set_current_module_statement(), and statement_consistent_p().
bool safescale_module_analysis | ( | const char * | module_name | ) |
cproto-generated files
cproto-generated files
Initialize the resources
Get effects of the module
Build hash tables between variables and values and between values and names for the module
Get regions of the module
Do the job
Update/release resources
module_name | odule_name |
Definition at line 33 of file analysis.c.
References db_get_memory_resource(), free_value_mappings(), module, module_name(), module_name_to_entity(), module_statement, module_to_value_mappings(), print_statement(), reset_cumulated_rw_effects(), reset_current_module_entity(), reset_current_module_statement(), reset_in_effects(), reset_out_effects(), reset_proper_rw_effects(), reset_rw_effects(), set_cumulated_rw_effects(), set_current_module_entity(), set_current_module_statement(), set_in_effects(), set_out_effects(), set_proper_rw_effects(), and set_rw_effects().