1/* VEC types for basic types of the intermediate representations. 2 Copyright (C) 2010 Free Software Foundation, Inc. 3 4This file is part of GCC. 5 6GCC is free software; you can redistribute it and/or modify it under 7the terms of the GNU General Public License as published by the Free 8Software Foundation; either version 3, or (at your option) any later 9version. 10 11GCC is distributed in the hope that it will be useful, but WITHOUT ANY 12WARRANTY; without even the implied warranty of MERCHANTABILITY or 13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14for more details. 15 16You should have received a copy of the GNU General Public License 17along 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. */ 28DEF_VEC_P(tree); 29DEF_VEC_ALLOC_P(tree,gc); 30DEF_VEC_ALLOC_P(tree,heap); 31 32/* A varray of gimple statements. */ 33DEF_VEC_P(gimple); 34DEF_VEC_ALLOC_P(gimple,heap); 35DEF_VEC_ALLOC_P(gimple,gc); 36 37/* A varray of pointers to gimple statements. */ 38typedef gimple *gimple_p; 39DEF_VEC_P(gimple_p); 40DEF_VEC_ALLOC_P(gimple_p,heap); 41 42/* A varray gimple statement sequences. */ 43DEF_VEC_P(gimple_seq); 44DEF_VEC_ALLOC_P(gimple_seq,gc); 45DEF_VEC_ALLOC_P(gimple_seq,heap); 46 47/* A varray of RTX objects. */ 48DEF_VEC_P(rtx); 49DEF_VEC_ALLOC_P(rtx,heap); 50DEF_VEC_ALLOC_P(rtx,gc); 51 52#endif /* GCC_VECIR_H */ 53