[gcc]
[official-gcc.git] / gcc / stmt.h
blob5725b731c9a69074e75b130738dbd1e98322a2bf
1 /* Declarations and data structures for stmt.c.
2 Copyright (C) 2013-2016 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 GCC_STMT_H
21 #define GCC_STMT_H
23 extern void expand_label (tree);
24 extern bool parse_output_constraint (const char **, int, int, int,
25 bool *, bool *, bool *);
26 extern bool parse_input_constraint (const char **, int, int, int, int,
27 const char * const *, bool *, bool *);
28 extern tree resolve_asm_operand_names (tree, tree, tree, tree);
29 #ifdef HARD_CONST
30 /* Silly ifdef to avoid having all includers depend on hard-reg-set.h. */
31 extern tree tree_overlaps_hard_reg_set (tree, HARD_REG_SET *);
32 #endif
34 /* Return the CODE_LABEL rtx for a LABEL_DECL, creating it if necessary.
35 If label was deleted, the corresponding note
36 (NOTE_INSN_DELETED{_DEBUG,}_LABEL) insn will be returned. */
37 extern rtx_insn *label_rtx (tree);
39 /* As label_rtx, but additionally the label is placed on the forced label
40 list of its containing function (i.e. it is treated as reachable even
41 if how is not obvious). */
42 extern rtx_insn *force_label_rtx (tree);
44 /* As label_rtx, but checks that label was not deleted. */
45 extern rtx_code_label *jump_target_rtx (tree);
47 /* Expand a GIMPLE_SWITCH statement. */
48 extern void expand_case (gswitch *);
50 /* Like expand_case but special-case for SJLJ exception dispatching. */
51 extern void expand_sjlj_dispatch_table (rtx, vec<tree> );
53 #endif // GCC_STMT_H