/* -*- C -*- Generated MELT file melt-run.h included in every generated file. Please edit melt-run.proto.h .... all include files for generated code Copyright (C) 2008 - 2016 Free Software Foundation, Inc. Contributed by Basile Starynkevitch and Pierre Vittet and Romain Geissler This file is part of GCC. It is produced from melt-run.proto.h GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ /* We need very early for GCC 4.8 & 4.9; see http://gcc.gnu.org/ml/gcc/2012-08/msg00277.html */ #include #include "config.h" /* all file including this melt-run.h are somehow plugins, perhaps MELT specific ones */ #include "gcc-plugin.h" #ifndef GCCPLUGIN_VERSION #include "plugin-version.h" #endif /*GCCPLUGIN_VERSION*/ /// Since at least GCC 4.8, plugin-version.h defines GCCPLUGIN_VERSION #ifndef MELT_GCC_VERSION /* Actually, the generated melt-run.h contains a number like 4007 for GCC 4.7 etc. This is the version of the GCC using this MELT. */ #define MELT_GCC_VERSION GCCPLUGIN_VERSION #endif /* usual GCC middle-end includes, copied from melt-runtime.c */ #include "system.h" #include "coretypes.h" #include "obstack.h" #include "tm.h" #include "tree.h" #if GCCPLUGIN_VERSION >= 4009 #include "basic-block.h" #include "tree-ssa-alias.h" #include "internal-fn.h" #include "gimple-expr.h" #include "is-a.h" #endif /*GCC 4.9 */ #include "gimple.h" #include "filenames.h" #include "tree-pass.h" #include "tree-dump.h" #include "tree-iterator.h" #include "tree-inline.h" #include "basic-block.h" #include "cfgloop.h" #include "timevar.h" #include "ggc.h" #include "cgraph.h" #if GCCPLUGIN_VERSION >= 5000 #include "gimple-predict.h" /* at least for GCC 6 */ #endif /* GCC 5 or better */ /* Notice that gtype-desc.h is included thru ggc.h so all the gt_ggc_mx_* marking routines are visible. */ #include "c-family/c-pragma.h" #include "c-family/c-pretty-print.h" #include "diagnostic.h" #if GCCPLUGIN_VERSION >= 4009 #include "context.h" #include "tree-cfg.h" #include "gimple-iterator.h" #include "stringpool.h" #include "tree-ssa-scopedtables.h" #include "tree-ssa-threadedge.h" #else #include "tree-flow.h" #endif /* GCC 4.9 */ #include "flags.h" #include "toplev.h" #include "options.h" #include "params.h" #include "real.h" #include "prefix.h" #include "md5.h" #include "cppdefault.h" #include "cpplib.h" #include "langhooks.h" /* MELT specific includes */ /* the melt-runtime.h header includes itself generated meltrunsup.h header! */ #include "melt-runtime.h" #define meltcallcount -1 #define meltfptr meltfram__.mcfr_varptr #define meltfnum meltfram__.mcfr_varnum #define meltfclos meltfram__.mcfr_clos #define meltfrout meltfram__.mcfr_clos->rout /* these are added by the melt-module.mk file & make */ extern const char melt_compiled_timestamp[]; extern const char melt_md5[]; /* actually, the generated melt-run.h contains a MD5 string hash, same as melt_run_preprocessed_md5 */ #define MELT_RUN_HASHMD5 XX /* It helps a lot to have an svn id here, since this file is really important, and is installed. */ /* eof $Id$ */