1/* Support for calculating constant conditions. 2 Copyright (C) 2002, 2004 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 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2, or (at your option) 9 any later version. 10 11 GCC is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with GCC; see the file COPYING. If not, write to 18 the Free Software Foundation, 51 Franklin Street, Fifth Floor, 19 Boston, MA 02110-1301, USA. */ 20 21#include <stddef.h> /* for size_t */ 22 23/* MD generators that are run before insn-conditions.c exists should 24 link against this file instead. Currently that is genconditions 25 and genconstants. */ 26 27/* In order to avoid dragging in all the headers that are needed to 28 declare things that gensupport.h uses, we duplicate the declaration 29 of struct c_test here. (In particular we do not want to have to 30 include tm.h nor rtl.h in this file.) */ 31struct c_test 32{ 33 const char *expr; 34 int value; 35}; 36 37/* Empty conditions table to prevent link errors. */ 38const struct c_test insn_conditions[1] = { { 0, 0 } }; 39const size_t n_insn_conditions = 0; 40 41/* Disable insn elision, since it is currently impossible. */ 42const int insn_elision_unavailable = 1; 43