xref: /dflybsd-src/contrib/gcc-8.0/gcc/stmt.h (revision 38fd149817dfbff97799f62fcb70be98c4e32523)
1*38fd1498Szrj /* Declarations and data structures for stmt.c.
2*38fd1498Szrj    Copyright (C) 2013-2018 Free Software Foundation, Inc.
3*38fd1498Szrj 
4*38fd1498Szrj This file is part of GCC.
5*38fd1498Szrj 
6*38fd1498Szrj GCC is free software; you can redistribute it and/or modify it under
7*38fd1498Szrj the terms of the GNU General Public License as published by the Free
8*38fd1498Szrj Software Foundation; either version 3, or (at your option) any later
9*38fd1498Szrj version.
10*38fd1498Szrj 
11*38fd1498Szrj GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12*38fd1498Szrj WARRANTY; without even the implied warranty of MERCHANTABILITY or
13*38fd1498Szrj FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14*38fd1498Szrj for more details.
15*38fd1498Szrj 
16*38fd1498Szrj You should have received a copy of the GNU General Public License
17*38fd1498Szrj along with GCC; see the file COPYING3.  If not see
18*38fd1498Szrj <http://www.gnu.org/licenses/>.  */
19*38fd1498Szrj 
20*38fd1498Szrj #ifndef GCC_STMT_H
21*38fd1498Szrj #define GCC_STMT_H
22*38fd1498Szrj 
23*38fd1498Szrj extern void expand_label (tree);
24*38fd1498Szrj extern bool parse_output_constraint (const char **, int, int, int,
25*38fd1498Szrj 				     bool *, bool *, bool *);
26*38fd1498Szrj extern bool parse_input_constraint (const char **, int, int, int, int,
27*38fd1498Szrj 				    const char * const *, bool *, bool *);
28*38fd1498Szrj extern tree resolve_asm_operand_names (tree, tree, tree, tree);
29*38fd1498Szrj #ifdef HARD_CONST
30*38fd1498Szrj /* Silly ifdef to avoid having all includers depend on hard-reg-set.h.  */
31*38fd1498Szrj extern tree tree_overlaps_hard_reg_set (tree, HARD_REG_SET *);
32*38fd1498Szrj #endif
33*38fd1498Szrj 
34*38fd1498Szrj /* Return the CODE_LABEL rtx for a LABEL_DECL, creating it if necessary.
35*38fd1498Szrj    If label was deleted, the corresponding note
36*38fd1498Szrj    (NOTE_INSN_DELETED{_DEBUG,}_LABEL) insn will be returned.  */
37*38fd1498Szrj extern rtx_insn *label_rtx (tree);
38*38fd1498Szrj 
39*38fd1498Szrj /* As label_rtx, but additionally the label is placed on the forced label
40*38fd1498Szrj    list of its containing function (i.e. it is treated as reachable even
41*38fd1498Szrj    if how is not obvious).  */
42*38fd1498Szrj extern rtx_insn *force_label_rtx (tree);
43*38fd1498Szrj 
44*38fd1498Szrj /* As label_rtx, but checks that label was not deleted.  */
45*38fd1498Szrj extern rtx_code_label *jump_target_rtx (tree);
46*38fd1498Szrj 
47*38fd1498Szrj /* Expand a GIMPLE_SWITCH statement.  */
48*38fd1498Szrj extern void expand_case (gswitch *);
49*38fd1498Szrj 
50*38fd1498Szrj /* Like expand_case but special-case for SJLJ exception dispatching.  */
51*38fd1498Szrj extern void expand_sjlj_dispatch_table (rtx, vec<tree> );
52*38fd1498Szrj 
53*38fd1498Szrj #endif  // GCC_STMT_H
54