annotate gcc/cfgrtl.h @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Define control flow data structures for the CFG.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
2 Copyright (C) 2014-2020 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 This file is part of GCC.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 GCC is free software; you can redistribute it and/or modify it under
kono
parents:
diff changeset
7 the terms of the GNU General Public License as published by the Free
kono
parents:
diff changeset
8 Software Foundation; either version 3, or (at your option) any later
kono
parents:
diff changeset
9 version.
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
kono
parents:
diff changeset
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
kono
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kono
parents:
diff changeset
14 for more details.
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
17 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
18 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 #ifndef GCC_CFGRTL_H
kono
parents:
diff changeset
21 #define GCC_CFGRTL_H
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 extern void delete_insn (rtx_insn *);
kono
parents:
diff changeset
24 extern bool delete_insn_and_edges (rtx_insn *);
kono
parents:
diff changeset
25 extern void delete_insn_chain (rtx, rtx_insn *, bool);
kono
parents:
diff changeset
26 extern basic_block create_basic_block_structure (rtx_insn *, rtx_insn *,
kono
parents:
diff changeset
27 rtx_note *, basic_block);
kono
parents:
diff changeset
28 extern void compute_bb_for_insn (void);
kono
parents:
diff changeset
29 extern unsigned int free_bb_for_insn (void);
kono
parents:
diff changeset
30 extern rtx_insn *entry_of_function (void);
kono
parents:
diff changeset
31 extern void update_bb_for_insn (basic_block);
kono
parents:
diff changeset
32 extern bool contains_no_active_insn_p (const_basic_block);
kono
parents:
diff changeset
33 extern bool forwarder_block_p (const_basic_block);
kono
parents:
diff changeset
34 extern bool can_fallthru (basic_block, basic_block);
kono
parents:
diff changeset
35 extern rtx_note *bb_note (basic_block);
kono
parents:
diff changeset
36 extern rtx_code_label *block_label (basic_block);
kono
parents:
diff changeset
37 extern edge try_redirect_by_replacing_jump (edge, basic_block, bool);
kono
parents:
diff changeset
38 extern void emit_barrier_after_bb (basic_block bb);
kono
parents:
diff changeset
39 extern basic_block force_nonfallthru_and_redirect (edge, basic_block, rtx);
kono
parents:
diff changeset
40 extern void insert_insn_on_edge (rtx, edge);
kono
parents:
diff changeset
41 extern void commit_one_edge_insertion (edge e);
kono
parents:
diff changeset
42 extern void commit_edge_insertions (void);
kono
parents:
diff changeset
43 extern void print_rtl_with_bb (FILE *, const rtx_insn *, dump_flags_t);
kono
parents:
diff changeset
44 extern void update_br_prob_note (basic_block);
kono
parents:
diff changeset
45 extern rtx_insn *get_last_bb_insn (basic_block);
kono
parents:
diff changeset
46 extern void fixup_partitions (void);
kono
parents:
diff changeset
47 extern bool purge_dead_edges (basic_block);
kono
parents:
diff changeset
48 extern bool purge_all_dead_edges (void);
kono
parents:
diff changeset
49 extern bool fixup_abnormal_edges (void);
kono
parents:
diff changeset
50 extern rtx_insn *unlink_insn_chain (rtx_insn *, rtx_insn *);
kono
parents:
diff changeset
51 extern void relink_block_chain (bool);
kono
parents:
diff changeset
52 extern rtx_insn *duplicate_insn_chain (rtx_insn *, rtx_insn *);
kono
parents:
diff changeset
53 extern void cfg_layout_initialize (int);
kono
parents:
diff changeset
54 extern void cfg_layout_finalize (void);
kono
parents:
diff changeset
55 extern void break_superblocks (void);
kono
parents:
diff changeset
56 extern void init_rtl_bb_info (basic_block);
kono
parents:
diff changeset
57 extern void find_bbs_reachable_by_hot_paths (hash_set <basic_block> *);
kono
parents:
diff changeset
58
kono
parents:
diff changeset
59 #endif /* GCC_CFGRTL_H */