GCC Middle and Back End API Reference
ttypes_filter_hasher Struct Reference
Inheritance diagram for ttypes_filter_hasher:
Collaboration diagram for ttypes_filter_hasher:

Public Types

typedef ttypes_filter value_type
typedef tree_node compare_type

Static Public Member Functions

static hashval_t hash (const value_type *)
static bool equal (const value_type *, const compare_type *)
static void remove (ttypes_filter *p)

Detailed Description

Helper for ttypes_filter hashing.


Member Typedef Documentation


Member Function Documentation

bool ttypes_filter_hasher::equal ( const value_type entry,
const compare_type data 
)
inlinestatic

Compare ENTRY (a ttypes_filter entry in the hash table) with DATA (a tree) for a type node we are thinking about adding.

References ttypes_filter::t, and type_list_equal().

Referenced by lookup_type_for_runtime().

hashval_t ttypes_filter_hasher::hash ( const value_type entry)
inlinestatic

Referenced by lookup_type_for_runtime().

static void typed_free_remove< ttypes_filter >::remove ( ttypes_filter p)
inlinestaticinherited

Remove with free.


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