GCC Middle and Back End API Reference
streamer_hooks Struct Reference

#include <streamer-hooks.h>

Data Fields

void(* write_tree )(struct output_block *, tree, bool, bool)
tree(* read_tree )(struct lto_input_block *, struct data_in *)
location_t(* input_location )(struct bitpack_d *, struct data_in *)
void(* output_location )(struct output_block *, struct bitpack_d *, location_t)

Detailed Description

Streamer hooks.  These functions do additional processing as
   needed by the module.  There are two types of callbacks, those that
   replace the default behavior and those that supplement it.

   Hooks marked [REQ] are required to be set.  Those marked [OPT] may
   be NULL, if the streamer does not need to implement them.   

Field Documentation

location_t(* streamer_hooks::input_location)(struct bitpack_d *, struct data_in *)

Referenced by lto_streamer_hooks_init().

void(* streamer_hooks::output_location)(struct output_block *, struct bitpack_d *, location_t)

Referenced by lto_streamer_hooks_init().

tree(* streamer_hooks::read_tree)(struct lto_input_block *, struct data_in *)

Referenced by lto_streamer_hooks_init().

void(* streamer_hooks::write_tree)(struct output_block *, tree, bool, bool)

Referenced by lto_streamer_hooks_init().


The documentation for this struct was generated from the following file: