xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/tree-dfa.h (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
11debfc3dSmrg /* Header file for tree data flow functions.
2*8feb0f0bSmrg    Copyright (C) 2013-2020 Free Software Foundation, Inc.
31debfc3dSmrg 
41debfc3dSmrg This file is part of GCC.
51debfc3dSmrg 
61debfc3dSmrg GCC is free software; you can redistribute it and/or modify it under
71debfc3dSmrg the terms of the GNU General Public License as published by the Free
81debfc3dSmrg Software Foundation; either version 3, or (at your option) any later
91debfc3dSmrg version.
101debfc3dSmrg 
111debfc3dSmrg GCC is distributed in the hope that it will be useful, but WITHOUT ANY
121debfc3dSmrg WARRANTY; without even the implied warranty of MERCHANTABILITY or
131debfc3dSmrg FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
141debfc3dSmrg  for more details.
151debfc3dSmrg 
161debfc3dSmrg You should have received a copy of the GNU General Public License
171debfc3dSmrg along with GCC; see the file COPYING3.  If not see
181debfc3dSmrg <http://www.gnu.org/licenses/>.  */
191debfc3dSmrg 
201debfc3dSmrg #ifndef GCC_TREE_DFA_H
211debfc3dSmrg #define GCC_TREE_DFA_H
221debfc3dSmrg 
23c0a68be4Smrg extern void renumber_gimple_stmt_uids (struct function *);
241debfc3dSmrg extern void renumber_gimple_stmt_uids_in_blocks (basic_block *, int);
251debfc3dSmrg extern void dump_variable (FILE *, tree);
261debfc3dSmrg extern void debug_variable (tree);
271debfc3dSmrg extern void dump_dfa_stats (FILE *);
281debfc3dSmrg extern void debug_dfa_stats (void);
291debfc3dSmrg extern tree ssa_default_def (struct function *, tree);
301debfc3dSmrg extern void set_ssa_default_def (struct function *, tree, tree);
311debfc3dSmrg extern tree get_or_create_ssa_default_def (struct function *, tree);
32a2dc1f3fSmrg extern tree get_ref_base_and_extent (tree, poly_int64_pod *, poly_int64_pod *,
33a2dc1f3fSmrg 				     poly_int64_pod *, bool *);
34a2dc1f3fSmrg extern tree get_ref_base_and_extent_hwi (tree, HOST_WIDE_INT *,
35a2dc1f3fSmrg 					 HOST_WIDE_INT *, bool *);
36a2dc1f3fSmrg extern tree get_addr_base_and_unit_offset_1 (tree, poly_int64_pod *,
371debfc3dSmrg 					     tree (*) (tree));
38a2dc1f3fSmrg extern tree get_addr_base_and_unit_offset (tree, poly_int64_pod *);
391debfc3dSmrg extern bool stmt_references_abnormal_ssa_name (gimple *);
401debfc3dSmrg extern void replace_abnormal_ssa_names (gimple *);
41a2dc1f3fSmrg extern void dump_enumerated_decls (FILE *, dump_flags_t);
421debfc3dSmrg 
431debfc3dSmrg 
441debfc3dSmrg #endif /* GCC_TREE_DFA_H */
45