]> gcc.gnu.org Git - gcc.git/blame - gcc/cfgrtl.h
docs: fix: WARNING: Parsing of expression failed. Using fallback parser.
[gcc.git] / gcc / cfgrtl.h
CommitLineData
59f2e9d8 1/* Define control flow data structures for the CFG.
7adcbafe 2 Copyright (C) 2014-2022 Free Software Foundation, Inc.
59f2e9d8
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
14for 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_CFGRTL_H
21#define GCC_CFGRTL_H
22
a29f6a2b 23extern void delete_insn (rtx_insn *);
98ccd1d7 24extern bool delete_insn_and_edges (rtx_insn *);
2d93cd20 25extern void delete_insn_chain (rtx, rtx_insn *, bool);
59f2e9d8
AM
26extern basic_block create_basic_block_structure (rtx_insn *, rtx_insn *,
27 rtx_note *, basic_block);
28extern void compute_bb_for_insn (void);
29extern unsigned int free_bb_for_insn (void);
30extern rtx_insn *entry_of_function (void);
31extern void update_bb_for_insn (basic_block);
32extern bool contains_no_active_insn_p (const_basic_block);
33extern bool forwarder_block_p (const_basic_block);
34extern bool can_fallthru (basic_block, basic_block);
35extern rtx_note *bb_note (basic_block);
1476d1bd 36extern rtx_code_label *block_label (basic_block);
59f2e9d8
AM
37extern edge try_redirect_by_replacing_jump (edge, basic_block, bool);
38extern void emit_barrier_after_bb (basic_block bb);
39extern basic_block force_nonfallthru_and_redirect (edge, basic_block, rtx);
40extern void insert_insn_on_edge (rtx, edge);
41extern void commit_one_edge_insertion (edge e);
42extern void commit_edge_insertions (void);
1a817418 43extern void print_rtl_with_bb (FILE *, const rtx_insn *, dump_flags_t);
59f2e9d8
AM
44extern void update_br_prob_note (basic_block);
45extern rtx_insn *get_last_bb_insn (basic_block);
46extern void fixup_partitions (void);
47extern bool purge_dead_edges (basic_block);
48extern bool purge_all_dead_edges (void);
49extern bool fixup_abnormal_edges (void);
21335c48 50extern void update_cfg_for_uncondjump (rtx_insn *);
59f2e9d8
AM
51extern rtx_insn *unlink_insn_chain (rtx_insn *, rtx_insn *);
52extern void relink_block_chain (bool);
d6a05b49
RB
53extern rtx_insn *duplicate_insn_chain (rtx_insn *, rtx_insn *,
54 class loop *, class copy_bb_data *);
1a817418 55extern void cfg_layout_initialize (int);
59f2e9d8
AM
56extern void cfg_layout_finalize (void);
57extern void break_superblocks (void);
58extern void init_rtl_bb_info (basic_block);
d9af4fea 59extern void find_bbs_reachable_by_hot_paths (hash_set <basic_block> *);
59f2e9d8
AM
60
61#endif /* GCC_CFGRTL_H */
This page took 2.260003 seconds and 5 git commands to generate.