GCC Middle and Back End API Reference
|
Go to the source code of this file.
Functions | |
struct lto_compression_stream * | lto_start_compression (void(*callback)(const char *, unsigned, void *), void *opaque) |
void | lto_compress_block (struct lto_compression_stream *stream, const char *base, size_t num_chars) |
void | lto_end_compression (struct lto_compression_stream *stream) |
struct lto_compression_stream * | lto_start_uncompression (void(*callback)(const char *, unsigned, void *), void *opaque) |
void | lto_uncompress_block (struct lto_compression_stream *stream, const char *base, size_t num_chars) |
void | lto_end_uncompression (struct lto_compression_stream *stream) |
void lto_compress_block | ( | struct lto_compression_stream * | stream, |
const char * | base, | ||
size_t | num_chars | ||
) |
Append NUM_CHARS from address BASE to STREAM.
References lto_compression_stream::buffer, lto_compression_stream::bytes, gcc_assert, lto_compression_stream::is_compression, and Z_BUFFER_LENGTH.
Referenced by lto_write_stream().
void lto_end_compression | ( | struct lto_compression_stream * | stream | ) |
void lto_end_uncompression | ( | struct lto_compression_stream * | stream | ) |
|
read |
In lto-compress.c.
Return a new compression stream, with CALLBACK flush function passed OPAQUE token.
References gcc_assert, lto_compression_stream::is_compression, lto_append_to_compression_stream(), lto_stats, and lto_stats_d::num_output_il_bytes.
|
read |
Return a new uncompression stream, with CALLBACK flush function passed OPAQUE token.
void lto_uncompress_block | ( | struct lto_compression_stream * | stream, |
const char * | base, | ||
size_t | num_chars | ||
) |
Append NUM_CHARS from address BASE to STREAM.
References lto_compression_stream::buffer, lto_compression_stream::bytes, gcc_assert, lto_compression_stream::is_compression, and Z_BUFFER_LENGTH.