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

Public Types

typedef default_hash_traits< tree >::value_type key_type

Static Public Member Functions

template<typename T>
static void remove (T &entry)
static hashval_t hash (const key_type &)
static bool equal_keys (const key_type &, const key_type &)
static bool is_empty (const T &)
static bool is_deleted (const T &)
static void mark_empty (T &)
static void mark_deleted (T &)

Static Public Attributes

static const bool maybe_mx
static const bool empty_zero_p

Detailed Description

Compute what conditions may or may not hold given information about
parameters.  RET_CLAUSE returns truths that may hold in a specialized copy,
while RET_NONSPEC_CLAUSE returns truths that may hold in an nonspecialized
copy when called in a given context.  It is a bitmask of conditions. Bit
0 means that condition is known to be false, while bit 1 means that condition
may or may not be true.  These differs - for example NOT_INLINED condition
is always false in the second and also builtin_constant_p tests cannot use
the fact that parameter is indeed a constant.

When INLINE_P is true, assume that we are inlining.  AVAL contains known
information about argument values.  The function does not modify its content
and so AVALs could also be of type ipa_call_arg_values but so far all
callers work with the auto version and so we avoid the conversion for
convenience.

ERROR_MARK value of an argument means compile time invariant.   
Hashmap traits that free the cached sbitmap when an entry is removed.   

Member Typedef Documentation

◆ key_type

typedef default_hash_traits< tree >::value_type simple_hashmap_traits< default_hash_traits< tree >, sbitmap >::key_type
inherited

Member Function Documentation

◆ equal_keys()

bool simple_hashmap_traits< default_hash_traits< tree >, sbitmap >::equal_keys ( const key_type & k1,
const key_type & k2 )
inlinestaticinherited

◆ hash()

hashval_t simple_hashmap_traits< default_hash_traits< tree >, sbitmap >::hash ( const key_type & h)
inlinestaticinherited

◆ is_deleted()

bool simple_hashmap_traits< default_hash_traits< tree >, sbitmap >::is_deleted ( const T & entry)
inlinestaticinherited

◆ is_empty()

bool simple_hashmap_traits< default_hash_traits< tree >, sbitmap >::is_empty ( const T & entry)
inlinestaticinherited

◆ mark_deleted()

void simple_hashmap_traits< default_hash_traits< tree >, sbitmap >::mark_deleted ( T & entry)
inlinestaticinherited

◆ mark_empty()

void simple_hashmap_traits< default_hash_traits< tree >, sbitmap >::mark_empty ( T & entry)
inlinestaticinherited

◆ remove()

template<typename T>
void string_char_set_hashmap_traits::remove ( T & entry)
inlinestatic

References remove(), and sbitmap_free().

Referenced by remove().

Field Documentation

◆ empty_zero_p

const bool simple_hashmap_traits< default_hash_traits< tree >, sbitmap >::empty_zero_p
staticinherited

◆ maybe_mx

const bool simple_hashmap_traits< default_hash_traits< tree >, sbitmap >::maybe_mx
staticinherited

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