GCC Middle and Back End API Reference
pointer-set.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pointer_set_t
class  pointer_map< T >

Functions

struct pointer_set_tpointer_set_create (void)
void pointer_set_destroy (struct pointer_set_t *pset)
int pointer_set_contains (const struct pointer_set_t *pset, const void *p)
int pointer_set_insert (struct pointer_set_t *pset, const void *p)
void pointer_set_traverse (const struct pointer_set_t *, bool(*)(const void *, void *), void *)
bool pointer_set_lookup (const pointer_set_t *, const void *, size_t *)
pointer_map_tpointer_map_create (void)
void pointer_map_destroy (pointer_map_t *pmap)
void ** pointer_map_contains (const pointer_map_t *pmap, const void *p)
void ** pointer_map_insert (pointer_map_t *pmap, const void *p)
void pointer_map_traverse (const pointer_map_t *, bool(*)(const void *, void **, void *), void *)

Function Documentation

void** pointer_map_contains ( const pointer_map_t pmap,
const void *  p 
)
void** pointer_map_insert ( pointer_map_t pmap,
const void *  p 
)
void pointer_map_traverse ( const pointer_map_t ,
bool(*)(const void *, void **, void *)  ,
void *   
)
int pointer_set_contains ( const struct pointer_set_t pset,
const void *  p 
)
void pointer_set_destroy ( struct pointer_set_t pset)
int pointer_set_insert ( struct pointer_set_t pset,
const void *  p 
)
bool pointer_set_lookup ( const pointer_set_t ,
const void *  ,
size_t *   
)
void pointer_set_traverse ( const struct pointer_set_t pset,
bool(*)(const void *, void *)  fn,
void *  data 
)
Pass each pointer in PSET to the function in FN, together with the fixed
   parameter DATA.  If FN returns false, the iteration stops.   

References pointer_set_t::n_slots, and pointer_set_t::slots.

Referenced by finalize_nesting_tree_1(), and go_finish().