PIPS
|
second level fields More...
Functions | |
sequence | statement_sequence (statement s) |
Get the sequence of a statement sequence. More... | |
list | statement_block (statement s) |
Get the list of block statements of a statement sequence. More... | |
test | statement_test (statement s) |
Get the test of a statement. More... | |
statement | effective_test_true (test t) |
returns the effective true branch of a test by skipping a possible sequence of one element. More... | |
loop | statement_loop (statement s) |
Get the loop of a statement. More... | |
whileloop | statement_whileloop (statement s) |
Get the whileloop of a statement. More... | |
statement | statement_goto (statement s) |
Get the goto of a statement. More... | |
call | statement_call (statement s) |
Get the call of a statement. More... | |
unstructured | statement_unstructured (statement s) |
Get the unstructured of a statement. More... | |
forloop | statement_forloop (statement s) |
Get the forloop of a statement. More... | |
multitest | statement_multitest (statement s) |
Get the multitest of a statement. More... | |
expression | statement_expression (statement s) |
Get the expression of a statement. More... | |
second level fields
With these methods you can access directly to the inside of the instructions
returns the effective true branch of a test by skipping a possible sequence of one element.
OK, this should be performed recursively...
Definition at line 1358 of file statement.c.
References CAR, gen_length(), STATEMENT, statement_block(), statement_block_p, and test_true.
Referenced by gcc_if_block_braces_required_p(), and test_with_dangling_else_p().
Get the list of block statements of a statement sequence.
Definition at line 1338 of file statement.c.
References pips_assert, sequence_statements, statement_sequence(), and statement_sequence_p().
Referenced by add_declaration_statement_here(), add_workchunk_loop(), append_statement_to_block_statement(), compile_body(), compile_omp(), compile_regions(), controlize_sequence(), depth_of_parallel_perfect_loop_nest(), depth_of_perfect_loop_nest(), do_expression_reduction(), do_isolate_statement(), do_remove_redundant_communications_in_anyloop(), do_split_block_statements(), do_split_decl_block_statements(), do_terapix_warmup(), do_transform_if_statements(), effective_test_true(), end_omp_construct(), find_first_comment(), find_first_statement_comment(), find_forloop_in_statement(), fix_block_statement_declarations(), fs_filter(), generate_call_flush(), generic_add_declaration_statement(), guard_expanded_statement_if_needed(), if_conversion_compact_stats(), if_conversion_init(), inline_statement_crawler(), insert_optional_pragma(), insert_statements_after_declarations(), loop_basic_workchunk_to_workchunk(), make_seqStat(), MakeForloopWithIndexDeclaration(), normalize_microcode_anotate(), perfectly_nested_loop_index_at_depth(), perfectly_nested_loop_to_body_at_depth(), process_true_stat(), remove_declaration_statement(), RemoveLocalEntityFromDeclarations(), rice_loop(), run_inlining(), simdize_simple_statements(), split_initializations_in_statement(), statement_replace_with_statement_list(), statement_to_direct_declarations(), statement_to_loop_statement_list(), step_directive_basic_workchunk(), step_directive_basic_workchunk_index(), terapix_loop_optimizer(), terapix_optimize_accumulator(), and terapixify_loops().
Get the call of a statement.
Definition at line 1406 of file statement.c.
References instruction_call, pips_assert, statement_call_p(), and statement_instruction.
Referenced by abc_bound_violation_stop_statement_p(), alias_check_two_variables(), BDSC(), change_basic_if_needed(), compact_phi_functions(), compute_SENDRECV_regions(), costly_task(), do_reduction_atomization(), do_reduction_detection(), do_reduction_propagation(), find_receiver_cluster(), freia_is_transpose_call(), freia_memory_management_statement(), freia_shuffle_move_forward(), fsi_seq_flt(), generate_receive_from_statement(), generate_send_from_statement(), get_complement_expression(), impact_check_two_variables(), inline_return_crawler(), kernel_load_store_generator(), make_send_receive_conversion(), MakeForloopWithIndexDeclaration(), match_statement(), maybe_unroll_while_rwt(), perform_substitution_in_assign(), prepare_context(), process_static_initializations(), remove_unread_variable(), seq_rwt(), simd_fill_curArgType(), simd_fill_finalArgType(), simd_load_stat_p(), simd_store_stat_p(), simd_trace_call(), simd_work_stat_p(), statement_phi_function_p(), step_translate_and_map(), step_translate_and_map_step_regions(), switch_vertex_to_assign(), terapix_loop_optimizer(), terapix_optimize_accumulator(), terapixify_loops(), text_test(), two_addresses_code_generator(), variable_is_written_by_statement_flt(), and verify_used_before_set_statement_flt().
expression statement_expression | ( | statement | s | ) |
Get the expression of a statement.
Definition at line 1446 of file statement.c.
References instruction_expression, pips_assert, statement_expression_p(), and statement_instruction.
Get the forloop of a statement.
Definition at line 1426 of file statement.c.
References instruction_forloop, pips_assert, statement_forloop_p(), and statement_instruction.
Referenced by belong_to_statement(), controlize_forloop(), delay_communications_anyloop(), enclosed_statements_ast(), find_forloop_in_statement(), hierarchical_schedule(), make_send_receive_conversion(), print_SDGs(), same_level_p(), statement_in_sequence_p(), step_directive_basic_workchunk(), step_directive_basic_workchunk_index(), unsugared_forloop_header(), unsugared_forloop_inc(), and unsugared_forloop_test().
Get the goto of a statement.
Definition at line 1396 of file statement.c.
References instruction_goto, pips_assert, statement_goto_p(), and statement_instruction.
Referenced by controlize_goto().
Get the loop of a statement.
Definition at line 1374 of file statement.c.
References instruction_loop, pips_assert, statement_instruction, and statement_loop_p().
Referenced by add_conflicts(), add_exec_mmcd(), add_toggle_inc_statements(), attach_ref_to_loop(), belong_to_statement(), build_and_test_dependence_context(), cancel_schedule_stmt(), check_loop_distribution_feasability(), cluster_stage_spire_generation(), code_has_write_eff_ref_p(), com_statement_p(), comEngine_opt_loop_interchange(), communications_construction(), compile_body(), ConnectedStatements(), controlize_loop(), delay_communications_anyloop(), dependence_system_add_lci_and_di(), depth_of_parallel_perfect_loop_nest(), depth_of_perfect_loop_nest(), do_HRE_memory_mapping_loop(), do_kernelize(), do_loop_expansion(), do_loop_expansion_init(), do_loop_nest_unswitching(), do_loop_to_for_loop(), do_loop_to_while_loop(), do_simdizer_auto_tile_generate_all_tests(), do_symbolic_tiling(), do_terapix_warmup(), enclosed_statements_ast(), fill_gRefToEncLoop_loop(), find_or_create_newInd(), find_statements_with_label_walker(), gcd_and_constant_dependence_test(), gen_flat_mpi(), gen_openmp(), generate_code(), generate_code_loop(), get_indExp_from_ref(), get_loop_execution_parallel(), get_loop_locals_and_remove_walker(), get_supportedRef_proc(), get_variables_to_remove(), guard_expanded_statement_if_needed(), hierarchical_schedule(), hpf_compile_parallel_loop(), hpf_compile_sequential_loop(), HRE_distribute_loop(), index_of_a_loop_p(), inlining_regenerate_labels(), loop_basic_workchunk_to_workchunk(), loop_executed_approximation(), loop_header(), loop_inc(), loop_test(), loop_variant_list(), make_context_of_loop(), make_init_newInd_stat(), make_loop_step_stat(), make_loopPattern(), make_loopStat1(), make_mmcd_stats_from_ref(), make_send_receive_conversion(), make_seqStat(), make_transStat(), MakeLoopAs(), MakeNestOfParallelLoops(), module_loops(), outline(), outliner(), outliner_extract_loop_bound(), parallelize_annotated_loop_nest(), perfectly_nested_loop_index_at_depth(), perfectly_nested_loop_to_body_at_depth(), phrase_remove_dependences_rwt(), print_SDGs(), process_reductions_in_loop(), process_reductions_in_openmp_loop(), process_ref_list(), process_true_stat(), quick_privatize_graph(), quick_privatize_statement_pair(), range_flt(), range_rwt(), rdg_loop(), reduction_rewrite_filter(), regenerate_toggles(), same_level_p(), selected_loop_p(), set_loop_execution_parallel(), simd_loop_unroll(), simdizer_auto_tile(), spaghettify_loop(), statement_in_sequence_p(), statement_to_loop_statement_list(), statement_to_postcondition(), statements_conflict_p(), step_directive_basic_workchunk(), step_directive_basic_workchunk_index(), symbolic_tiling_valid_p(), terapix_loop_handler(), terapix_loop_optimizer(), terapixify_loops(), test_dependence_using_regions(), TestDependence(), unroll_loops_in_statement(), unsugared_loop_header(), unsugared_loop_inc(), unsugared_loop_test(), and usual_loop_tiling().
Get the multitest of a statement.
Definition at line 1436 of file statement.c.
References instruction_multitest, pips_assert, statement_instruction, and statement_multitest_p().
Get the sequence of a statement sequence.
Definition at line 1328 of file statement.c.
References instruction_sequence, pips_assert, statement_instruction, and statement_sequence_p().
Referenced by append_statement_to_block_statement(), begin_omp_construct(), cancel_schedule_stmt(), clean_up_sequences_rewrite(), controlize_sequence(), copy_write_statement_with_cumulated_regions(), create_block_if_needed(), do_remove_redundant_communications_in_anyloop(), do_split_block_statements(), end_omp_construct(), freia_allocate_new_images_if_needed(), freia_memory_management_statement(), gen_omp_parallel(), gen_openmp(), gen_synchronization(), get_current_step_directive(), gpu_promote_sequential_walker_in(), hierarchical_schedule(), make_declaration_replication(), make_mpi_conversion(), make_task_mapping(), maybe_unroll_while_rwt(), mpi_initialize(), print_SDGs(), sequence_dg(), statement_block(), terapix_loop_optimizer(), topological_sort(), and transfert_loop().
Get the test of a statement.
Definition at line 1348 of file statement.c.
References instruction_test, pips_assert, statement_instruction, and statement_test_p().
Referenced by atomize_condition(), check_test_distribution_feasability(), control_test_p(), controlize_test(), dag_to_flow_sensitive_preconditions(), delay_communications_test(), do_transform_if_statements(), fill_gRefToEncLoop_test(), gcc_if_block_braces_required_p(), generate_code_test_HRE(), generate_code_test_proc(), gfc2pips_dumpSELECT(), guard_expanded_statement(), HRE_distribute_test(), if_conv_init_statement(), load_arc_precondition(), process_ready_node(), test_with_dangling_else_p(), test_with_no_else_clause_p(), text_block_elseif(), text_block_if(), and unstructured_to_postconditions().
unstructured statement_unstructured | ( | statement | s | ) |
Get the unstructured of a statement.
Definition at line 1416 of file statement.c.
References instruction_unstructured, pips_assert, statement_instruction, and statement_unstructured_p().
Referenced by ensure_comment_consistency(), full_spaghettify(), internal_statement_to_direct_declarations(), and last_statement().
Get the whileloop of a statement.
Definition at line 1383 of file statement.c.
References instruction_whileloop, pips_assert, statement_instruction, and statement_whileloop_p().
Referenced by belong_to_statement(), controlize_repeatloop(), controlize_whileloop(), delay_communications_anyloop(), enclosed_statements_ast(), get_variables_to_remove(), make_send_receive_conversion(), print_SDGs(), same_level_p(), statement_in_sequence_p(), and unsugared_whileloop_test().