tree-into-ssa.h 1.9 KB

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