]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/tree-eh.h
add a hash_set based on hash_table
[thirdparty/gcc.git] / gcc / tree-eh.h
CommitLineData
481d1b81 1/* Header file for exception handling.
23a5b65a 2 Copyright (C) 2013-2014 Free Software Foundation, Inc.
481d1b81
AM
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 3, or (at your option) any later
9version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
19
20#ifndef GCC_TREE_EH_H
21#define GCC_TREE_EH_H
22
23extern void using_eh_for_cleanups (void);
24extern void add_stmt_to_eh_lp (gimple, int);
25extern bool remove_stmt_from_eh_lp_fn (struct function *, gimple);
26extern bool remove_stmt_from_eh_lp (gimple);
27extern int lookup_stmt_eh_lp_fn (struct function *, gimple);
28extern int lookup_stmt_eh_lp (gimple);
29extern bool make_eh_dispatch_edges (gimple);
30extern void make_eh_edges (gimple);
31extern edge redirect_eh_edge (edge, basic_block);
32extern void redirect_eh_dispatch_edge (gimple, edge, basic_block);
33extern bool operation_could_trap_helper_p (enum tree_code, bool, bool, bool,
34 bool, tree, bool *);
35extern bool operation_could_trap_p (enum tree_code, bool, bool, tree);
36extern bool tree_could_trap_p (tree);
37extern bool stmt_could_throw_p (gimple);
38extern bool tree_could_throw_p (tree);
39extern bool stmt_can_throw_external (gimple);
40extern bool stmt_can_throw_internal (gimple);
41extern bool maybe_clean_eh_stmt_fn (struct function *, gimple);
42extern bool maybe_clean_eh_stmt (gimple);
43extern bool maybe_clean_or_replace_eh_stmt (gimple, gimple);
44extern bool maybe_duplicate_eh_stmt_fn (struct function *, gimple,
45 struct function *, gimple,
46 struct pointer_map_t *, int);
47extern bool maybe_duplicate_eh_stmt (gimple, gimple);
48extern void maybe_remove_unreachable_handlers (void);
49extern bool verify_eh_edges (gimple);
50extern bool verify_eh_dispatch_edge (gimple);
51
52#endif /* GCC_TREE_EH_H */