source: arduino-1-6-7/trunk/fuentes/arduino-ide-amd64/hardware/tools/avr/lib/gcc/avr/4.9.2/plugin/include/tree-cfg.h @ 4837

Last change on this file since 4837 was 4837, checked in by daduve, 2 years ago

Adding new version

File size: 4.3 KB
Line 
1/* Data and Control Flow Analysis for Trees.
2   Copyright (C) 2001-2014 Free Software Foundation, Inc.
3   Contributed by Diego Novillo <dnovillo@redhat.com>
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 3, or (at your option)
10any later version.
11
12GCC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING3.  If not see
19<http://www.gnu.org/licenses/>.  */
20
21#ifndef _TREE_CFG_H
22#define _TREE_CFG_H
23
24/* Location to track pending stmt for edge insertion.  */
25#define PENDING_STMT(e) ((e)->insns.g)
26
27extern void init_empty_tree_cfg_for_function (struct function *);
28extern void init_empty_tree_cfg (void);
29extern void fold_cond_expr_cond (void);
30extern void start_recording_case_labels (void);
31extern void end_recording_case_labels (void);
32extern basic_block label_to_block_fn (struct function *, tree);
33#define label_to_block(t) (label_to_block_fn (cfun, t))
34extern void cleanup_dead_labels (void);
35extern void group_case_labels_stmt (gimple);
36extern void group_case_labels (void);
37extern void replace_uses_by (tree, tree);
38extern basic_block single_noncomplex_succ (basic_block bb);
39extern void notice_special_calls (gimple);
40extern void clear_special_calls (void);
41extern edge find_taken_edge (basic_block, tree);
42extern void gimple_debug_bb (basic_block);
43extern basic_block gimple_debug_bb_n (int);
44extern void gimple_debug_cfg (int);
45extern void gimple_dump_cfg (FILE *, int);
46extern void dump_cfg_stats (FILE *);
47extern void debug_cfg_stats (void);
48extern bool computed_goto_p (gimple);
49extern bool stmt_can_make_abnormal_goto (gimple);
50extern basic_block get_abnormal_succ_dispatcher (basic_block);
51extern bool is_ctrl_stmt (gimple);
52extern bool is_ctrl_altering_stmt (gimple);
53extern bool simple_goto_p (gimple);
54extern bool stmt_ends_bb_p (gimple);
55extern bool assert_unreachable_fallthru_edge_p (edge);
56extern void delete_tree_cfg_annotations (void);
57extern gimple first_stmt (basic_block);
58extern gimple last_stmt (basic_block);
59extern gimple last_and_only_stmt (basic_block);
60extern void verify_gimple_in_seq (gimple_seq);
61extern void verify_gimple_in_cfg (struct function *);
62extern tree gimple_block_label (basic_block);
63extern void add_phi_args_after_copy_bb (basic_block);
64extern void add_phi_args_after_copy (basic_block *, unsigned, edge);
65extern bool gimple_duplicate_sese_region (edge, edge, basic_block *, unsigned,
66                                        basic_block *, bool);
67extern bool gimple_duplicate_sese_tail (edge, edge, basic_block *, unsigned,
68                                      basic_block *);
69extern void gather_blocks_in_sese_region (basic_block entry, basic_block exit,
70                                          vec<basic_block> *bbs_p);
71extern basic_block move_sese_region_to_fn (struct function *, basic_block,
72                                           basic_block, tree);
73extern void dump_function_to_file (tree, FILE *, int);
74extern void debug_function (tree, int) ;
75extern void print_loops_bb (FILE *, basic_block, int, int);
76extern void print_loops (FILE *, int);
77extern void debug (struct loop &ref);
78extern void debug (struct loop *ptr);
79extern void debug_verbose (struct loop &ref);
80extern void debug_verbose (struct loop *ptr);
81extern void debug_loops (int);
82extern void debug_loop (struct loop *, int);
83extern void debug_loop_num (unsigned, int);
84extern void remove_edge_and_dominated_blocks (edge);
85extern bool gimple_purge_dead_eh_edges (basic_block);
86extern bool gimple_purge_all_dead_eh_edges (const_bitmap);
87extern bool gimple_purge_dead_abnormal_call_edges (basic_block);
88extern bool gimple_purge_all_dead_abnormal_call_edges (const_bitmap);
89extern tree gimplify_build3 (gimple_stmt_iterator *, enum tree_code,
90                             tree, tree, tree, tree);
91extern tree gimplify_build2 (gimple_stmt_iterator *, enum tree_code,
92                             tree, tree, tree);
93extern tree gimplify_build1 (gimple_stmt_iterator *, enum tree_code,
94                             tree, tree);
95extern void extract_true_false_edges_from_block (basic_block, edge *, edge *);
96extern unsigned int execute_fixup_cfg (void);
97extern unsigned int split_critical_edges (void);
98
99#endif /* _TREE_CFG_H  */
Note: See TracBrowser for help on using the repository browser.