2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / gcc / vecir.h
blob97e7b7818409f2de46bdcc7a13b64eda2f892441
1 /* VEC types for basic types of the intermediate representations.
2 Copyright (C) 2010 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_VECIR_H
21 #define GCC_VECIR_H
23 #ifndef GCC_CORETYPES_H
24 #error "vecir.h must be included after coretypes.h"
25 #endif
27 /* A varray of trees. */
28 DEF_VEC_P(tree);
29 DEF_VEC_ALLOC_P(tree,gc);
30 DEF_VEC_ALLOC_P(tree,heap);
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);
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);
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);
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);
52 #endif /* GCC_VECIR_H */