GCC Middle and Back End API Reference
registration_hasher Struct Reference

#include <vtable-verify.h>

Inheritance diagram for registration_hasher:
Collaboration diagram for registration_hasher:

Public Types

typedef struct vtable_registrationvalue_type
 
typedef struct vtable_registrationcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Member Typedef Documentation

◆ compare_type

struct vtable_registration* pointer_hash< struct vtable_registration >::compare_type
inherited

◆ value_type

struct vtable_registration* pointer_hash< struct vtable_registration >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool registration_hasher::equal ( const vtable_registration * p1,
const vtable_registration * p2 )
inlinestatic

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t registration_hasher::hash ( const vtable_registration * p)
inlinestatic
Hashtable functions for vtable_registration hashtables.   

References DECL_UID, and vtable_registration::vtable_decl.

◆ is_deleted()

bool pointer_hash< struct vtable_registration >::is_deleted ( struct vtable_registration * e)
inlinestaticinherited

◆ is_empty()

bool pointer_hash< struct vtable_registration >::is_empty ( struct vtable_registration * e)
inlinestaticinherited

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void typed_noop_remove< struct vtable_registration * >::remove ( struct vtable_registration * & )
inlinestaticinherited
Remove doing nothing.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< struct vtable_registration >::empty_zero_p
staticinherited

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