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
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
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/>. */
23 #ifndef GCC_CORETYPES_H
24 #error "vecir.h must be included after coretypes.h"
27 /* A varray of trees. */
29 DEF_VEC_ALLOC_P(tree
,gc
);
30 DEF_VEC_ALLOC_P(tree
,heap
);
32 /* A varray of gimple statements. */
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
;
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. */
49 DEF_VEC_ALLOC_P(rtx
,heap
);
50 DEF_VEC_ALLOC_P(rtx
,gc
);
52 #endif /* GCC_VECIR_H */