GCC Middle and Back End API Reference
tree-ssa-ter.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bitmap find_replaceable_exprs (var_map)
 
void dump_replaceable_exprs (FILE *, bitmap)
 

Function Documentation

◆ dump_replaceable_exprs()

void dump_replaceable_exprs ( FILE * f,
bitmap expr )
extern
Dump TER expression table EXPR to file F.   

References bitmap_bit_p, ggc_alloc(), num_ssa_names, print_generic_expr(), print_gimple_stmt(), ssa_name, SSA_NAME_DEF_STMT, and TDF_SLIM.

Referenced by debug_ter(), and remove_ssa_form().

◆ find_replaceable_exprs()

bitmap find_replaceable_exprs ( var_map map)
extern
Header file for tree-ssa-ter.cc exports.
   Copyright (C) 2013-2024 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/>.   
This function is the driver routine for replacement of temporary expressions
in the SSA->normal phase, operating on MAP.  If there are replaceable
expressions, a table is returned which maps SSA versions to the
expressions they should be replaced with.  A NULL_TREE indicates no
replacement should take place.  If there are no replacements at all,
NULL is returned by the function, otherwise an expression vector indexed
by SSA_NAME version numbers.   

References bitmap_empty_p(), bitmap_obstack_initialize(), bitmap_obstack_release(), cfun, find_replaceable_in_bb(), FOR_EACH_BB_FN, free_temp_expr_table(), gcc_checking_assert, ggc_alloc(), map, new_temp_expr_table(), table, and ter_bitmap_obstack.

Referenced by remove_ssa_form().