| 1 | /* Declarations and data structures for stmt.cc. |
| 2 | Copyright (C) 2013-2025 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 | 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 |
| 33 | |
| 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); |
| 38 | |
| 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); |
| 43 | |
| 44 | /* As label_rtx, but checks that label was not deleted. */ |
| 45 | extern rtx_code_label *jump_target_rtx (tree); |
| 46 | |
| 47 | /* Expand a GIMPLE_SWITCH statement. */ |
| 48 | extern void expand_case (gswitch *); |
| 49 | |
| 50 | /* Like expand_case but special-case for SJLJ exception dispatching. */ |
| 51 | extern void expand_sjlj_dispatch_table (rtx, vec<tree> ); |
| 52 | |
| 53 | #endif // GCC_STMT_H |
| 54 | |