| 1 | /* Declarations and data structures for stmt.cc. |
| 2 | Copyright (C) 2013-2026 Free Software Foundation, Inc. |
| 3 | |
| 4 | This file is part of GCC. |
| 5 | |
| 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. |
| 10 | |
| 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. |
| 15 | |
| 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/>. */ |
| 19 | |
| 20 | #ifndef GCC_STMT_H |
| 21 | #define GCC_STMT_H |
| 22 | |
| 23 | class gimplify_reg_info; |
| 24 | |
| 25 | extern void expand_label (tree); |
| 26 | extern bool parse_output_constraint (const char **, int, int, int, |
| 27 | bool *, bool *, bool *, |
| 28 | gimplify_reg_info *); |
| 29 | extern bool parse_input_constraint (const char **, int, int, int, int, |
| 30 | const char * const *, bool *, bool *, |
| 31 | gimplify_reg_info *); |
| 32 | extern int decode_hard_reg_constraint (const char *); |
| 33 | extern tree resolve_asm_operand_names (tree, tree, tree, tree); |
| 34 | #ifdef HARD_CONST |
| 35 | /* Silly ifdef to avoid having all includers depend on hard-reg-set.h. */ |
| 36 | extern tree tree_overlaps_hard_reg_set (tree, HARD_REG_SET *); |
| 37 | #endif |
| 38 | |
| 39 | /* Return the CODE_LABEL rtx for a LABEL_DECL, creating it if necessary. |
| 40 | If label was deleted, the corresponding note |
| 41 | (NOTE_INSN_DELETED{_DEBUG,}_LABEL) insn will be returned. */ |
| 42 | extern rtx_insn *label_rtx (tree); |
| 43 | |
| 44 | /* As label_rtx, but additionally the label is placed on the forced label |
| 45 | list of its containing function (i.e. it is treated as reachable even |
| 46 | if how is not obvious). */ |
| 47 | extern rtx_insn *force_label_rtx (tree); |
| 48 | |
| 49 | /* As label_rtx, but checks that label was not deleted. */ |
| 50 | extern rtx_code_label *jump_target_rtx (tree); |
| 51 | |
| 52 | /* Expand a GIMPLE_SWITCH statement. */ |
| 53 | extern void expand_case (gswitch *); |
| 54 | |
| 55 | /* Like expand_case but special-case for SJLJ exception dispatching. */ |
| 56 | extern void expand_sjlj_dispatch_table (rtx, vec<tree> ); |
| 57 | |
| 58 | #endif // GCC_STMT_H |
| 59 | |