OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / gcc / vecir.h
1 /* VEC types for basic types of the intermediate representations.
2    Copyright (C) 2010 Free Software Foundation, Inc.
3
4 This file is part of GCC.
5
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.
10
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.
15
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/>.  */
19
20 #ifndef GCC_VECIR_H
21 #define GCC_VECIR_H
22
23 #ifndef GCC_CORETYPES_H
24 #error "vecir.h must be included after coretypes.h"
25 #endif
26
27 /* A varray of trees.  */
28 DEF_VEC_P(tree);
29 DEF_VEC_ALLOC_P(tree,gc);
30 DEF_VEC_ALLOC_P(tree,heap);
31
32 /* A varray of gimple statements.  */
33 DEF_VEC_P(gimple);
34 DEF_VEC_ALLOC_P(gimple,heap);
35 DEF_VEC_ALLOC_P(gimple,gc);
36
37 /* A varray of pointers to gimple statements.  */
38 typedef gimple *gimple_p;
39 DEF_VEC_P(gimple_p);
40 DEF_VEC_ALLOC_P(gimple_p,heap);
41
42 /* A varray gimple statement sequences.  */
43 DEF_VEC_P(gimple_seq);
44 DEF_VEC_ALLOC_P(gimple_seq,gc);
45 DEF_VEC_ALLOC_P(gimple_seq,heap);
46
47 /* A varray of RTX objects.  */
48 DEF_VEC_P(rtx);
49 DEF_VEC_ALLOC_P(rtx,heap);
50 DEF_VEC_ALLOC_P(rtx,gc);
51
52 #endif /* GCC_VECIR_H */