tree-dfa.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* Header file for tree data flow functions.
  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_DFA_H
  16. #define GCC_TREE_DFA_H
  17. extern void renumber_gimple_stmt_uids (struct function *);
  18. extern void renumber_gimple_stmt_uids_in_blocks (basic_block *, int);
  19. extern void dump_variable (FILE *, tree);
  20. extern void debug_variable (tree);
  21. extern void dump_dfa_stats (FILE *);
  22. extern void debug_dfa_stats (void);
  23. extern tree ssa_default_def (struct function *, tree);
  24. extern void set_ssa_default_def (struct function *, tree, tree);
  25. extern tree get_or_create_ssa_default_def (struct function *, tree);
  26. extern tree get_ref_base_and_extent (tree, poly_int64_pod *, poly_int64_pod *,
  27. poly_int64_pod *, bool *);
  28. extern tree get_ref_base_and_extent_hwi (tree, HOST_WIDE_INT *,
  29. HOST_WIDE_INT *, bool *);
  30. extern tree get_addr_base_and_unit_offset_1 (tree, poly_int64_pod *,
  31. tree (*) (tree));
  32. extern tree get_addr_base_and_unit_offset (tree, poly_int64_pod *);
  33. extern bool stmt_references_abnormal_ssa_name (gimple *);
  34. extern void replace_abnormal_ssa_names (gimple *);
  35. extern void dump_enumerated_decls (FILE *, dump_flags_t);
  36. #endif /* GCC_TREE_DFA_H */