GCC Middle and Back End API Reference
tree-into-ssa.h
Go to the documentation of this file.
1/* Header file for normal form into SSA.
2 Copyright (C) 2013-2026 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
24extern void set_current_def (tree, tree);
25void delete_update_ssa (void);
30bool need_ssa_update_p (struct function *);
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);
52
53#endif /* GCC_TREE_INTO_SSA_H */
class bitmap_head * bitmap
Definition coretypes.h:51
union tree_node * tree
Definition coretypes.h:97
Definition function.h:249
Definition gimple.h:224
Definition gimple.h:464
Definition cse.cc:4181
bitmap names_to_release
Definition tree-into-ssa.cc:102
DEBUG_FUNCTION void debug_tree_ssa_stats(void)
Definition tree-into-ssa.cc:1707
bool name_registered_for_update_p(tree n)
Definition tree-into-ssa.cc:3148
void dump_tree_ssa(FILE *file)
Definition tree-into-ssa.cc:1653
void delete_update_ssa(void)
Definition tree-into-ssa.cc:3006
tree create_new_def_for(tree old_name, gimple *stmt, def_operand_p def)
Definition tree-into-ssa.cc:3046
void dump_tree_ssa_stats(FILE *file)
Definition tree-into-ssa.cc:1692
void dump_names_replaced_by(FILE *file, tree name)
Definition tree-into-ssa.cc:2901
DEBUG_FUNCTION void debug_defs_stack(int n)
Definition tree-into-ssa.cc:1611
void mark_virtual_phi_result_for_renaming(gphi *phi)
Definition tree-into-ssa.cc:3122
DEBUG_FUNCTION void debug_update_ssa(void)
Definition tree-into-ssa.cc:2976
DEBUG_FUNCTION void debug_names_replaced_by(tree name)
Definition tree-into-ssa.cc:2924
tree get_current_def(tree var)
Definition tree-into-ssa.cc:389
void mark_virtual_operands_for_renaming(struct function *fn)
Definition tree-into-ssa.cc:3087
void dump_var_infos(FILE *file)
Definition tree-into-ssa.cc:1736
void set_current_def(tree var, tree def)
Definition tree-into-ssa.cc:398
DEBUG_FUNCTION void debug_var_infos(void)
Definition tree-into-ssa.cc:1747
void dump_update_ssa(FILE *file)
Definition tree-into-ssa.cc:2933
void dump_defs_stack(FILE *file, int n)
Definition tree-into-ssa.cc:1553
DEBUG_FUNCTION void debug_currdefs(void)
Definition tree-into-ssa.cc:1644
void mark_virtual_operand_for_renaming(tree name)
Definition tree-into-ssa.cc:3098
bool need_ssa_update_p(struct function *fn)
Definition tree-into-ssa.cc:3138
void update_ssa(unsigned update_flags)
Definition tree-into-ssa.cc:3361
DEBUG_FUNCTION void debug_tree_ssa(void)
Definition tree-into-ssa.cc:1670
void release_ssa_name_after_update_ssa(tree name)
Definition tree-into-ssa.cc:3162
void dump_currdefs(FILE *file)
Definition tree-into-ssa.cc:1620
DEBUG_FUNCTION void debug_decl_set(bitmap set)
Definition tree-into-ssa.cc:1540
tree * def_operand_p
Definition tree-ssa-operands.h:27