1/* Header file for normal form into SSA. 2 Copyright (C) 2013-2015 Free Software Foundation, Inc. 3 4This file is part of GCC. 5 6GCC is free software; you can redistribute it and/or modify it under 7the terms of the GNU General Public License as published by the Free 8Software Foundation; either version 3, or (at your option) any later 9version. 10 11GCC is distributed in the hope that it will be useful, but WITHOUT ANY 12WARRANTY; without even the implied warranty of MERCHANTABILITY or 13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 for more details. 15 16You should have received a copy of the GNU General Public License 17along with GCC; see the file COPYING3. If not see 18<http://www.gnu.org/licenses/>. */ 19 20#ifndef GCC_TREE_INTO_SSA_H 21#define GCC_TREE_INTO_SSA_H 22 23extern tree get_current_def (tree); 24extern void set_current_def (tree, tree); 25void delete_update_ssa (void); 26tree create_new_def_for (tree, gimple, def_operand_p); 27void mark_virtual_operands_for_renaming (struct function *); 28void mark_virtual_operand_for_renaming (tree); 29void mark_virtual_phi_result_for_renaming (gphi *); 30bool need_ssa_update_p (struct function *); 31bool name_registered_for_update_p (tree); 32void release_ssa_name_after_update_ssa (tree); 33void update_ssa (unsigned); 34 35/* Prototypes for debugging functions. */ 36extern void debug_decl_set (bitmap set); 37extern void dump_defs_stack (FILE *, int); 38extern void debug_defs_stack (int); 39extern void dump_currdefs (FILE *); 40extern void debug_currdefs (void); 41extern void dump_tree_ssa (FILE *); 42extern void debug_tree_ssa (void); 43extern void dump_tree_ssa_stats (FILE *); 44extern void debug_tree_ssa_stats (void); 45extern void dump_var_infos (FILE *); 46extern void debug_var_infos (void); 47extern void dump_names_replaced_by (FILE *, tree); 48extern void debug_names_replaced_by (tree); 49extern void dump_update_ssa (FILE *); 50extern void debug_update_ssa (void); 51 52#endif /* GCC_TREE_INTO_SSA_H */ 53