PIPS
|
#include "defines-local.h"
#include "effects-generic.h"
#include "effects-simple.h"
#include "effects-convex.h"
Go to the source code of this file.
Variables | |
static bool(* | bound_p )(entity) = (bool(*)(entity)) gen_false |
static entity(* | load )(entity) = (entity(*)(entity)) gen_identity |
void close_entity_status | ( | void | ) |
Definition at line 118 of file host_node_entities.c.
References close_new_host(), close_new_node(), close_old_host(), and close_old_node().
void debug_host_node_variables | ( | entity | e | ) |
HPFC module by Fabien COELHO.
HOST AND NODE ENTITIES MANAGEMENT
Definition at line 44 of file host_node_entities.c.
References bound_new_host_p(), bound_new_node_p(), bound_old_host_p(), bound_old_node_p(), entity_name, fprintf(), load_new_host(), load_new_node(), load_old_host(), and load_old_node().
entity_status get_entity_status | ( | void | ) |
Definition at line 93 of file host_node_entities.c.
References entity_int_undefined, get_new_host(), get_new_node(), get_old_host(), get_old_node(), and make_entity_status().
Referenced by init_hpfc_status(), and save_hpfc_status().
else
to avoid a gcc warning
module | odule |
Definition at line 126 of file host_node_entities.c.
References host_module, HOST_NAME, module, node_module, NODE_NAME, pips_internal_error, and string_undefined.
void init_entity_status | ( | void | ) |
Definition at line 85 of file host_node_entities.c.
References init_new_host(), init_new_node(), init_old_host(), and init_old_node().
Referenced by init_hpfc_status().
module | odule |
le | e |
Definition at line 263 of file host_node_entities.c.
References CAR, CDR, CONS, ENDP, ENTITY, module, NewVariableForModule(), and NIL.
Referenced by hpf_compile_sequential_loop().
module | odule |
l | of anything |
Definition at line 256 of file host_node_entities.c.
References gen_full_copy_list(), module, and update_list_for_module().
Referenced by generate_c1_beta(), hpf_compile_call(), st_compute_current_computer(), and st_compute_current_owners().
used for compiling calls.
module | odule |
l | of expression |
Definition at line 237 of file host_node_entities.c.
References array_distributed_p(), CONS, copy_expression(), EXPRESSION, expression_to_entity(), gen_nreverse(), MAP, module, NIL, and update_list_for_module().
Referenced by hpf_compile_call().
module | odule |
Definition at line 283 of file host_node_entities.c.
References bound_new_host_p(), bound_new_node_p(), entity_name, entity_undefined, host_module, load_new_host(), load_new_node(), module, and pips_internal_error.
Referenced by hpf_compile_parallel_loop(), hpf_compile_sequential_loop(), and lNewVariableForModule().
void reset_entity_status | ( | void | ) |
Definition at line 110 of file host_node_entities.c.
References reset_new_host(), reset_new_node(), reset_old_host(), and reset_old_node().
Referenced by reset_hpfc_status().
void set_entity_status | ( | entity_status | s | ) |
Definition at line 102 of file host_node_entities.c.
References entity_status_new_host, entity_status_new_node, entity_status_old_host, entity_status_old_node, set_new_host(), set_new_node(), set_old_host(), and set_old_node().
Referenced by load_hpfc_status().
neh | host version |
nen | node version |
old | initial entity |
Definition at line 73 of file host_node_entities.c.
References store_new_host_variable(), and store_new_node_variable().
Referenced by make_host_and_node_modules().
new | ew |
old | ld |
Definition at line 64 of file host_node_entities.c.
References entity_undefined_p, pips_assert, store_or_update_new_host(), and store_or_update_old_host().
Referenced by add_declaration_to_host_and_link(), AddCommonToHostAndNodeModules(), AddEntityToHostAndNodeModules(), automatic_translation(), hpfc_compile(), make_host_and_node_modules(), and store_new_host_node_variable().
new | ew |
old | ld |
Definition at line 55 of file host_node_entities.c.
References entity_undefined_p, pips_assert, store_or_update_new_node(), and store_or_update_old_node().
Referenced by AddCommonToHostAndNodeModules(), AddEntityToHostAndNodeModules(), automatic_translation(), hpfc_compile(), make_host_and_node_modules(), set_similar_mappings_for_updates(), and store_new_host_node_variable().
|
static |
shift the calls to the right variable, in the module
Definition at line 163 of file host_node_entities.c.
References call_function, and update_for_module_rewrite().
Referenced by update_object_for_module().
|
static |
Definition at line 168 of file host_node_entities.c.
References CAR, code_declarations, MAPL, and update_for_module_rewrite().
Referenced by update_object_for_module().
|
static |
Definition at line 143 of file host_node_entities.c.
References bound_p, entity_name, load, and pips_debug.
Referenced by update_call_for_module_rewrite(), update_code_for_module_rewrite(), update_loop_for_module_rewrite(), and update_reference_for_module_rewrite().
module | odule |
Definition at line 215 of file host_node_entities.c.
References CAR, CHUNK, MAPL, module, and update_object_for_module().
Referenced by lUpdateExpr(), and lUpdateExpr_but_distributed().
|
static |
Definition at line 175 of file host_node_entities.c.
References loop_index, and update_for_module_rewrite().
Referenced by update_object_for_module().
void update_object_for_module | ( | void * | obj, |
entity | module | ||
) |
push the current functions
pop the initial functions
obj | bj |
module | loosely typed, indeed |
Definition at line 180 of file host_node_entities.c.
References bound_new_host_p(), bound_new_node_p(), bound_p, call_domain, code_domain, gen_domain_name(), gen_multi_recurse(), gen_true(), gen_type(), host_module, load, load_new_host(), load_new_node(), loop_domain, module, pips_debug, reference_domain, update_call_for_module_rewrite(), update_code_for_module_rewrite(), update_loop_for_module_rewrite(), and update_reference_for_module_rewrite().
Referenced by compile_module(), generate_hpf_remapping_file(), hpf_compile_call(), update_list_for_module(), UpdateExpressionForModule(), and UpdateStatementForModule().
|
static |
shift the references to the right variable, in the module
Definition at line 156 of file host_node_entities.c.
References ref, reference_variable, and update_for_module_rewrite().
Referenced by update_object_for_module().
expression UpdateExpressionForModule | ( | entity | module, |
expression | ex | ||
) |
this function creates a new expression using the mapping of old to new variables map.
some of the structures generated may be shared...
module | odule |
ex | x |
Definition at line 225 of file host_node_entities.c.
References copy_expression(), module, and update_object_for_module().
Referenced by generate_c1_alpha(), generate_compute_local_indices(), hpf_compile_parallel_loop(), hpf_compile_sequential_loop(), hpf_compile_test(), and st_compute_ith_local_index().
module | odule |
stat | tat |
Definition at line 303 of file host_node_entities.c.
References copy_statement(), module, and update_object_for_module().
Referenced by generate_parallel_body().
Definition at line 140 of file host_node_entities.c.
Referenced by update_for_module_rewrite(), update_lower_or_upper_bound(), and update_object_for_module().
Definition at line 141 of file host_node_entities.c.
Referenced by insert_array_scalar_access_movement(), pixel_name(), update_for_module_rewrite(), and update_object_for_module().