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 tree_node * compare_type
 
typedef ttypes_filtervalue_type
 

Static Public Member Functions

static hashval_t hash (const ttypes_filter *)
 
static bool equal (const ttypes_filter *, const tree_node *)
 
static hashval_t hash (const value_type &)
 
static bool equal (const value_type &existing, const compare_type &candidate)
 
static void mark_deleted (ttypes_filter *&)
 
static void mark_empty (ttypes_filter *&)
 
static bool is_deleted (ttypes_filter *)
 
static bool is_empty (ttypes_filter *)
 
static void remove (ttypes_filter *p)
 

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Helper for ttypes_filter hashing.   

Member Typedef Documentation

◆ compare_type

◆ value_type

typedef ttypes_filter* pointer_hash< ttypes_filter >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool pointer_hash< ttypes_filter >::equal ( const value_type & existing,
const compare_type & candidate )
inlinestaticinherited

◆ equal() [2/2]

bool ttypes_filter_hasher::equal ( const ttypes_filter * entry,
const tree_node * data )
inlinestatic
Compare ENTRY (a ttypes_filter entry in the hash table) with DATA
(a tree) for a @TTypes type node we are thinking about adding.   

References ttypes_filter::t.

◆ hash() [1/2]

hashval_t pointer_hash< ttypes_filter >::hash ( const value_type & candidate)
inlinestaticinherited

◆ hash() [2/2]

hashval_t ttypes_filter_hasher::hash ( const ttypes_filter * entry)
inlinestatic

References ttypes_filter::t, and TREE_HASH.

◆ is_deleted()

bool pointer_hash< ttypes_filter >::is_deleted ( ttypes_filter * e)
inlinestaticinherited

◆ is_empty()

bool pointer_hash< ttypes_filter >::is_empty ( ttypes_filter * e)
inlinestaticinherited

◆ mark_deleted()

void pointer_hash< ttypes_filter >::mark_deleted ( ttypes_filter *& e)
inlinestaticinherited

◆ mark_empty()

void pointer_hash< ttypes_filter >::mark_empty ( ttypes_filter *& e)
inlinestaticinherited

◆ remove()

void typed_free_remove< ttypes_filter >::remove ( ttypes_filter * p)
inlinestaticinherited
Remove with free.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< ttypes_filter >::empty_zero_p
staticinherited

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