#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "tree.h"#include "flags.h"#include "rtl.h"#include "tm_p.h"#include "ggc.h"#include "langhooks.h"#include "hard-reg-set.h"#include "basic-block.h"#include "output.h"#include "errors.h"#include "expr.h"#include "function.h"#include "diagnostic.h"#include "bitmap.h"#include "pointer-set.h"#include "tree-flow.h"#include "tree-gimple.h"#include "tree-inline.h"#include "varray.h"#include "timevar.h"#include "hashtab.h"#include "tree-dump.h"#include "tree-pass.h"

Go to the source code of this file.
Definition at line 1178 of file tree-ssa.c.
References gcc_assert, get_eq_name(), get_immediate_uses(), i, immediate_use(), may_propagate_copy(), n, NULL_TREE, num_immediate_uses(), operand_equal_for_phi_arg_p(), PHI_ARG_DEF, PHI_NUM_ARGS, PHI_RESULT, SSA_NAME, SSA_NAME_DEF_STMT, SSA_NAME_VERSION, TREE_CODE, unsigned, and val.
Referenced by kill_redundant_phi_nodes().
| DEF_VEC_MALLOC_P | ( | bitmap | ) |
Definition at line 733 of file tree-ssa.c.
Definition at line 1419 of file tree-ssa.c.
References bsi_end_p(), bsi_next(), bsi_start(), bsi_stmt(), bsi_stmt_ptr(), EXPR_LOCUS, FOR_EACH_BB, NULL, walk_tree(), and warn_uninitialized_var().
Referenced by execute_late_warn_uninitialized().
Definition at line 1431 of file tree-ssa.c.
References execute_early_warn_uninitialized(), FOR_EACH_BB, PHI_CHAIN, phi_nodes(), and warn_uninitialized_phi().
Definition at line 85 of file tree-ssa.c.
Definition at line 1147 of file tree-ssa.c.
References SSA_NAME, SSA_NAME_VERSION, TREE_CODE, and val.
Referenced by check_phi_redundancy(), and kill_redundant_phi_nodes().
Definition at line 717 of file tree-ssa.c.
Definition at line 1248 of file tree-ssa.c.
References bb_for_stmt(), check_phi_redundancy(), compute_immediate_uses(), FOR_EACH_BB, free(), free_df(), get_eq_name(), i, NULL, NULL_TREE, num_ssa_names, PHI_CHAIN, phi_nodes(), PHI_RESULT, remove_phi_node(), replace_immediate_uses(), ssa_name, SSA_NAME_DEF_STMT, TDFA_USE_OPS, TDFA_USE_VOPS, and xcalloc().
Referenced by tree_loop_optimizer_init().
Definition at line 1004 of file tree-ssa.c.
References bb_for_stmt(), bsi_after_labels(), bsi_insert_after(), BSI_NEW_STMT, build2, duplicate_ssa_name(), handled_component_p(), mark_new_vars_to_rename(), NULL_TREE, tree_block_label(), TREE_CODE, TREE_OPERAND, TREE_TYPE, vars_to_rename, and void_type_node.
Referenced by replace_immediate_uses().
Definition at line 1050 of file tree-ssa.c.
References bsi_for_stmt(), bsi_replace(), bsi_stmt(), EDGE_ABNORMAL, flags, fold_stmt(), FOR_EACH_SSA_USE_OPERAND, get_immediate_uses(), get_stmt_operands(), i, immediate_use(), is_gimple_reg(), iter, mark_new_vars_to_rename(), modify_stmt(), n, num_immediate_uses(), PHI_ARG_DEF, PHI_ARG_EDGE, PHI_NUM_ARGS, POINTER_TYPE_P, propagate_into_addr(), propagate_value(), redirect_immediate_uses(), SET_PHI_ARG_DEF, si, SSA_NAME, SSA_NAME_DEF_STMT, SSA_NAME_OCCURS_IN_ABNORMAL_PHI, SSA_NAME_VAR, SSA_OP_USE, SSA_OP_VIRTUAL_KILLS, SSA_OP_VIRTUAL_USES, tmp, TREE_CODE, TREE_OPERAND, TREE_TYPE, USE_FROM_PTR, use_operand_p, and vars_to_rename.
Referenced by kill_redundant_phi_nodes().
| edge ssa_redirect_edge | ( | edge | e, | |
| basic_block | dest | |||
| ) |
Definition at line 54 of file tree-ssa.c.
Definition at line 878 of file tree-ssa.c.
Definition at line 858 of file tree-ssa.c.
Definition at line 779 of file tree-ssa.c.
Definition at line 587 of file tree-ssa.c.
References verify_flow_insensitive_alias_info(), verify_flow_sensitive_alias_info(), and verify_name_tags().
Referenced by verify_ssa().
| static bool verify_def | ( | basic_block | bb, | |
| basic_block * | definition_block, | |||
| tree | ssa_name, | |||
| tree | stmt, | |||
| bool | is_virtual | |||
| ) | [static] |
Definition at line 158 of file tree-ssa.c.
References err, error(), fprintf(), index(), basic_block_def::index, print_generic_expr(), print_generic_stmt(), SSA_NAME_DEF_STMT, SSA_NAME_VERSION, TDF_VOPS, and verify_ssa_name().
Referenced by verify_ssa().
Definition at line 340 of file tree-ssa.c.
References alias, BITMAP_ALLOC, bitmap_bit_p(), BITMAP_FREE, bitmap_set_bit(), debug_variable(), err, error(), i, internal_error(), may_aliases(), may_be_aliased(), NOT_A_TAG, NULL, num_referenced_vars, referenced_var, var_ann(), VARRAY_ACTIVE_SIZE, VARRAY_TREE, varray_type, and visited.
Referenced by verify_alias_info().
Definition at line 397 of file tree-ssa.c.
References bitmap_empty_p, debug_variable(), err, error(), i, internal_error(), is_call_clobbered(), is_gimple_reg(), NULL, num_ssa_names, pi, POINTER_TYPE_P, ptr, ssa_name, SSA_NAME_PTR_INFO, SSA_NAME_VAR, TREE_CODE, TREE_TYPE, TREE_VISITED, and var_ann().
Referenced by verify_alias_info().
Definition at line 476 of file tree-ssa.c.
References alias, BITMAP_ALLOC, bitmap_clear(), bitmap_equal_p(), BITMAP_FREE, bitmap_intersect_compl_p(), bitmap_set_bit(), debug_variable(), err, error(), first, i, internal_error(), NULL, NULL_TREE, num_ssa_names, pi, POINTER_TYPE_P, ptr, second(), ssa_name, SSA_NAME_PTR_INFO, SSA_NAME_VAR, TREE_TYPE, TREE_VISITED, var_ann(), VARRAY_ACTIVE_SIZE, VARRAY_TREE, varray_type, VEC, VEC_free, VEC_index, VEC_iterate, and VEC_safe_push.
Referenced by verify_alias_info().
| static bool verify_phi_args | ( | tree | phi, | |
| basic_block | bb, | |||
| basic_block * | definition_block | |||
| ) | [static] |
Definition at line 272 of file tree-ssa.c.
References edge::dest, EDGE_ABNORMAL, EDGE_COUNT, EDGE_PRED, err, error(), edge::flags, fprintf(), i, basic_block_def::index, is_gimple_min_invariant(), is_gimple_reg(), NULL, NULL_TREE, PHI_ARG_DEF, PHI_NUM_ARGS, PHI_RESULT, print_generic_stmt(), edge::src, SSA_NAME, SSA_NAME_VERSION, TDF_VOPS, TREE_CODE, and verify_use().
Referenced by verify_ssa().
Definition at line 599 of file tree-ssa.c.
References bb_for_stmt(), BITMAP_ALLOC, bitmap_clear(), BITMAP_FREE, bitmap_set_bit(), bsi_end_p(), bsi_next(), bsi_start(), bsi_stmt(), calculate_dominance_info(), CDI_DOMINATORS, edge::dest, dom_computed, DOM_NONE, err, error(), FOR_EACH_BB, FOR_EACH_EDGE, FOR_EACH_SSA_TREE_OPERAND, free(), free_dominance_info(), get_stmt_operands(), i, internal_error(), IS_EMPTY_STMT, is_gimple_reg(), iter, NULL, num_ssa_names, NUM_V_MAY_DEFS, PHI_CHAIN, phi_nodes(), PHI_RESULT, print_generic_stmt(), edge::src, ssa_name, SSA_NAME_DEF_STMT, SSA_NAME_VERSION, SSA_OP_ALL_DEFS, SSA_OP_ALL_KILLS, SSA_OP_ALL_USES, stmt_ann(), STMT_V_MAY_DEF_OPS, TDF_VOPS, timevar_pop, timevar_push, TREE_VISITED, verify_alias_info(), verify_def(), verify_phi_args(), verify_use(), and xcalloc().
Referenced by execute_todo(), and verify_loop_closed_ssa().
Definition at line 109 of file tree-ssa.c.
References error(), is_gimple_reg(), SSA_NAME, SSA_NAME_IN_FREE_LIST, SSA_NAME_VAR, TREE_CODE, and TREE_TYPE.
Referenced by verify_def(), and verify_use().
| static bool verify_use | ( | basic_block | bb, | |
| basic_block | def_bb, | |||
| tree | ssa_name, | |||
| tree | stmt, | |||
| bool | check_abnormal, | |||
| bool | is_virtual, | |||
| bitmap | names_defined_in_bb | |||
| ) | [static] |
Definition at line 213 of file tree-ssa.c.
References bitmap_bit_p(), CDI_DOMINATORS, default_def(), dominated_by_p(), err, error(), fprintf(), basic_block_def::index, IS_EMPTY_STMT, NULL, print_generic_expr(), print_generic_stmt(), SSA_NAME_DEF_STMT, SSA_NAME_OCCURS_IN_ABNORMAL_PHI, SSA_NAME_VAR, SSA_NAME_VERSION, TDF_VOPS, TREE_VISITED, var_ann(), and verify_ssa_name().
Referenced by verify_phi_args(), and verify_ssa().
| void walk_use_def_chains | ( | tree | var, | |
| walk_use_def_chains_fn | fn, | |||
| void * | data, | |||
| bool | is_dfs | |||
| ) |
Definition at line 978 of file tree-ssa.c.
| static bool walk_use_def_chains_1 | ( | tree | var, | |
| walk_use_def_chains_fn | fn, | |||
| void * | data, | |||
| struct pointer_set_t * | visited, | |||
| bool | is_dfs | |||
| ) | [static] |
Definition at line 908 of file tree-ssa.c.
References i, PHI_ARG_DEF, PHI_NUM_ARGS, pointer_set_insert(), SSA_NAME, SSA_NAME_DEF_STMT, and TREE_CODE.
Referenced by walk_use_def_chains(), and walk_use_def_chains_1().
| static void warn_uninit | ( | tree | t, | |
| const char * | gmsgid, | |||
| location_t * | locus | |||
| ) | [static] |
Definition at line 1347 of file tree-ssa.c.
References DECL_HARD_REGISTER, DECL_SOURCE_LOCATION, IS_EMPTY_STMT, SSA_NAME_DEF_STMT, SSA_NAME_VAR, TREE_CODE, TREE_NO_WARNING, and warning.
Referenced by warn_uninitialized_phi(), and warn_uninitialized_var().
Definition at line 1401 of file tree-ssa.c.
References i, is_gimple_reg(), n, NULL, PHI_ARG_DEF, PHI_NUM_ARGS, PHI_RESULT, SSA_NAME, TREE_CODE, and warn_uninit().
Referenced by execute_late_warn_uninitialized().
Definition at line 1380 of file tree-ssa.c.
References IS_TYPE_OR_DECL_P, NULL_TREE, SSA_NAME, TREE_CODE, and warn_uninit().
Referenced by execute_early_warn_uninitialized().
Initial value:
{
NULL,
gate_warn_uninitialized,
execute_early_warn_uninitialized,
NULL,
NULL,
0,
0,
PROP_ssa,
0,
0,
0,
0,
0
}
Definition at line 1452 of file tree-ssa.c.
Initial value:
{
NULL,
gate_warn_uninitialized,
execute_late_warn_uninitialized,
NULL,
NULL,
0,
0,
PROP_ssa,
0,
0,
0,
0,
0
}
Definition at line 1469 of file tree-ssa.c.
Initial value:
{
"redphi",
NULL,
kill_redundant_phi_nodes,
NULL,
NULL,
0,
TV_TREE_REDPHI,
PROP_cfg | PROP_ssa | PROP_alias,
0,
0,
0,
TODO_dump_func | TODO_rename_vars
| TODO_ggc_collect | TODO_verify_ssa,
0
}
Definition at line 1310 of file tree-ssa.c.
Referenced by init_tree_optimization_passes().
1.5.6