Only allow e500 double in SPE_SIMD_REGNO_P registers.
[official-gcc.git] / gcc / cfg.h
blob11935d10b8400d05a80d516fbbd39fc2ef0f9cbf
1 /* Control flow graph manipulation code header file.
2 Copyright (C) 2014 Free Software Foundation, Inc.
4 This file is part of GCC.
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.
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.
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/>. */
20 #ifndef GCC_CFG_H
21 #define GCC_CFG_H
23 extern void init_flow (struct function *);
24 extern void clear_edges (void);
25 extern basic_block alloc_block (void);
26 extern void link_block (basic_block, basic_block);
27 extern void unlink_block (basic_block);
28 extern void compact_blocks (void);
29 extern void expunge_block (basic_block);
30 extern edge unchecked_make_edge (basic_block, basic_block, int);
31 extern edge cached_make_edge (sbitmap, basic_block, basic_block, int);
32 extern edge make_edge (basic_block, basic_block, int);
33 extern edge make_single_succ_edge (basic_block, basic_block, int);
34 extern void remove_edge_raw (edge);
35 extern void redirect_edge_succ (edge, basic_block);
36 extern void redirect_edge_pred (edge, basic_block);
37 extern void clear_bb_flags (void);
38 extern void dump_edge_info (FILE *, edge, int, int);
39 extern void debug (edge_def &ref);
40 extern void debug (edge_def *ptr);
41 extern void alloc_aux_for_blocks (int);
42 extern void clear_aux_for_blocks (void);
43 extern void free_aux_for_blocks (void);
44 extern void alloc_aux_for_edge (edge, int);
45 extern void alloc_aux_for_edges (int);
46 extern void clear_aux_for_edges (void);
47 extern void free_aux_for_edges (void);
48 extern void debug_bb (basic_block);
49 extern basic_block debug_bb_n (int);
50 extern void dump_bb_info (FILE *, basic_block, int, int, bool, bool);
51 extern void brief_dump_cfg (FILE *, int);
52 extern void update_bb_profile_for_threading (basic_block, int, gcov_type, edge);
53 extern void scale_bbs_frequencies_int (basic_block *, int, int, int);
54 extern void scale_bbs_frequencies_gcov_type (basic_block *, int, gcov_type,
55 gcov_type);
56 extern void initialize_original_copy_tables (void);
57 extern void free_original_copy_tables (void);
58 extern void set_bb_original (basic_block, basic_block);
59 extern basic_block get_bb_original (basic_block);
60 extern void set_bb_copy (basic_block, basic_block);
61 extern basic_block get_bb_copy (basic_block);
62 void set_loop_copy (struct loop *, struct loop *);
63 struct loop *get_loop_copy (struct loop *);
65 #endif /* GCC_CFG_H */