[RS6000] Don't be too clever with dg-do run and dg-do compile
[official-gcc.git] / gcc / ipa-modref.h
blob882810449511456966d718cc69cef6f635e1d1c7
1 /* Search for references that a functions loads or stores.
2 Copyright (C) 2019 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef IPA_MODREF_H
21 #define IPA_MODREF_H
23 typedef modref_tree <alias_set_type> modref_records;
25 /* Single function summary. */
27 struct GTY(()) modref_summary
29 /* Load and stores in function (transitively closed to all callees) */
30 modref_records *loads;
31 modref_records *stores;
33 modref_summary ();
34 ~modref_summary ();
35 void dump (FILE *);
36 bool useful_p (int ecf_flags);
39 modref_summary *get_modref_function_summary (cgraph_node *func);
40 void ipa_modref_c_finalize ();
41 void ipa_merge_modref_summary_after_inlining (cgraph_edge *e);
43 #endif