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
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 hashval_t hash (const value_type &)
static bool equal (const value_type &existing, const compare_type &candidate)
static bool equal (const value_type &existing, const compare_type &candidate)
static void mark_deleted (ttypes_filter *&)
static void mark_deleted (ttypes_filter *&)
static void mark_empty (ttypes_filter *&)
static void mark_empty (ttypes_filter *&)
static bool is_deleted (ttypes_filter *)
static bool is_deleted (ttypes_filter *)
static bool is_empty (ttypes_filter *)
static bool is_empty (ttypes_filter *)
static void remove (ttypes_filter *p)
static void remove (ttypes_filter *p)

Static Public Attributes

static const bool empty_zero_p
static const bool empty_zero_p

Detailed Description

Helper for ttypes_filter hashing.   

Member Typedef Documentation

◆ compare_type

◆ value_type [1/2]

typedef ttypes_filter* pointer_hash< ttypes_filter >::value_type
inherited

◆ value_type [2/2]

typedef ttypes_filter* pointer_hash< ttypes_filter >::value_type
inherited

Member Function Documentation

◆ equal() [1/3]

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

◆ equal() [2/3]

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

◆ equal() [3/3]

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/3]

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

◆ hash() [2/3]

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

◆ hash() [3/3]

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

References ttypes_filter::t, and TREE_HASH.

◆ is_deleted() [1/2]

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

◆ is_deleted() [2/2]

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

◆ is_empty() [1/2]

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

◆ is_empty() [2/2]

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

◆ mark_deleted() [1/2]

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

◆ mark_deleted() [2/2]

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

◆ mark_empty() [1/2]

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

◆ mark_empty() [2/2]

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

◆ remove() [1/2]

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

◆ remove() [2/2]

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

Field Documentation

◆ empty_zero_p [1/2]

const bool pointer_hash< ttypes_filter >::empty_zero_p
staticinherited

◆ empty_zero_p [2/2]

const bool pointer_hash< ttypes_filter >::empty_zero_p
staticinherited

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