#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "errors.h"#include "ggc.h"#include "tree.h"#include "rtl.h"#include "tm_p.h"#include "basic-block.h"#include "timevar.h"#include "diagnostic.h"#include "tree-flow.h"#include "tree-pass.h"#include "tree-dump.h"

Go to the source code of this file.
Functions/Subroutines | |
| static bool | need_imm_uses_for (tree) |
| static void | tree_ssa_forward_propagate_single_use_vars (void) |
| static void | record_single_argument_cond_exprs (varray_type, varray_type *, bitmap) |
| static void | substitute_single_use_vars (varray_type *, varray_type) |
| static bool | gate_forwprop (void) |
Variables | |
| static bitmap | vars |
| struct tree_opt_pass | pass_forwprop |
Definition at line 536 of file tree-ssa-forwprop.c.
Definition at line 127 of file tree-ssa-forwprop.c.
References bitmap_bit_p(), SSA_NAME_VERSION, and vars.
| static void record_single_argument_cond_exprs | ( | varray_type | cond_worklist, | |
| varray_type * | vars_worklist, | |||
| bitmap | vars | |||
| ) | [static] |
Definition at line 144 of file tree-ssa-forwprop.c.
References bitmap_bit_p(), bitmap_set_bit(), COMPARISON_CLASS_P, cond, COND_EXPR_COND, CONSTANT_CLASS_P, integer_onep(), integer_zerop(), INTEGRAL_TYPE_P, is_gimple_min_invariant(), last, SSA_NAME, SSA_NAME_DEF_STMT, SSA_NAME_OCCURS_IN_ABNORMAL_PHI, SSA_NAME_VERSION, TREE_CODE, TREE_OPERAND, TREE_TYPE, VARRAY_ACTIVE_SIZE, VARRAY_POP, VARRAY_PUSH_TREE, and VARRAY_TOP_TREE.
Referenced by tree_ssa_forward_propagate_single_use_vars().
| static void substitute_single_use_vars | ( | varray_type * | cond_worklist, | |
| varray_type | vars_worklist | |||
| ) | [static] |
Definition at line 323 of file tree-ssa-forwprop.c.
References boolean_type_node, bsi_for_stmt(), bsi_remove(), build(), build2, COMPARISON_CLASS_P, cond, COND_EXPR_COND, dump_file, dump_flags, fold_convert(), fprintf(), get_immediate_uses(), immediate_use(), int_const_binop(), integer_onep(), integer_zero_node, integer_zerop(), invert_truthvalue(), is_gimple_val(), modify_stmt(), num_immediate_uses(), print_generic_expr(), SSA_NAME, SSA_NAME_DEF_STMT, tcc_comparison, TDF_DETAILS, TREE_CODE, TREE_CODE_CLASS, TREE_OPERAND, TREE_TYPE, VARRAY_ACTIVE_SIZE, VARRAY_POP, VARRAY_PUSH_TREE, and VARRAY_TOP_TREE.
Referenced by tree_ssa_forward_propagate_single_use_vars().
Definition at line 484 of file tree-ssa-forwprop.c.
References BITMAP_ALLOC, bitmap_clear(), BITMAP_FREE, compute_immediate_uses(), FOR_EACH_BB, free_df(), last, last_stmt(), need_imm_uses_for(), NULL, record_single_argument_cond_exprs(), substitute_single_use_vars(), TDFA_USE_OPS, TREE_CODE, VARRAY_ACTIVE_SIZE, VARRAY_PUSH_TREE, VARRAY_TREE_INIT, varray_type, and vars.
Initial value:
{
"forwprop",
gate_forwprop,
tree_ssa_forward_propagate_single_use_vars,
NULL,
NULL,
0,
TV_TREE_FORWPROP,
PROP_cfg | PROP_ssa
| PROP_alias,
0,
0,
0,
TODO_dump_func | TODO_ggc_collect
| TODO_verify_ssa,
0
}
Definition at line 541 of file tree-ssa-forwprop.c.
Definition at line 114 of file tree-ssa-forwprop.c.
Referenced by c_parser_omp_threadprivate(), cp_finish_file(), cp_parser_omp_threadprivate(), dump_function_to_file(), expand_expr(), find_replaceable_in_bb(), finish_file(), initialize_inlined_parameters(), need_imm_uses_for(), and tree_ssa_forward_propagate_single_use_vars().
1.5.6