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 )(class lto_input_block *, class data_in *)
 
void(* input_location )(location_t *, struct bitpack_d *, class data_in *)
 
void(* output_location )(struct output_block *, struct bitpack_d *, location_t)
 
void(* output_location_and_block )(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

◆ input_location

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

Referenced by lto_streamer_hooks_init().

◆ output_location

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

Referenced by lto_streamer_hooks_init().

◆ output_location_and_block

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

Referenced by lto_streamer_hooks_init().

◆ read_tree

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

Referenced by lto_streamer_hooks_init().

◆ write_tree

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: