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

Public Types

typedef tm_log_entryvalue_type
 
typedef tm_log_entrycompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Log entry hashtable helpers.   

Member Typedef Documentation

◆ compare_type

tm_log_entry* pointer_hash< tm_log_entry >::compare_type
inherited

◆ value_type

tm_log_entry* pointer_hash< tm_log_entry >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool log_entry_hasher::equal ( const tm_log_entry * log1,
const tm_log_entry * log2 )
inlinestatic
Htab support.  Return true if two log entries are the same.   

References tm_log_entry::addr, and operand_equal_p().

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t log_entry_hasher::hash ( const tm_log_entry * log)
inlinestatic
Htab support.  Return hash value for a `tm_log_entry'.   

References iterative_hash_expr(), and log().

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void log_entry_hasher::remove ( tm_log_entry * lp)
inlinestatic
Htab support.  Free one tm_log_entry.   

References free(), and tm_log_entry::stmts.

Field Documentation

◆ empty_zero_p

const bool pointer_hash< tm_log_entry >::empty_zero_p
staticinherited

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