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

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

Adding new version

File size: 1.4 KB
Line 
1/* Communication between registering jump thread requests and
2   updating the SSA/CFG for jump threading.
3   Copyright (C) 2013-2014 Free Software Foundation, Inc.
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_SSA_THREADUPDATE_H
22#define _TREE_SSA_THREADUPDATE_H 1
23
24/* In tree-ssa-threadupdate.c.  */
25extern bool thread_through_all_blocks (bool);
26enum jump_thread_edge_type
27{
28  EDGE_START_JUMP_THREAD,
29  EDGE_COPY_SRC_BLOCK,
30  EDGE_COPY_SRC_JOINER_BLOCK,
31  EDGE_NO_COPY_SRC_BLOCK
32};
33
34class jump_thread_edge
35{
36public:
37  jump_thread_edge (edge e, enum jump_thread_edge_type type)
38    : e (e), type (type) {}
39
40  edge e;
41  enum jump_thread_edge_type type;
42};
43
44extern void register_jump_thread (vec <class jump_thread_edge *> *);
45extern void delete_jump_thread_path (vec <class jump_thread_edge *> *);
46#endif
Note: See TracBrowser for help on using the repository browser.