OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [lto-compress.h] - Blame information for rev 280

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 280 jeremybenn
/* LTO IL compression streams.
2
 
3
   Copyright 2009 Free Software Foundation, Inc.
4
   Contributed by Simon Baldwin <simonb@google.com>
5
 
6
This file is part of GCC.
7
 
8
GCC is free software; you can redistribute it and/or modify it
9
under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 3, or (at your option)
11
any later version.
12
 
13
GCC is distributed in the hope that it will be useful, but WITHOUT
14
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16
License for more details.
17
 
18
You should have received a copy of the GNU General Public License
19
along with GCC; see the file COPYING3.  If not see
20
<http://www.gnu.org/licenses/>.  */
21
 
22
#ifndef GCC_LTO_COMPRESS_H
23
#define GCC_LTO_COMPRESS_H
24
 
25
struct lto_compression_stream;
26
 
27
/* In lto-compress.c.  */
28
extern struct lto_compression_stream
29
  *lto_start_compression (void (*callback) (const char *, unsigned, void *),
30
                          void *opaque);
31
extern void lto_compress_block (struct lto_compression_stream *stream,
32
                                const char *base, size_t num_chars);
33
extern void lto_end_compression (struct lto_compression_stream *stream);
34
 
35
extern struct lto_compression_stream
36
  *lto_start_uncompression (void (*callback) (const char *, unsigned, void *),
37
                            void *opaque);
38
extern void lto_uncompress_block (struct lto_compression_stream *stream,
39
                                  const char *base, size_t num_chars);
40
extern void lto_end_uncompression (struct lto_compression_stream *stream);
41
 
42
#endif /* GCC_LTO_COMPRESS_H  */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.