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

Public Types

typedef var_to_expandvalue_type
 
typedef var_to_expandcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helper for iv_to_split.   

Member Typedef Documentation

◆ compare_type

var_to_expand* pointer_hash< var_to_expand >::compare_type
inherited

◆ value_type

var_to_expand* pointer_hash< var_to_expand >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool var_expand_hasher::equal ( const var_to_expand * i1,
const var_to_expand * i2 )
inlinestatic
Return true if I1 and I2 refer to the same instruction.   

References i1, and i2.

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t var_expand_hasher::hash ( const var_to_expand * ves)
inlinestatic
Return a hash for VES.   

References var_to_expand::insn, and INSN_UID().

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< var_to_expand >::empty_zero_p
staticinherited

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