PIPS
|
#include "genC.h"
#include "linear.h"
#include "ri.h"
#include "step_private.h"
#include "effects.h"
Go to the source code of this file.
void add_omp_guard | ( | statement * | block | ) |
block | lock |
Definition at line 62 of file compile.c.
References compile_omp(), CONS, empty_statement_or_continue_p(), free_step_directive(), make_block_statement(), make_empty_block_statement(), make_step_directive(), NIL, pips_assert, pips_debug, STATEMENT, statement_block_p, statement_undefined, statement_undefined_p, STEP_BARRIER, and STEP_MASTER.
Referenced by compile_body().
step_directive begin_omp_construct | ( | int | type, |
string | s | ||
) |
In C, these OpenMP pragmas are already supported by blocks: no block conversion needed
Definition at line 159 of file parser.c.
statement build_call_STEP_AllToAll | ( | entity | module, |
entity | array, | ||
bool | is_partial, | ||
bool | is_interlaced | ||
) |
Pourquoi register ?
Full communications
module | odule |
array | rray |
is_partial | s_partial |
is_interlaced | s_interlaced |
Definition at line 640 of file compile_RT.c.
References array, call_STEP_subroutine2(), entity_to_expression(), free(), module, RT_STEP_alltoall_full, RT_STEP_alltoall_full_interlaced, RT_STEP_alltoall_partial_interlaced, RT_STEP_register_alltoall_partial, STEP_NBLOCKING_ALG_NAME, step_symbolic_expression(), STEP_TAG_DEFAULT_NAME, and strdup().
Referenced by generate_call_stepalltoall().
statement build_call_STEP_flush | ( | void | ) |
Definition at line 758 of file compile_RT.c.
References call_STEP_subroutine2(), and RT_STEP_flush.
Referenced by generate_call_flush().
array | rray |
Definition at line 600 of file compile_RT.c.
References array, CONS, copy_expression(), DIMENSION, dimension_lower, dimension_upper, entity_name, entity_to_expression(), entity_type, entity_undefined, EXPRESSION, FOREACH, gen_length(), gen_nreverse(), int_to_expression(), make_call_statement(), NIL, pips_assert, pips_debug, RT_STEP_init_arrayregions, step_type(), string_undefined, type_variable, unbounded_dimension_p(), and variable_dimensions.
Referenced by generate_call_init_regionArray().
statement build_call_STEP_set_recvregions | ( | entity | user_array, |
expression | expr_nb_workchunk, | ||
entity | regions_array | ||
) |
user_array | ser_array |
expr_nb_workchunk | xpr_nb_workchunk |
regions_array | egions_array |
Definition at line 736 of file compile_RT.c.
References call_STEP_subroutine2(), cast_STEP_ARG(), entity_to_expression(), pips_debug, and RT_STEP_set_recvregions.
Referenced by generate_call_set_regionarray().
statement build_call_STEP_set_sendregions | ( | entity | user_array, |
expression | expr_nb_workchunk, | ||
entity | regions_array, | ||
bool | is_interlaced, | ||
bool | is_reduction | ||
) |
user_array | ser_array |
expr_nb_workchunk | xpr_nb_workchunk |
regions_array | egions_array |
is_interlaced | s_interlaced |
is_reduction | s_reduction |
Definition at line 701 of file compile_RT.c.
References call_STEP_subroutine2(), cast_STEP_ARG(), entity_to_expression(), free(), pips_debug, RT_STEP_set_interlaced_sendregions, RT_STEP_set_reduction_sendregions, RT_STEP_set_sendregions, and strdup().
Referenced by generate_call_set_regionarray().
comm_stmt | omm_stmt |
Definition at line 681 of file compile_RT.c.
References call_STEP_subroutine2(), comment(), concatenate(), CONS, ENDP, entity_undefined, gen_nconc(), make_block_statement(), make_continue_statement(), NIL, put_a_comment_on_a_statement(), RT_STEP_flush, STATEMENT, and strdup().
name | ame |
args | rgs |
Definition at line 857 of file compile_RT.c.
References CONS, entity_to_expression(), entity_undefined, entity_undefined_p, EXPRESSION, gen_nconc(), make_call_statement(), NIL, pips_assert, pips_debug, STEP_DEBUG_STATEMENT, step_type(), and string_undefined.
name | ame |
Definition at line 819 of file compile_RT.c.
References CONS, entity_undefined, EXPRESSION, gen_nreverse(), make_call_statement(), NIL, pips_debug, STEP_DEBUG_STATEMENT, and string_undefined.
Referenced by build_call_STEP_AllToAll(), build_call_STEP_flush(), build_call_STEP_set_recvregions(), build_call_STEP_set_sendregions(), build_call_STEP_WaitAll(), compile_barrier(), compile_master(), compile_reduction(), generate_call_compute_loopslices(), generate_call_construct_begin_construct_end(), generate_call_get_commsize(), generate_call_get_rank(), generate_call_get_rank_loopbounds(), generate_call_get_workchunk_loopbounds(), and step_compile_analysed_module().
name | ame |
Definition at line 781 of file compile_RT.c.
References ADDRESS_OF_OPERATOR_NAME, CONS, entity_intrinsic(), entity_scalar_p(), entity_to_expression(), entity_type, entity_undefined, EXPRESSION, fortran_module_p(), gen_nreverse(), get_current_module_entity(), make_call_statement(), MakeUnaryCall(), NIL, pips_debug, STEP_DEBUG_STATEMENT, string_undefined, and type_variable_p.
void check_entity_step_type | ( | entity | data | ) |
Definition at line 845 of file compile_RT.c.
References entity_undefined_p, pips_assert, pips_debug, and step_type().
Referenced by compile_reduction().
void* comment2pragmaalloc | ( | yy_size_t | ) |
void comment2pragmafree | ( | void * | ) |
int comment2pragmaget_debug | ( | void | ) |
FILE* comment2pragmaget_in | ( | void | ) |
int comment2pragmaget_leng | ( | void | ) |
int comment2pragmaget_lineno | ( | void | ) |
FILE* comment2pragmaget_out | ( | void | ) |
char* comment2pragmaget_text | ( | void | ) |
int comment2pragmalex | ( | void | ) |
int comment2pragmalex_destroy | ( | void | ) |
void comment2pragmapop_buffer_state | ( | void | ) |
void* comment2pragmarealloc | ( | void * | , |
yy_size_t | |||
) |
void comment2pragmarestart | ( | FILE * | ) |
void comment2pragmaset_debug | ( | int | ) |
void comment2pragmaset_in | ( | FILE * | ) |
void comment2pragmaset_lineno | ( | int | ) |
void comment2pragmaset_out | ( | FILE * | ) |
statement compile_mpi | ( | statement | directive_stmt, |
string | new_module_name, | ||
step_directive | drt, | ||
int | transformation | ||
) |
directive_stmt | irective_stmt |
new_module_name | ew_module_name |
drt | rt |
transformation | ransformation |
Definition at line 517 of file compile_mpi.c.
statement compile_omp | ( | statement | stmt, |
step_directive | d | ||
) |
compile.c
stmt | tmt |
Definition at line 32 of file compile.c.
References add_pragma_str_to_statement(), CAR, ENDP, fortran_module_p(), get_current_module_entity(), insert_statement(), last_statement(), make_plain_continue_statement(), pips_debug, STATEMENT, statement_block(), step_directive_to_strings(), and string_undefined_p.
Referenced by add_omp_guard(), compile_body(), and compile_rewrite().
txt | xt |
Definition at line 334 of file analyse.c.
References CONS, EFFECT, ENDP, FOREACH, free(), get_bool_property(), NIL, pips_debug, set_bool_property(), text_rw_array_regions(), and text_to_string().
Referenced by compute_recv_regions(), compute_send_regions(), step_analyse_CHAINS_DG(), step_print_directives_regions(), step_print_effect_path(), step_translate_and_map_step_regions(), step_update_comm(), and step_update_SUMMARY_SENDRECV_regions().
step_directive end_omp_construct | ( | int | type | ) |
suppression du CONTINUE portant le pragma optionnel dans le futur block
Definition at line 248 of file parser.c.
passage de name a NAME
determiner le nom avec le bon scope...
name | ame |
Definition at line 67 of file parser.c.
new_module | ew_module |
loop_stmt | oop_stmt |
Definition at line 176 of file compile_RT.c.
References call_STEP_subroutine2(), entity_to_expression(), get_entity_step_commsize(), loop_range, pips_debug, range_increment, range_lower, range_upper, and RT_STEP_compute_loopslices.
Referenced by compile_loopslices().
void generate_call_construct_begin_construct_end | ( | entity | new_module, |
step_directive | drt, | ||
statement | mpi_begin_stmt, | ||
statement | mpi_end_stmt | ||
) |
new_module | ew_module |
drt | rt |
mpi_begin_stmt | pi_begin_stmt |
mpi_end_stmt | pi_end_stmt |
Definition at line 60 of file compile_RT.c.
References call_STEP_subroutine2(), directive_txt, free(), get_step_directive_name(), insert_statement(), RT_STEP_construct_begin, RT_STEP_construct_end, step_symbolic_expression(), and string_undefined_p.
Referenced by compile_body().
void generate_call_flush | ( | statement * | stepalltoall_stmt | ) |
stepalltoall_stmt | tepalltoall_stmt |
Definition at line 85 of file compile_RT.c.
References build_call_STEP_flush(), ENDP, insert_statement(), pips_debug, and statement_block().
Referenced by compile_regions().
new_module | ew_module |
Definition at line 193 of file compile_RT.c.
References call_STEP_subroutine2(), entity_to_expression(), get_entity_step_commsize(), get_expression_addr(), pips_debug, and RT_STEP_get_commsize.
Referenced by compile_loopslices().
new_module | ew_module |
Definition at line 161 of file compile_RT.c.
References call_STEP_subroutine2(), entity_to_expression(), get_entity_step_rank(), get_expression_addr(), rank, and RT_STEP_get_rank.
Referenced by compile_loopbounds().
new_module | ew_module |
loop_stmt | oop_stmt |
Definition at line 138 of file compile_RT.c.
References call_STEP_subroutine2(), entity_to_expression(), get_entity_step_rank(), get_expression_addr(), loop_index, pips_debug, RT_STEP_get_loopbounds, STEP_BOUNDS_LOW, STEP_BOUNDS_UP, and step_local_loop_index().
Referenced by compile_loopbounds().
void generate_call_get_workchunk_loopbounds | ( | entity | mpi_module, |
loop | loop_stmt, | ||
statement * | compute_regions_stmt | ||
) |
mpi_module | pi_module |
loop_stmt | oop_stmt |
compute_regions_stmt | ompute_regions_stmt |
Definition at line 119 of file compile_RT.c.
References call_STEP_subroutine2(), entity_to_expression(), get_expression_addr(), insert_statement(), int_to_expression(), loop_index, make_op_exp(), pips_debug, PLUS_OPERATOR_NAME, RT_STEP_get_loopbounds, STEP_BOUNDS_LOW, STEP_BOUNDS_UP, step_local_loop_index(), and step_local_slice_index().
Referenced by add_workchunk_loop().
ATTENTION recrée alors qu'avant réutilisé
mpi_module | pi_module |
compute_regions_stmt | ompute_regions_stmt |
Definition at line 101 of file compile_RT.c.
References entity_empty_label(), entity_to_expression(), get_entity_step_commsize(), insert_statement(), instruction_to_statement(), int_to_expression(), make_empty_block_statement(), make_execution_sequential(), make_instruction_loop(), make_loop(), make_range(), NIL, and step_local_slice_index().
Referenced by add_workchunk_loop().
Que signifie local?
module | odule |
Definition at line 519 of file compile_RT.c.
References entity_name, entity_scalar_p(), entity_type, module, NIL, pips_assert, pips_debug, STEP_COMM_SIZE_NAME, step_local_RT_Integer(), STEP_RT_ARRAY_INDEX_INTEGER, and type_variable_p.
Referenced by generate_call_compute_loopslices(), generate_call_get_commsize(), generate_call_set_regionarray(), and generate_loop_workchunk().
module | odule |
Definition at line 513 of file compile_RT.c.
References module, NIL, STEP_COMM_RANK_NAME, step_local_RT_Integer(), and STEP_RT_ARRAY_INDEX_INTEGER.
Referenced by compile_master(), generate_call_get_rank(), and generate_call_get_rank_loopbounds().
expression get_expression_addr | ( | expression | expr | ) |
Used to add & in front of variable name for C modules: var —> &var
expr | xpr |
Definition at line 27 of file compile_RT.c.
References ADDRESS_OF_OPERATOR_NAME, entity_intrinsic(), fortran_module_p(), get_current_module_entity(), and MakeUnaryCall().
Referenced by compile_master(), compile_reduction(), generate_call_get_commsize(), generate_call_get_rank(), generate_call_get_rank_loopbounds(), and generate_call_get_workchunk_loopbounds().
void get_step_directive_name | ( | step_directive | drt, |
string * | directive_txt | ||
) |
Warning! Do not modify this file that is automatically generated!
Modify src/Libs/step/step-local.h instead, to add your own modifications. header file built by cproto step-local.h cproto-generated files directives.c
drt | rt |
directive_txt | irective_txt |
Definition at line 18 of file directives.c.
References assert, directive_txt, pips_debug, STEP_BARRIER, step_directive_type, STEP_DO, STEP_DO_NAME, STEP_MASTER, STEP_MASTER_NAME, STEP_PARALLEL, STEP_PARALLEL_DO, STEP_PARALLEL_DO_NAME, STEP_PARALLEL_NAME, STEP_SINGLE, STEP_SINGLE_NAME, STEP_THREADPRIVATE, strdup(), and string_undefined.
Referenced by generate_call_construct_begin_construct_end().
void insert_optional_pragma | ( | int | type | ) |
Definition at line 46 of file parser.c.
References add_pragma_str_to_statement(), current_statement, gen_get_ancestor(), gen_insert_after(), make_plain_continue_statement(), pips_assert, pips_user_error, statement_block(), statement_block_p, statement_domain, STEP_DO, and STEP_PARALLEL_DO.
Referenced by begin_omp_construct().
void load_step_comm | ( | void | ) |
Definition at line 190 of file analyse.c.
References db_get_memory_resource(), step_comm_interlaced, step_comm_partial, and step_comm_path.
Referenced by step_analyse(), and step_compile_analysed_module().
void remove_old_pragma | ( | void | ) |
void reset_step_comm | ( | void | ) |
Definition at line 199 of file analyse.c.
Referenced by step_compile_analysed_module().
void set_current_transform | ( | int | transform | ) |
void set_RT_add_local | ( | entity | e | ) |
Definition at line 247 of file compile_RT.c.
References set_add_element(), set_make(), set_pointer, set_undefined_p, and step_created_entity.
Referenced by step_local_RT_Integer(), and step_parameter().
bool step_analyse | ( | const char * | module_name | ) |
remove_from_summary_send et remove_from_summary_recv contain only directive regions and translated regions. They do not contain summary regions.
module_name | odule_name |
Definition at line 1429 of file analyse.c.
References db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, debug_off, debug_on, generic_effects_reset_all_methods(), init_convex_rw_regions(), load_step_comm(), local_name_to_top_level_entity(), module, module_name(), pips_debug, reset_convex_rw_regions(), reset_current_module_entity(), reset_current_module_statement(), reset_in_effects(), reset_ordering_to_statement(), reset_out_effects(), reset_rw_effects(), set_current_module_entity(), set_current_module_statement(), set_in_effects(), set_methods_for_convex_effects(), set_ordering_to_statement(), set_out_effects(), set_rw_effects(), step_analyse_CHAINS_DG(), step_compute_SENDRECV_regions(), step_directives_init(), step_directives_reset(), step_statement_path_finalize(), step_statement_path_init(), step_update_comm(), step_update_SUMMARY_SENDRECV_regions(), and store_step_comm().
bool step_analyse_init | ( | const | string | ) |
init intrinsics
other intrinsics
string | odule_name |
Definition at line 361 of file analyse.c.
References DB_PUT_MEMORY_RESOURCE, free(), make_map_effect_bool(), make_map_effect_step_point(), make_step_comm(), module_name(), IntrinsicDescriptor::name, pips_debug, pips_srcpath_append(), register_intrinsic_handler(), register_intrinsic_type_descriptor(), STEP_DEFAULT_RT_H, and strdup().
bool step_analysed_module_p | ( | const char * | module_name | ) |
module_name | odule_name |
Definition at line 179 of file analyse.c.
References db_resource_required_or_available_p(), and module_name().
Referenced by step_compile(), and step_compile_generated_module().
pgm | gm |
stmt | tmt |
Definition at line 1901 of file step_bison_parser.c.
void step_comment2pragma_handle | ( | statement | ) |
bool step_compile | ( | const char * | module_name | ) |
analysed source : let's do the transformations
generated module: nothing to do but copy the generated source
module_name | odule_name |
Definition at line 393 of file compile.c.
References asprintf, assert, db_build_file_resource_name(), db_get_current_workspace_directory(), DB_PUT_FILE_RESOURCE, debug_off, debug_on, fortran_module_p(), local_name_to_top_level_entity(), module, module_name(), pips_debug, step_analysed_module_p(), step_compile_analysed_module(), step_compile_generated_module(), STEP_GENERATED_SUFFIX_C, and STEP_GENERATED_SUFFIX_F.
void step_compile_analysed_module | ( | const char * | module_name, |
string | finit_name | ||
) |
Code transformation
File generation
module_name | odule_name |
finit_name | init_name |
Definition at line 288 of file compile.c.
References call_STEP_subroutine2(), compile_filter(), compile_rewrite(), CONS, db_get_memory_resource(), entity_main_module_p(), f(), fortran_module_p(), free_statement(), free_statement_effects(), free_text(), gen_context_recurse, get_bool_property(), get_current_module_entity(), init_stmt, insert_statement(), last_statement(), load_step_comm(), local_name_to_top_level_entity(), module, module_name(), NIL, pips_debug, print_text(), reset_cumulated_rw_effects(), reset_current_module_entity(), reset_current_module_statement(), reset_rw_effects(), reset_step_comm(), RT_STEP_finalize, RT_STEP_init_c_order, RT_STEP_init_fortran_order, safe_fclose(), safe_fopen(), set_bool_property(), set_cumulated_rw_effects(), set_current_module_entity(), set_current_module_statement(), set_rw_effects(), statement_domain, step_directives_init(), step_directives_reset(), STRING, and text_named_module().
Referenced by step_compile().
void step_compile_generated_module | ( | const char * | module_name, |
string | finit_name | ||
) |
generated source: no analyse and no compilation necessary.
Keep the source as it is.
module_name | odule_name |
finit_name | init_name |
Definition at line 354 of file compile.c.
References asprintf, assert, compilation_unit_of_module(), compilation_unit_p(), concatenate(), CONS, db_get_current_workspace_directory(), db_get_memory_resource(), db_get_module_list_initial_order(), ENTITY, fortran_module_p(), fprint_statement(), free_statement(), gen_array_item(), gen_array_nitems(), local_name_to_top_level_entity(), make_plain_continue_statement(), module, module_name(), module_name_to_entity(), NIL, out, pips_debug, safe_copy(), safe_fclose(), safe_fopen(), safe_system(), same_string_p, statement_declarations, and step_analysed_module_p().
Referenced by step_compile().
statement step_directive_basic_workchunk | ( | step_directive | d | ) |
Definition at line 286 of file directives.c.
References CAR, forloop_body, gen_length(), loop_body, pips_assert, pips_debug, STATEMENT, statement_block(), statement_forloop(), statement_forloop_p(), statement_loop(), statement_loop_p(), step_directive_block, step_directive_type, STEP_DO, and STEP_PARALLEL_DO.
Referenced by compute_directive_regions(), and step_print_directives_regions().
list step_directive_basic_workchunk_index | ( | step_directive | d | ) |
Definition at line 320 of file directives.c.
References assignment_expression_p(), call_arguments, CAR, CONS, ENTITY, entity_undefined_p, EXPRESSION, expression_syntax, expression_to_entity(), forloop_initialization, gen_length(), gen_nreverse(), init, loop_index, NIL, pips_assert, pips_debug, STATEMENT, statement_block(), statement_forloop(), statement_forloop_p(), statement_loop(), statement_loop_p(), step_directive_block, step_directive_type, STEP_DO, STEP_PARALLEL_DO, and syntax_call.
Referenced by step_compute_step_interlaced().
void step_directive_print | ( | step_directive | d | ) |
Definition at line 362 of file directives.c.
References assert, empty_comments_p(), fortran_module_p(), gen_length(), get_current_module_entity(), ifdebug, pips_debug, print_statement(), statement_undefined_p, step_directive_block, step_directive_clauses, step_directive_to_strings(), and step_directive_type.
Referenced by compile_rewrite(), compute_directive_regions(), and step_directives_print().
bool step_directive_to_strings | ( | step_directive | d, |
bool | is_fortran, | ||
string * | begin_txt, | ||
string * | end_txt | ||
) |
clause
transformation clause is not printed
is_fortran | s_fortran |
begin_txt | egin_txt |
end_txt | nd_txt |
Definition at line 147 of file directives.c.
References assert, concatenate(), directive_txt, end_directive(), FOREACH, ifdebug, is_step_clause_copyin, is_step_clause_firstprivate, is_step_clause_nowait, is_step_clause_private, is_step_clause_reduction, is_step_clause_schedule, is_step_clause_shared, is_step_clause_threadprivate, is_step_clause_transformation, list_undefined, list_undefined_p, MAP_ENTITY_INT_MAP, pips_internal_error, printf(), SB_LIST_VARIABLE, set_add_element(), set_append_list(), set_make(), set_pointer, STEP_BARRIER, STEP_CLAUSE, step_clause_copyin, step_clause_firstprivate, step_clause_private, step_clause_reduction, step_clause_schedule, step_clause_shared, step_clause_tag, step_clause_threadprivate, step_directive_clauses, step_directive_type, STEP_DO, STEP_MASTER, STEP_PARALLEL, STEP_PARALLEL_DO, STEP_SINGLE, STEP_THREADPRIVATE, STEP_UNDEF_REDUCE, strdup(), STRING, string_buffer_append(), string_buffer_cat(), string_buffer_free_all(), string_buffer_make(), string_buffer_to_string(), and string_undefined.
Referenced by compile_omp(), and step_directive_print().
void step_directive_type_print | ( | step_directive | drt | ) |
drt | rt |
Definition at line 51 of file directives.c.
References pips_debug, STEP_BARRIER, step_directive_type, STEP_DO, STEP_MASTER, STEP_PARALLEL, STEP_PARALLEL_DO, and STEP_THREADPRIVATE.
Referenced by compile_body().
stmt | tmt |
Definition at line 121 of file directives.c.
Referenced by compile_filter(), compile_rewrite(), compute_SENDRECV_regions(), end_omp_construct(), get_current_step_directive(), sequence_rewrite(), statement_filter(), step_compute_CHAINS_DG_SENDRECV_regions(), and step_statement_path_first_directive_statement().
void step_directives_init | ( | bool | first_p | ) |
first_p | irst_p |
Definition at line 88 of file directives.c.
References db_get_memory_resource(), entity_user_name(), get_current_module_entity(), module_name(), and pips_debug.
Referenced by step_analyse(), step_compile_analysed_module(), and step_parser().
step_directive step_directives_load | ( | statement | stmt | ) |
stmt | tmt |
Definition at line 116 of file directives.c.
Referenced by compile_filter(), compile_rewrite(), compute_SENDRECV_regions(), end_omp_construct(), get_current_step_directive(), and step_private_p().
void step_directives_print | ( | void | ) |
Definition at line 79 of file directives.c.
References assert, statement_undefined_p, step_directive_print(), and STEP_DIRECTIVES_MAP.
Referenced by step_parser().
void step_directives_reset | ( | void | ) |
Definition at line 103 of file directives.c.
Referenced by step_analyse(), and step_compile_analysed_module().
void step_directives_save | ( | void | ) |
Definition at line 108 of file directives.c.
References DB_PUT_MEMORY_RESOURCE, entity_user_name(), get_current_module_entity(), and module_name().
Referenced by step_parser().
void step_directives_store | ( | statement | stmt, |
step_directive | d | ||
) |
stmt | tmt |
Definition at line 126 of file directives.c.
References assert, and statement_block_p.
Referenced by new_step_directive().
expression step_function | ( | string | name, |
list | args | ||
) |
name | ame |
args | rgs |
Definition at line 359 of file compile_RT.c.
References concatenate(), entity_domain, entity_type, entity_undefined_p, gen_find_tabulated(), make_call_expression(), MODULE_SEP_STRING, pips_assert, TOP_LEVEL_MODULE_NAME, and type_functional_p.
This file is part of STEP.
The program is distributed under the terms of the GNU General Public License.
Generation des fichiers sources dans workspace.database/Src/
Instalation des fichiers generes
program_name | rogram_name |
Definition at line 15 of file install.c.
References concatenate(), db_get_directory_name_for_module(), db_get_memory_resource(), db_get_module_list_initial_order(), debug_off, debug_on, empty_string_p(), free(), gen_array_item(), gen_array_nitems(), get_string_property(), hash_get(), hash_put(), hash_string, hash_table_free(), hash_table_make(), HASH_UNDEFINED_VALUE, module_name(), out, pips_basename(), pips_debug, safe_cat(), safe_fclose(), safe_fopen(), safe_system(), strdup(), user_file, user_files, and WORKSPACE_SRC_SPACE.
void* step_lexeralloc | ( | yy_size_t | ) |
void step_lexererror | ( | const char * | s | ) |
Definition at line 105 of file step_bison_parser.c.
References pips_user_error, pragma_str_original, and step_lexertext.
void step_lexerfree | ( | void * | ) |
int step_lexerget_debug | ( | void | ) |
FILE* step_lexerget_in | ( | void | ) |
int step_lexerget_leng | ( | void | ) |
int step_lexerget_lineno | ( | void | ) |
FILE* step_lexerget_out | ( | void | ) |
char* step_lexerget_text | ( | void | ) |
int step_lexerlex | ( | void | ) |
int step_lexerlex_destroy | ( | void | ) |
int step_lexerparse | ( | void | ) |
void step_lexerpop_buffer_state | ( | void | ) |
void* step_lexerrealloc | ( | void * | , |
yy_size_t | |||
) |
void step_lexerrestart | ( | FILE * | ) |
void step_lexerset_debug | ( | int | ) |
void step_lexerset_in | ( | FILE * | ) |
void step_lexerset_lineno | ( | int | ) |
void step_lexerset_out | ( | FILE * | ) |
module | odule |
name | ame |
Definition at line 534 of file compile_RT.c.
References module, NIL, step_local_RT_Integer(), and STEP_RT_LOOP_INDEX_INTEGER.
Referenced by generate_call_get_rank_loopbounds(), generate_call_get_workchunk_loopbounds(), loop_basic_workchunk_to_workchunk(), and loopbounds_substitution().
module | odule |
Definition at line 499 of file compile_RT.c.
References CONS, DIMENSION, int_to_expression(), make_dimension(), module, NIL, STEP_INDEX_SLICE_LOW_NAME, STEP_INDEX_SLICE_UP_NAME, step_local_RT_Integer(), STEP_LOOPSLICES_NAME, STEP_MAX_NB_LOOPSLICES_NAME, STEP_RT_LOOP_INDEX_INTEGER, and step_symbolic_expression().
entity step_local_regionArray | ( | entity | module, |
entity | array, | ||
string | region_array_name, | ||
expression | expr_nb_region | ||
) |
module | odule |
array | rray |
region_array_name | egion_array_name |
expr_nb_region | xpr_nb_region |
Definition at line 428 of file compile_RT.c.
References array, CONS, CreateIntrinsic(), DIMENSION, entity_name, entity_variable_p, expression_undefined_p, fortran_module_p(), free(), get_current_module_entity(), int_to_expression(), make_dimension(), MakeBinaryCall(), MINUS_C_OPERATOR_NAME, module, NIL, NumberOfDimension(), pips_assert, pips_debug, STEP_INDEX_SLICE_LOW_NAME, STEP_INDEX_SLICE_UP_NAME, step_local_RT_Integer(), STEP_RT_ARRAY_INDEX_INTEGER, step_symbolic_expression(), and strdup().
Referenced by region_to_statement().
module | odule |
Definition at line 486 of file compile_RT.c.
References module, NIL, step_local_RT_Integer(), STEP_RT_ARRAY_INDEX_INTEGER, and STEP_SLICE_INDEX_NAME.
Referenced by compute_region(), generate_call_get_workchunk_loopbounds(), and generate_loop_workchunk().
entity step_parameter | ( | string | name_, |
entity | module, | ||
expression | expr | ||
) |
Fortran PARAMETER (TEST = expr)
C const int TEST=1
DT74 "TOP-LEVEL:TEST"T77 2 T80 T31 0 4 )()(T63 0 U))))T70 1 T64 R74 "TOP-LEVEL:TOP-LEVEL" R74 "TOP-LEVEL:*STATIC*" 0 ()))T79 5 T44 T73 2 T33 R74 "TOP-LEVEL:1"
T77: type T80: variable T31: basic 0: int T63: qualifier 0: const T70: storage 1: ram T64: ram T79: value 5: expression T44:Expression T73: syntax 2: call T33:call R74: entity"TOP-LEVEL:1"
name_ | ame_ |
module | odule |
expr | xpr |
Definition at line 285 of file compile_RT.c.
References ABSTRACT_LOCATION, add_C_variable_to_area(), AddEntityToModuleCompilationUnit(), compilation_unit_of_module(), CONS, entity_initial, entity_kind, entity_storage, entity_symbolic_p, entity_type, entity_undefined_p, entity_user_name(), expression_undefined_p, FindOrCreateEntity(), fortran_module_p(), free(), get_current_module_entity(), get_current_module_name(), get_top_level_entity(), int_to_expression(), is_type_variable, make_basic_int(), make_qualifier_const(), make_ram(), make_storage_ram(), make_type(), make_value_expression(), make_variable(), MakeParameter(), MakeTypeVariable(), module, NIL, pips_assert, QUALIFIER, set_RT_add_local(), STATIC_AREA_LOCAL_NAME, step_add_created_symbolic(), STEP_RT_SYMBOLIC_INTEGER, strdup(), TOP_LEVEL_MODULE_NAME, and type_undefined_p.
Referenced by step_symbolic().
bool step_parser | ( | const char * | module_name | ) |
module_name | odule_name |
Definition at line 594 of file parser.c.
References CONS, db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, debug_off, debug_on, ifdebug, local_name_to_top_level_entity(), make_block_statement(), module_name(), module_reorder(), NIL, ordering_to_statement_initialized_p(), pips_debug, reset_current_module_entity(), reset_ordering_to_statement(), set_current_module_entity(), STATEMENT, step_directive_parser(), step_directives_init(), step_directives_print(), and step_directives_save().
stmt | tmt |
Definition at line 424 of file directives.c.
References gen_in_list_p(), pips_debug, step_directive_omp_get_private_entities(), and step_directives_load().
Referenced by create_step_regions().
void step_RT_clean_local | ( | void | ) |
reinitialisation du type sinon, la recompilation echoue
Definition at line 255 of file compile_RT.c.
References entity_initial, entity_storage, entity_type, free_storage(), free_type(), free_value(), set_clear(), SET_FOREACH, set_undefined_p, step_created_entity, storage_undefined, type_undefined, type_undefined_p, and value_undefined.
Referenced by compile_mpi().
module | odule |
body | ody |
Definition at line 376 of file compile_RT.c.
References AddLocalEntityToDeclarations(), ENTITY, FOREACH, local_declaration, module, and NIL.
Referenced by compile_mpi().
name | ame |
module | odule |
Definition at line 348 of file compile_RT.c.
References expression_undefined, module, and step_parameter().
Referenced by step_symbolic_expression().
expression step_symbolic_expression | ( | string | name, |
entity | module | ||
) |
name | ame |
module | odule |
Definition at line 353 of file compile_RT.c.
References entity_to_expression(), module, and step_symbolic().
Referenced by bound_to_statement(), build_call_STEP_AllToAll(), generate_call_construct_begin_construct_end(), region_to_statement(), step_local_loopSlices(), and step_local_regionArray().
Definition at line 542 of file compile_RT.c.
References basic_complex, basic_float, basic_int, basic_tag, entity_name, entity_type, entity_undefined, entity_undefined_p, is_basic_complex, is_basic_float, is_basic_int, is_basic_string, MakeConstant(), pips_assert, pips_debug, pips_user_error, STEP_COMPLEX16_NAME, STEP_COMPLEX8_NAME, STEP_INTEGER1_NAME, STEP_INTEGER2_NAME, STEP_INTEGER4_NAME, STEP_INTEGER8_NAME, STEP_REAL4_NAME, STEP_REAL8_NAME, type_variable, type_variable_p, and variable_basic.
Referenced by build_call_STEP_init_regionArray(), call_STEP_subroutine(), check_entity_step_type(), and compile_reduction().
void store_step_comm | ( | void | ) |
Definition at line 206 of file analyse.c.
References db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, step_comm_interlaced, step_comm_partial, and step_comm_path.
Referenced by step_analyse().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 245 of file compile_RT.c.
Referenced by loop_basic_workchunk_to_workchunk(), set_RT_add_local(), step_RT_clean_local(), and update_referenced_entities().
|
extern |
Definition at line 276 of file compile_RT.c.
Referenced by step_add_created_symbolic(), and update_referenced_entities().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by step_lexererror().