GCC Middle and Back End API Reference
|
#include <gimple-walk.h>
Data Fields | |
gimple_stmt_iterator | gsi |
gimple * | stmt |
void * | info |
hash_set< tree > * | pset |
tree | callback_result |
BOOL_BITFIELD | val_only: 1 |
BOOL_BITFIELD | is_lhs: 1 |
BOOL_BITFIELD | changed: 1 |
BOOL_BITFIELD | want_locations: 1 |
BOOL_BITFIELD | removed_stmt: 1 |
Header file for gimple statement walk support. Copyright (C) 2013-2025 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Convenience routines to walk all statements of a gimple function. Note that this is useful exclusively before the code is converted into SSA form. Once the program is in SSA form, the standard operand interface should be used to analyze/modify statements.
tree walk_stmt_info::callback_result |
BOOL_BITFIELD walk_stmt_info::changed |
gimple_stmt_iterator walk_stmt_info::gsi |
Referenced by analyze_function(), copy_bb(), copy_debug_stmt(), dump_enumerated_decls(), estimate_num_insns_seq(), execute_update_addresses_taken(), gimple_can_duplicate_bb_p(), gimple_duplicate_bb(), gimple_empty_block_p(), gimple_make_forwarder_block(), gimple_redirect_edge_and_branch(), gimple_split_block(), gimple_split_block_before_cond_jump(), gimple_verify_flow_info(), inline_forbidden_p_stmt(), insert_debug_temp_for_var_def(), insert_debug_temps_for_defs(), insert_init_debug_bind(), ipa_simd_modify_function_body(), lower_assumption(), lower_builtin_assume_aligned(), lower_builtin_posix_memalign(), lower_builtin_setjmp(), lower_gimple_bind(), lower_gimple_return(), lower_omp(), lower_omp_for_scan(), lower_sequence_no_tm(), lower_sequence_tm(), lower_stmt(), lower_transaction(), lower_try_catch(), release_defs_bitset(), scan_omp_1_stmt(), simd_clone_linear_addend(), verify_gimple_in_cfg(), verify_ssa(), and verify_vssa().
void* walk_stmt_info::info |
BOOL_BITFIELD walk_stmt_info::is_lhs |
Referenced by remap_gimple_op_r(), and replace_locals_op().
BOOL_BITFIELD walk_stmt_info::removed_stmt |
gimple* walk_stmt_info::stmt |
Referenced by add_taskreg_looptemp_clauses(), check_omp_nesting_restrictions(), copy_bb(), copy_debug_stmt(), copy_debug_stmts(), estimate_num_insns(), execute_update_addresses_taken(), expand_FALLTHROUGH_r(), expand_ifn_va_arg_1(), find_outermost_region_in_block(), gimple_block_label(), gimple_duplicate_bb(), gimple_empty_block_p(), gimple_redirect_edge_and_branch(), gimple_split_block(), gimple_stmt_may_fallthru(), gimple_try_catch_may_fallthru(), gimple_try_redirect_by_replacing_jump(), gimple_verify_flow_info(), initialize_inlined_parameters(), inline_forbidden_p_stmt(), insert_debug_temp_for_var_def(), insert_debug_temps_for_defs(), ipa_simd_modify_function_body(), is_asan_mark_p(), lower_assumption(), lower_builtin_posix_memalign(), lower_builtin_setjmp(), lower_emutls_stmt(), lower_gimple_bind(), lower_gimple_return(), lower_omp_1(), lower_omp_for_scan(), lower_omp_target(), lower_omp_taskreg(), lower_sequence_no_tm(), lower_sequence_tm(), lower_stmt(), lower_transaction(), lower_try_catch(), maybe_lookup_ctx(), move_block_to_fn(), new_omp_context(), omp_find_stores_stmt(), optimize_va_list_gpr_fpr_size(), release_defs_bitset(), remap_gimple_op_r(), remap_gimple_stmt(), replace_locals_stmt(), reset_debug_uses(), scan_omp_1_stmt(), scan_omp_sections(), scan_omp_simd_scan(), scan_omp_single(), scan_omp_target(), scan_omp_teams(), verify_def(), verify_eh_throw_stmt_node(), verify_gimple_in_cfg(), verify_ssa(), verify_use(), verify_vssa(), and visit_loops_in_gang_single_region().
BOOL_BITFIELD walk_stmt_info::val_only |
BOOL_BITFIELD walk_stmt_info::want_locations |