GCC Middle and Back End API Reference
cfgcleanup.h
Go to the documentation of this file.
1/* Control flow optimization header file.
2 Copyright (C) 2014-2024 Free Software Foundation, Inc.
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
21#ifndef GCC_CFGCLEANUP_H
22#define GCC_CFGCLEANUP_H
23
25
27 rtx_insn **, enum replace_direction*);
29 rtx_insn **, rtx_insn **, int);
30extern bool delete_unreachable_blocks (void);
31extern void delete_dead_jumptables (void);
32extern bool cleanup_cfg (int);
34
35#endif /* GCC_CFGCLEANUP_H */
bool cleanup_cfg(int)
Definition cfgcleanup.cc:3110
int flow_find_cross_jump(basic_block, basic_block, rtx_insn **, rtx_insn **, enum replace_direction *)
Definition cfgcleanup.cc:1351
bool bb_is_just_return(basic_block, rtx_insn **, rtx_insn **)
Definition cfgcleanup.cc:2603
bool delete_unreachable_blocks(void)
Definition cfgcleanup.cc:2999
replace_direction
Definition cfgcleanup.h:24
@ dir_forward
Definition cfgcleanup.h:24
@ dir_backward
Definition cfgcleanup.h:24
@ dir_none
Definition cfgcleanup.h:24
@ dir_both
Definition cfgcleanup.h:24
void delete_dead_jumptables(void)
Definition cfgcleanup.cc:3073
int flow_find_head_matching_sequence(basic_block, basic_block, rtx_insn **, rtx_insn **, int)
Definition cfgcleanup.cc:1486
Definition basic-block.h:117
Definition rtl.h:546