1*e4b17023SJohn Marino /* VEC types for basic types of the intermediate representations. 2*e4b17023SJohn Marino Copyright (C) 2010 Free Software Foundation, Inc. 3*e4b17023SJohn Marino 4*e4b17023SJohn Marino This file is part of GCC. 5*e4b17023SJohn Marino 6*e4b17023SJohn Marino GCC is free software; you can redistribute it and/or modify it under 7*e4b17023SJohn Marino the terms of the GNU General Public License as published by the Free 8*e4b17023SJohn Marino Software Foundation; either version 3, or (at your option) any later 9*e4b17023SJohn Marino version. 10*e4b17023SJohn Marino 11*e4b17023SJohn Marino GCC is distributed in the hope that it will be useful, but WITHOUT ANY 12*e4b17023SJohn Marino WARRANTY; without even the implied warranty of MERCHANTABILITY or 13*e4b17023SJohn Marino FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14*e4b17023SJohn Marino for more details. 15*e4b17023SJohn Marino 16*e4b17023SJohn Marino You should have received a copy of the GNU General Public License 17*e4b17023SJohn Marino along with GCC; see the file COPYING3. If not see 18*e4b17023SJohn Marino <http://www.gnu.org/licenses/>. */ 19*e4b17023SJohn Marino 20*e4b17023SJohn Marino #ifndef GCC_VECIR_H 21*e4b17023SJohn Marino #define GCC_VECIR_H 22*e4b17023SJohn Marino 23*e4b17023SJohn Marino #ifndef GCC_CORETYPES_H 24*e4b17023SJohn Marino #error "vecir.h must be included after coretypes.h" 25*e4b17023SJohn Marino #endif 26*e4b17023SJohn Marino 27*e4b17023SJohn Marino /* A varray of trees. */ 28*e4b17023SJohn Marino DEF_VEC_P(tree); 29*e4b17023SJohn Marino DEF_VEC_ALLOC_P(tree,gc); 30*e4b17023SJohn Marino DEF_VEC_ALLOC_P(tree,heap); 31*e4b17023SJohn Marino 32*e4b17023SJohn Marino /* A varray of gimple statements. */ 33*e4b17023SJohn Marino DEF_VEC_P(gimple); 34*e4b17023SJohn Marino DEF_VEC_ALLOC_P(gimple,heap); 35*e4b17023SJohn Marino DEF_VEC_ALLOC_P(gimple,gc); 36*e4b17023SJohn Marino 37*e4b17023SJohn Marino /* A varray of pointers to gimple statements. */ 38*e4b17023SJohn Marino typedef gimple *gimple_p; 39*e4b17023SJohn Marino DEF_VEC_P(gimple_p); 40*e4b17023SJohn Marino DEF_VEC_ALLOC_P(gimple_p,heap); 41*e4b17023SJohn Marino 42*e4b17023SJohn Marino /* A varray gimple statement sequences. */ 43*e4b17023SJohn Marino DEF_VEC_P(gimple_seq); 44*e4b17023SJohn Marino DEF_VEC_ALLOC_P(gimple_seq,gc); 45*e4b17023SJohn Marino DEF_VEC_ALLOC_P(gimple_seq,heap); 46*e4b17023SJohn Marino 47*e4b17023SJohn Marino /* A varray of RTX objects. */ 48*e4b17023SJohn Marino DEF_VEC_P(rtx); 49*e4b17023SJohn Marino DEF_VEC_ALLOC_P(rtx,heap); 50*e4b17023SJohn Marino DEF_VEC_ALLOC_P(rtx,gc); 51*e4b17023SJohn Marino 52*e4b17023SJohn Marino #endif /* GCC_VECIR_H */ 53