summaryrefslogtreecommitdiff
path: root/gcc/gimple-streamer.h
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-08 16:49:34 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-08 16:49:34 +0000
commit2541503d0742669641111007ac41e8b26fc69794 (patch)
tree71d0dfebe89d85d68e84274293c25cee61f487e2 /gcc/gimple-streamer.h
parent82310a30d8c326acabefb8af6f4b943cde02425e (diff)
downloadgcc-2541503d0742669641111007ac41e8b26fc69794.tar.gz
rebase
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177571 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-streamer.h')
-rw-r--r--gcc/gimple-streamer.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/gcc/gimple-streamer.h b/gcc/gimple-streamer.h
new file mode 100644
index 00000000000..257fdbc6bbf
--- /dev/null
+++ b/gcc/gimple-streamer.h
@@ -0,0 +1,36 @@
+/* Data structures and functions for streaming GIMPLE.
+
+ Copyright 2011 Free Software Foundation, Inc.
+ Contributed by Diego Novillo <dnovillo@google.com>
+
+This file is part of GCC.
+
+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
+<http://www.gnu.org/licenses/>. */
+
+#ifndef GCC_GIMPLE_STREAMER_H
+#define GCC_GIMPLE_STREAMER_H
+
+#include "basic-block.h"
+#include "function.h"
+#include "lto-streamer.h"
+
+/* In gimple-streamer-in.c */
+void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *,
+ struct function *, int);
+
+/* In gimple-streamer-out.c */
+void output_bb (struct output_block *, basic_block, struct function *);
+
+#endif /* GCC_GIMPLE_STREAMER_H */