annotate gcc/tree-eh.h @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Header file for exception handling.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
2 Copyright (C) 2013-2020 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 This file is part of GCC.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 GCC is free software; you can redistribute it and/or modify it under
kono
parents:
diff changeset
7 the terms of the GNU General Public License as published by the Free
kono
parents:
diff changeset
8 Software Foundation; either version 3, or (at your option) any later
kono
parents:
diff changeset
9 version.
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
kono
parents:
diff changeset
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
kono
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kono
parents:
diff changeset
14 for more details.
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
17 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
18 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 #ifndef GCC_TREE_EH_H
kono
parents:
diff changeset
21 #define GCC_TREE_EH_H
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23
kono
parents:
diff changeset
24 typedef struct eh_region_d *eh_region;
kono
parents:
diff changeset
25
kono
parents:
diff changeset
26 extern void using_eh_for_cleanups (void);
kono
parents:
diff changeset
27 extern void add_stmt_to_eh_lp (gimple *, int);
kono
parents:
diff changeset
28 extern bool remove_stmt_from_eh_lp_fn (struct function *, gimple *);
kono
parents:
diff changeset
29 extern bool remove_stmt_from_eh_lp (gimple *);
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
30 extern int lookup_stmt_eh_lp_fn (struct function *, const gimple *);
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
31 extern int lookup_stmt_eh_lp (const gimple *);
111
kono
parents:
diff changeset
32 extern bool make_eh_dispatch_edges (geh_dispatch *);
kono
parents:
diff changeset
33 extern void make_eh_edges (gimple *);
kono
parents:
diff changeset
34 extern edge redirect_eh_edge (edge, basic_block);
kono
parents:
diff changeset
35 extern void redirect_eh_dispatch_edge (geh_dispatch *, edge, basic_block);
kono
parents:
diff changeset
36 extern bool operation_could_trap_helper_p (enum tree_code, bool, bool, bool,
kono
parents:
diff changeset
37 bool, tree, bool *);
kono
parents:
diff changeset
38 extern bool operation_could_trap_p (enum tree_code, bool, bool, tree);
kono
parents:
diff changeset
39 extern bool tree_could_trap_p (tree);
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
40 extern tree rewrite_to_non_trapping_overflow (tree);
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
41 extern bool stmt_could_throw_p (function *, gimple *);
111
kono
parents:
diff changeset
42 extern bool tree_could_throw_p (tree);
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
43 extern bool stmt_can_throw_external (function *, gimple *);
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
44 extern bool stmt_can_throw_internal (function *, gimple *);
111
kono
parents:
diff changeset
45 extern bool maybe_clean_eh_stmt_fn (struct function *, gimple *);
kono
parents:
diff changeset
46 extern bool maybe_clean_eh_stmt (gimple *);
kono
parents:
diff changeset
47 extern bool maybe_clean_or_replace_eh_stmt (gimple *, gimple *);
kono
parents:
diff changeset
48 extern bool maybe_duplicate_eh_stmt_fn (struct function *, gimple *,
kono
parents:
diff changeset
49 struct function *, gimple *,
kono
parents:
diff changeset
50 hash_map<void *, void *> *, int);
kono
parents:
diff changeset
51 extern bool maybe_duplicate_eh_stmt (gimple *, gimple *);
kono
parents:
diff changeset
52 extern void maybe_remove_unreachable_handlers (void);
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
53 extern void unsplit_eh_edges (void);
111
kono
parents:
diff changeset
54 extern bool verify_eh_edges (gimple *);
kono
parents:
diff changeset
55 extern bool verify_eh_dispatch_edge (geh_dispatch *);
kono
parents:
diff changeset
56
kono
parents:
diff changeset
57 #endif /* GCC_TREE_EH_H */